How to save the core file to disk?

Liam Proven lproven at gmail.com
Tue Nov 26 14:21:27 UTC 2013


On 26 November 2013 14:07, Unga <unga888 at yahoo.com> wrote:
> 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.


Um. This may be naïve, but what's wrong with:

`sudo find / -name core*`

...?

-- 
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Tel: +44 20-8685-0498 • Cell: +44 7939-087884




More information about the ubuntu-users mailing list