This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb crashes with Solaris 10 x86


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]