From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6593 invoked by alias); 9 Nov 2005 15:22:18 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 6580 invoked by uid 22791); 9 Nov 2005 15:22:12 -0000 Received: from mailgate.hob.de (HELO mailgate.hob.de) (62.91.19.101) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 09 Nov 2005 15:22:12 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.hob.de (Postfix) with ESMTP id 161401C831; Wed, 9 Nov 2005 16:22:09 +0100 (CET) Received: from mailgate.hob.de ([127.0.0.1]) by localhost (mailgate.hob.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28379-06; Wed, 9 Nov 2005 16:22:08 +0100 (CET) Received: from imap.hob.de (mail2.hob.de [172.25.1.102]) by mailgate.hob.de (Postfix) with ESMTP id DC7C81C828; Wed, 9 Nov 2005 16:22:08 +0100 (CET) Received: from hob.de (walterrd-1.hob.de [172.22.30.68]) by imap.hob.de (Postfix on SuSE eMail Server 2.0) with ESMTP id 1BB0028BA; Wed, 9 Nov 2005 16:22:08 +0100 (CET) Message-ID: <4372118F.211EB4AB@hob.de> Date: Wed, 09 Nov 2005 15:22:00 -0000 From: Richard Walter MIME-Version: 1.0 To: Daniel Jacobowitz Cc: "gdb@sourceware.org" Subject: Re: gdb crashes with Solaris 10 x86 References: <43720B09.F7372E04@hob.de> <20051109145931.GA21940@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2005-11/txt/msg00203.txt.bz2 There are two platforms where the problem occurs, a sunfire with 2 AMD processors and a virtual machine on vmware. The OS is Solaris 10 X86 03/05 When the segmentation fault happens the gdb ends and i get a shell prompt. Daniel Jacobowitz schrieb: > > On Wed, Nov 09, 2005 at 03:43:21PM +0100, Richard Walter wrote: > > > > I have to debug a network gateway program with gdb 6.3.50.20051108. When > > the network connection is started the program gets a segmentation fault. > > When i run the program with gdb, the gdb crashes. > > The program is compiled with gcc 3.4.3. > > gdb 6.2.1 and 6.3 have the same problem. > > > > Output from program running with gdb: > > --pointer agatename=810426c > > Segmentation Fault (core dumped) > > > > > > Output from the program running with solaris truss: > > write(1, " t _ l i s t e n c o m".., 49) = 49 > > --pointer agatename=810426c > > write(1, " - - p o i n t e r a g".., 28) = 28 > > Incurred fault #6, FLTBOUNDS %pc = 0x0805676D > > siginfo: SIGSEGV SEGV_MAPERR addr=0x0805676D > > Received signal #11, SIGSEGV [default] > > siginfo: SIGSEGV SEGV_MAPERR addr=0x0805676D > > > > > > Is this a gdb bug ? > > I don't know. You didn't say what platform this is (SPARC Solaris? > AMD64? What version?) or what GDB is doing when it crashes. > > -- > Daniel Jacobowitz > CodeSourcery, LLC