[minicoredumper] [PATCH] Read the stack pointer from the 28th field of /proc/PID/stat

Łukasz Stelmach l.stelmach at samsung.com
Mon Jan 8 14:06:31 CET 2018


It was <2018-01-06 sob 11:14>, when John Ogness wrote:
> Hello,
>
> On 2018-01-05, Łukasz Stelmach <l.stelmach at samsung.com> wrote:
>> since Linix v4.9 (commit 0a1eb2d4 precisely) esp and eip values has
>> been set to 0 in the stat file. I am working around this problem.
>
> This problem has already been identified and fixed. The original
> proposal (by Marco Felsch) was to manually retrieve this information
> [0]. However, this required manually implementing all platforms Linux
> supported.

I almost finished this for ARM and Intel on Friday myself ;-) I wonder
if it could be included as an option? There are configurations where
/proc is inaccessible for minicordumper due to MAC (SMACK, SELinux etc.)
restrictions.

> The final solution was to add the funcationality back to Linux
> [1]. The patch was accepted to stable so if you are experiencing the
> issue, you are using an EOL kernel or a kernel without the latest
> stable patches.

Yes, we work with a number of different versions of the kernel,
unfortunately. Thanks for for the information.

> John Ogness
>
> [0] http://lists.linutronix.de/pipermail/minicoredumper/2017-August/000052.html
> [1] http://lists.linutronix.de/pipermail/minicoredumper/2017-November/000058.html

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/minicoredumper/attachments/20180108/e4ca5392/attachment.sig>


More information about the minicoredumper mailing list