This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: symtab/1041: crash on dbx/stabs (make_cv_type)
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 6 Feb 2003 15:48:00 -0000
- Subject: Re: symtab/1041: crash on dbx/stabs (make_cv_type)
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR symtab/1041; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: riesen@synopsys.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: symtab/1041: crash on dbx/stabs (make_cv_type)
Date: Thu, 6 Feb 2003 10:42:02 -0500
On Thu, Feb 06, 2003 at 03:29:49PM -0000, riesen@synopsys.com wrote:
>
> >Number: 1041
> >Category: symtab
> >Synopsis: crash on dbx/stabs (make_cv_type)
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Thu Feb 06 15:38:00 UTC 2003
> >Closed-Date:
> >Last-Modified:
> >Originator: riesen@synopsys.com
> >Release: 5.2.1
> >Organization:
> >Environment:
> Sun Solaris 5.8
> >Description:
> gdb crashes if i try to do "info var". The executable is a mix of objects compiled with "gcc-3.2.1 -g", "gcc-3.2.1 -ggdb", g77, and probably some .c objects compiled with sun workshop compiler.
>
> stack trace from core:
> Program terminated with signal 11, Segmentation fault.
> #0 make_cv_type (cnst=1, voltl=0, type=0x1076118, typeptr=0x1048afc) at ../../gdb/gdbtypes.c:420
> 420 ../../gdb/gdbtypes.c: No such file or directory.
> in ../../gdb/gdbtypes.c
> (gdb) bt
> #0 make_cv_type (cnst=1, voltl=0, type=0x1076118, typeptr=0x1048afc) at ../../gdb/gdbtypes.c:420
> #1 0x000fcd54 in read_type (pp=0xffbee440, objfile=0x55d248) at ../../gdb/stabsread.c:2682
> #2 0x000fb284 in define_symbol (valu=68, string=0x3 <Address 0x3 out of bounds>, desc=149, type=160, objfile=0x55d248) at ../../gdb/stabsread.c:1692
> #3 0x000e6378 in process_one_symbol (type=160, desc=149, valu=68, name=0xb288e0 "this:p(1,453)=k(1,255)", section_offsets=0x58fa30, objfile=0x55d248) at ../../gdb/dbxread.c:3208
> #4 0x000e5fc4 in read_ofile_symtab (pst=0xcd2bb8) at ../../gdb/dbxread.c:2602
Could you try this with GDB 5.3 first, before we investigate?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer