How to save the core file to disk?

Unga unga888 at yahoo.com
Tue Nov 26 14:07:45 UTC 2013


Hi all

I'm running Ubuntu 13.10 on i386.

My program Seg faults but cannot find where Ubuntu saves the core file.

I have changed the core_pattern as follows but still no core file:
echo "core.%e.%p" > /proc/sys/kernel/core_pattern

I want to debug and see where it is crashing. Appreciate if someone could help to generate the core file disk.

Regards
Unga





More information about the ubuntu-users mailing list