From owner-freebsd-questions Tue Oct 22 19:00:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA22293 for questions-outgoing; Tue, 22 Oct 1996 19:00:32 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA22284 for ; Tue, 22 Oct 1996 19:00:29 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id TAA06165; Tue, 22 Oct 1996 19:00:26 -0700 (PDT) Date: Tue, 22 Oct 1996 19:00:25 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Jeremy Sigmon cc: questions@FreeBSD.ORG Subject: Re: Basic .core question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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