This is the mail archive of the gdb-prs@sources.redhat.com 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]

c++/1807: Crash is C++ demangling of code generated with gcc 2.95.3


>Number:         1807
>Category:       c++
>Synopsis:       Crash is C++ demangling of code generated with gcc 2.95.3
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 08 22:28:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     craig.jeffree@preston.net
>Release:        GDB 6.0, 6.1, 6.2
>Organization:
>Environment:
Red Hat Enterprise Linux 3.0, gcc 2.95.3, ddd 3.3.1
>Description:
GDB crashes regularly while debugging code compiled with gcc 2.95.3

See more details in this thread:
http://sources.redhat.com/ml/gdb/2004-09/msg00057.html

and in the stack trace below:

> (gdb) bt
> #0  0xb74b0e7a in strcmp () from /lib/tls/libc.so.6
> #1  0x0814d00f in cp_print_class_method (
>     valaddr=0x15a88b68 "\030\214W\bnline/taam/src/m!", 
> type=0x15ab6c48,
>     stream=0x8283740) at cp-valprint.c:134
> #2  0x0814ca69 in c_val_print (type=0x11361658,
>     valaddr=0x15b2d3f8 "??4\bodel/dynamicX", embedded_offset=0,
>     address=139955224, stream=0x8283740, format=0, deref_ref=1,
> recurse=0,
>     pretty=Val_prettyprint) at c-valprint.c:449
> #3  0x080dbc40 in val_print (type=0x11361658,
>     valaddr=0x15b2d3f8 "??4\bodel/dynamicX", embedded_offset=0,
>     address=139955224, stream=0x8283740, format=0, deref_ref=1,
> recurse=0,
>     pretty=Val_pretty_default) at ./valprint.c:149
>How-To-Repeat:
Compile c++ code with gcc 2.95.3 and debug using GDB 6.x.  The problem occurs with or without DDD, however when DDD is driving GDB the crash will occur very frequently.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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