Re: Why ? When segmentation fault,there has no "core" file



On Fri, 7 Jul 2006 13:01:06 +0100
"John Cupitt" <jcupitt gmail com> wrote:

On 7/7/06, chao yeaj <yeajchao gmail com> wrote:
    The problem is :  when   segmentation fault ,there has no
core file if the has a core file ,i can debug it, but there  has
no    core file

You probably have coredumps turned off. Try

  ulimit -c unlimited

before running your program.

If you see gnome segfault dialog, you can view programm current state
in gdb. To do this run "gdb <programm_name> <PID>".



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]