Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 1996 19:00:25 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Jeremy Sigmon <jsigmon@www.hsc.wvu.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Basic <file>.core question
Message-ID:  <Pine.BSI.3.94.961022185859.6076F-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.BSF.3.91.961022095041.12010A-100000@www.hsc.wvu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Oct 1996, Jeremy Sigmon wrote:

> I had a program drop core on SIGABRT last night and I was wondering
> if I can find out what might have caused it.  I have the .core file.
> The exact msg was:
> 
> /kernal : pid 134 (msqld), uid 0: exited on signal 6
> 
> I have read a few discussions on stepping through a core file, but I never
> read enough to findout exactly how to do this. 

Use gdb:

gdb program.core

If it uses shared libs and/or it wasn't compiled with -g then some of the
names won't appear.  There is a way to fix the shared libs bit posted not
to long ago.

Note that sig6's default action is to terminate & dump core if the program
doesn't otherwise handle it.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961022185859.6076F-100000>