From owner-freebsd-questions Tue Oct 22 19:48:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA24970 for questions-outgoing; Tue, 22 Oct 1996 19:48:56 -0700 (PDT) Received: from rosie.scsn.net (scsn.net [206.25.246.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA24964 for ; Tue, 22 Oct 1996 19:48:51 -0700 (PDT) Received: from rhiannon.scsn.net (cola72.scsn.net [206.25.247.72]) by rosie.scsn.net (post.office MTA v2.0 0813 ID# 0-13529) with ESMTP id AAA90; Tue, 22 Oct 1996 22:47:38 -0400 Received: (from root@localhost) by rhiannon.scsn.net (8.7.6/8.6.12) id WAA02484; Tue, 22 Oct 1996 22:49:02 -0400 (EDT) From: "Donald J. Maddox" Message-Id: <199610230249.WAA02484@rhiannon.scsn.net> Subject: Re: Basic .core question In-Reply-To: from Doug White at "Oct 22, 96 07:00:25 pm" To: dwhite@resnet.uoregon.edu Date: Tue, 22 Oct 1996 22:48:58 -0400 (EDT) Cc: questions@FreeBSD.org Reply-To: dmaddox@scsn.net X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 ^^^^^^^^^^^^^^^^ Shouldn't that be 'gdb program 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 > > -- Donald J. Maddox (dmaddox@scsn.net)