Page 1 of 1

command line options in log

PostPosted: Fri Jan 25, 2013 10:27 am
by KDE
When application crashes or is terminated by PAX, there is path of executable in log, but no command line options.
It would help to reproduce crash if also command line options were present in log.

PAX: execution attempt in: <anonymous mapping>
grsec: Segmentation fault occurred at (nil)

Re: command line options in log

PostPosted: Fri Jan 25, 2013 11:29 am
by PaX Team
since the command line is stored in userland, it's not reliable. on the other hand PaX gives you a much better way to debug the problem: coredumps. so just run your failing app with coredumps enabled (usually the core dump size ulimit is set to 0 by default) and then you can look at not only the command line options but the entire address space as well.