This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/11912] C++ name lookup failes
- From: "andre dot poenitz at nokia dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 Aug 2010 10:10:35 -0000
- Subject: [Bug symtab/11912] C++ name lookup failes
- References: <20100813144044.11912.andre.poenitz@nokia.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From andre dot poenitz at nokia dot com 2010-08-17 10:10 -------
(In reply to comment #5)
> (In reply to comment #3)
> > On MinGW this seems to be able to crash gdb.
>
> That is surprising to me; please post more info about that.
I don't have a debug enabled FSF gdb at hand right now (will take a while to
setup the build due to the python dependencies) but we seem to get the same
crash with Code Sourcery's gdb for Symbian:
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4612.0x1368]
0x005b0c05 in int_vasprintf (result=<value optimized out>,
format=<value optimized out>, args=<value optimized out>)
at .././libiberty/vasprintf.c:128
128 .././libiberty/vasprintf.c: No such file or directory.
in .././libiberty/vasprintf.c
(gdb) where
#0 0x005b0c05 in int_vasprintf (result=<value optimized out>,
format=<value optimized out>, args=<value optimized out>)
at .././libiberty/vasprintf.c:128
#1 0x004065be in xstrvprintf (
format=0x722288 "Attempt to extract a component of a value that is not
a %s.
", ap=0x1f7eb64 "") at utils.c:1310
#2 0x0041cb14 in throw_it (reason=RETURN_ERROR, error=7480002,
fmt=0xffffffff <Address 0xffffffff out of bounds>, ap=0x1f7eb64 "")
at exceptions.c:386
#3 0x0041cb98 in throw_verror (error=GENERIC_ERROR,
fmt=0x722288 "Attempt to extract a component of a value that is not a
%s.",
ap=0x1f7eb64 "") at exceptions.c:402
#4 0x00404e34 in error (
string=0x722288 "Attempt to extract a component of a value that is not
a %s.
") at utils.c:815
#5 0x0048ec37 in value_struct_elt (argp=0x1f7ebcc, args=0x0,
name=0x4210cb8 "staticMetaObject", static_memfuncp=0x0, err=0x0)
at valops.c:1843
#6 0x00508c19 in valpy_getitem (self=0x1fd3938, key=0x52ec688)
at .././gdb/python/python-value.c:286
#7 0x005faf82 in PyEval_EvalFrameEx (f=0x42803dc, throwflag=0)
at Python/ceval.c:1192
#8 0x005fe04c in PyEval_EvalCodeEx (co=0x52cb728, globals=0x1febb54,
locals=0x0, args=0x428bcd0, argcount=2, kws=0x428bcd8, kwcount=0,
defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2831
#9 0x005fd0b4 in PyEval_EvalFrameEx (f=0x428bb24, throwflag=0)
at Python/ceval.c:3660
#10 0x005fe04c in PyEval_EvalCodeEx (co=0x52cb728, globals=0x1febb54,
locals=0x0, args=0x20526e8, argcount=2, kws=0x20526f0, kwcount=0,
defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2831
#11 0x005fd0b4 in PyEval_EvalFrameEx (f=0x205253c, throwflag=0)
at Python/ceval.c:3660
#12 0x005fe04c in PyEval_EvalCodeEx (co=0x412dec0, globals=0x1febb54,
locals=0x0, args=0x412cf78, argcount=2, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2831
#13 0x006490a6 in function_call (func=0x52dea04, arg=0x412cf6c, kw=0x0)
at Objects/funcobject.c:517
#14 0x005da76f in PyObject_Call (func=0x7222c2, arg=0x412cf6c, kw=0x0)
at Objects/abstract.c:1860
#15 0x006387a6 in instancemethod_call (func=0x52dea04, arg=0x412456c, kw=0x0)
at Objects/classobject.c:2497
#16 0x005da76f in PyObject_Call (func=0x7222c2, arg=0x412456c, kw=0x0)
at Objects/abstract.c:1860
#17 0x005f786b in PyEval_CallObjectWithKeywords (func=0x4178414,
arg=0x412456c, kw=0x0) at Python/ceval.c:3433
#18 0x0063a282 in PyInstance_New (klass=0x52cffbc, arg=0x412456c, kw=0x0)
at Objects/classobject.c:560
#19 0x005da76f in PyObject_Call (func=0x7222c2, arg=0x412456c, kw=0x0)
at Objects/abstract.c:1860
#20 0x005fc388 in PyEval_EvalFrameEx (f=0x4f92fa4, throwflag=0)
at Python/ceval.c:3775
#21 0x005fe04c in PyEval_EvalCodeEx (co=0x412dd58, globals=0x1febb54,
locals=0x0, args=0x5320c1c, argcount=1, kws=0x5320c20, kwcount=0,
defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2831
#22 0x005fd0b4 in PyEval_EvalFrameEx (f=0x5320acc, throwflag=0)
at Python/ceval.c:3660
#23 0x005fe04c in PyEval_EvalCodeEx (co=0x412dcc8, globals=0x1febb54,
locals=0x0, args=0x41236f0, argcount=3, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2831
#24 0x006490a6 in function_call (func=0x52de924, arg=0x41236e4, kw=0x0)
at Objects/funcobject.c:517
#25 0x005da76f in PyObject_Call (func=0x7222c2, arg=0x41236e4, kw=0x0)
at Objects/abstract.c:1860
#26 0x006387a6 in instancemethod_call (func=0x52de924, arg=0x412c46c, kw=0x0)
at Objects/classobject.c:2497
#27 0x005dd6b8 in PyObject_CallMethodObjArgs (callable=<value optimized out>,
name=0x4120f60) at Objects/abstract.c:1860
#28 0x0053ed58 in cmdpy_function (command=0x4143ff8,
args=0x1f7fa83 "options:fancy vars: expanded:local.s typeformats:
formats: watchers:", from_tty=1) at .././gdb/python/python-cmd.c:144
#29 0x00403e7e in execute_command (p=0x1f7fac6 ":", from_tty=1) at top.c:442
#30 0x0041cf36 in catch_exception (uiout=0x1fd1a18,
func=0x5054e8 <do_captured_execute_command>, func_args=0x1f7fb08, mask=6)
at exceptions.c:462
#31 0x00505497 in cli_interpreter_exec (data=0x0,
command_str=<value optimized out>) at .././gdb/cli/cli-interp.c:130
#32 0x0041625e in interp_exec (interp=0x1fbff00,
command_str=0x1fa35e8 "bb options:fancy vars: expanded:local.s
typeformats:
formats: watchers:") at interps.c:326
#33 0x00506d8e in mi_cmd_interpreter_exec (
command=0x76124d "-interpreter-exec", argv=0x1f7fbe4, argc=2)
at .././gdb/mi/mi-interp.c:206
#34 0x00538f2f in captured_mi_execute_command (uiout=0x1fd2830,
data=0x1fc8020) at .././gdb/mi/mi-main.c:1226
#35 0x0041cf36 in catch_exception (uiout=0x1fd2830,
func=0x538d0c <captured_mi_execute_command>, func_args=0x1fc8020, mask=6)
at exceptions.c:462
#36 0x00538a68 in mi_execute_command (
cmd=0x4145908 "65bb options:fancy vars: expanded:local.s typeformats:
formats: watchers:", from_tty=1) at .././gdb/mi/mi-main.c:1282
#37 0x0050641a in mi_execute_command_wrapper (
cmd=0x4145908 "65bb options:fancy vars: expanded:local.s typeformats:
formats: watchers:") at .././gdb/mi/mi-interp.c:251
#38 0x0043ce6c in handle_file_event (data={ptr = 0x0, integer = 0})
at event-loop.c:812
#39 0x0043c514 in process_event () at event-loop.c:394
#40 0x0043cde9 in gdb_do_one_event (data=0x0) at event-loop.c:459
#41 0x0041cd4f in catch_errors (func=0x43cbd0 <gdb_do_one_event>,
func_args=0x0, errstring=0x703f98 "", mask=6) at exceptions.c:510
#42 0x0043c9c4 in start_event_loop () at event-loop.c:483
#43 0x004025cb in captured_command_loop (data=0x0) at .././gdb/main.c:231
#44 0x0041cd4f in catch_errors (func=0x4025c0 <captured_command_loop>,
func_args=0x0, errstring=0x6f1080 "", mask=6) at exceptions.c:510
#45 0x00402348 in captured_main (data=0x1f7ff30) at .././gdb/main.c:1007
#46 0x0041cd4f in catch_errors (func=0x4015f0 <captured_main>,
func_args=0x1f7ff30, errstring=0x6f1080 "", mask=6) at exceptions.c:510
#47 0x00401426 in gdb_main (args=0x1f7ff30) at .././gdb/main.c:1016
#48 0x004013e8 in main (argc=4, argv=0x392480) at gdb.c:33
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11912
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.