From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17645 invoked by alias); 9 Nov 2005 14:59:35 -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 17616 invoked by uid 22791); 9 Nov 2005 14:59:33 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 09 Nov 2005 14:59:33 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EZrQB-0005iA-3P; Wed, 09 Nov 2005 09:59:31 -0500 Date: Wed, 09 Nov 2005 14:59:00 -0000 From: Daniel Jacobowitz To: Richard Walter Cc: "gdb@sourceware.org" Subject: Re: gdb crashes with Solaris 10 x86 Message-ID: <20051109145931.GA21940@nevyn.them.org> Mail-Followup-To: Richard Walter , "gdb@sourceware.org" References: <43720B09.F7372E04@hob.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43720B09.F7372E04@hob.de> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00201.txt.bz2 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