From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9043 invoked by alias); 10 Nov 2005 08:51:23 -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 9015 invoked by uid 22791); 10 Nov 2005 08:51:18 -0000 Received: from mailgate.hob.de (HELO mailgate.hob.de) (62.91.19.101) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 10 Nov 2005 08:51:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.hob.de (Postfix) with ESMTP id E07B91C839; Thu, 10 Nov 2005 09:51:14 +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 28754-02; Thu, 10 Nov 2005 09:51:14 +0100 (CET) Received: from imap.hob.de (mail2.hob.de [172.25.1.102]) by mailgate.hob.de (Postfix) with ESMTP id A66511C836; Thu, 10 Nov 2005 09:51:14 +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 20CF016D2; Thu, 10 Nov 2005 09:51:13 +0100 (CET) Message-ID: <4373076F.F4EA65D1@hob.de> Date: Thu, 10 Nov 2005 08:51: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> <4372118F.211EB4AB@hob.de> <20051109152408.GA22465@nevyn.them.org> <4372192E.AB1EA453@hob.de> <20051109163524.GA23981@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2005-11/txt/msg00213.txt.bz2 I installed the snapshot and run the program with gdb as you can see in the output. I'm not familiar with debugging gdb itself, perhaps there are further commands to examine the problem. /home/walter/gw22 $ gdb GNU gdb 6.3.90_20051110 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-solaris2.10". (gdb) set verbose on (gdb) set prompt [top] [top] exec-file /home/walter/gw22/NBIPGW08 [top] set args /home/walter/gw22/walter.xml [top] run Starting program: /home/walter/gw22/NBIPGW08 /home/walter/gw22/walter.xml PR_SYSEXIT : Exit from a traced system call Exit from SYS_execve PR_SYSEXIT : Exit from a traced system call Exit from SYS_execve PR_FAULTED : Incurred a traced hardware fault FLTBPT: Breakpoint trap PR_FAULTED : Incurred a traced hardware fault FLTTRACE: Trace trap PR_FAULTED : Incurred a traced hardware fault FLTBPT: Breakpoint trap Reading symbols from /usr/sfw/lib/libstdc++.so.6...(no debugging symbols found)...done. Reading symbols from /usr/share/src/xerces-c-src_2_6_0_gcc/lib/libxerces-c.so.26...(no debugging symbols found)...done. Reading symbols from /lib/libsocket.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libdl.so.1... (no debugging symbols found)...done. Reading symbols from /lib/libc.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libm.so.2...(no debugging symbols found)...done. Reading symbols from /usr/sfw/lib/libgcc_s.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libpthread.so.1...warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074 (no debugging symbols found)...done. Reading symbols from /lib/libgen.so.1...(no debugging symbols found)...done. PR_FAULTED : Incurred a traced hardware fault FLTTRACE: Trace trap *********Programm Output*************** PR_FAULTED : Incurred a traced hardware fault FLTBOUNDS: Memory bounds violation Program received signal SIGSEGV, Segmentation fault. 0x0805676d in ?? () [top] Daniel Jacobowitz schrieb: > > On Wed, Nov 09, 2005 at 04:43:42PM +0100, Richard Walter wrote: > > The program has a configuration file in xml format. > > -bash-3.00$ gdb programname > > (gdb) run configfile.xml > > --program outputs-- > > Segmentation Fault (core dumped) > > -bash-3.00$ > > > > If you need a transcript of the session i have to talk to the developer, > > that he comments out his own program trace output. > > Sorry, but if that's all you have to go on, you will need to debug GDB > to see where it is crashing. > > Your first step should be to try a snapshot of GDB: > ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.bz2 > > -- > Daniel Jacobowitz > CodeSourcery, LLC