This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb crashes with Solaris 10 x86
- From: Daniel Jacobowitz <drow at false dot org>
- To: Richard Walter <Richard dot Walter at hob dot de>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 9 Nov 2005 09:59:31 -0500
- Subject: Re: gdb crashes with Solaris 10 x86
- References: <43720B09.F7372E04@hob.de>
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