Bug 11377 - crash in cp_lookup_symbol_namespace
Summary: crash in cp_lookup_symbol_namespace
Status: RESOLVED WORKSFORME
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 7.0
: P2 normal
Target Milestone: 7.1
Assignee: Sami Wagiaalla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 23:08 UTC by David Anderson
Modified: 2010-03-22 15:10 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Anderson 2010-03-13 23:08:27 UTC
These two frames just repeat infinitely. Saved core dump. If there's anything I
can do to help, please let me know.

Program received signal SIGSEGV, Segmentation fault.
cp_lookup_symbol_namespace (namespace=0x16af2c0 "nanojit", name=0x7fffffffdc00
"RecordTree", linkage_name=0x0,
    block=0x18d5510, domain=VAR_DOMAIN) at ../../gdb/cp-namespace.c:337
337     {

(gdb) bt
#0  cp_lookup_symbol_namespace (namespace=0x16af2c0 "nanojit",
name=0x7fffffffdc00 "RecordTree", linkage_name=0x0,
    block=0x18d5510, domain=VAR_DOMAIN) at ../../gdb/cp-namespace.c:337
#1  0x00000000005ab877 in cp_lookup_symbol_namespace (namespace=0xe408f0 "js",
name=0x7fffffffdc00 "RecordTree",
    linkage_name=<value optimized out>, block=0x18d5510, domain=VAR_DOMAIN) at
../../gdb/cp-namespace.c:351
Comment 1 Sami Wagiaalla 2010-03-16 14:42:56 UTC
Hi David,
This code has changed a lot since gdb 7 is there a way I can reproduce this so I
can test it on HEAD ?
Comment 2 David Anderson 2010-03-22 01:24:11 UTC
Hi Sami,

The I tried the gdb-7.1 tarball today and can no longer reproduce the crash. In
fact a bunch of namespace related bugs seem to be gone. Cool! Will reopen/refile
if it comes up again.
Comment 3 Sami Wagiaalla 2010-03-22 15:10:48 UTC
Great!.. bugs are appreciated. Any namespace related bugs you can just assign
directly to me.