[Bug mi/12531] Crash when -var-set-visualizer <something> gdb.default_visualizer
pmuldoon at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Mar 2 11:06:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=12531
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pmuldoon at redhat dot com
--- Comment #1 from Phil Muldoon <pmuldoon at redhat dot com> 2011-03-02 11:05:59 UTC ---
Replicated upstream. GDB backtrace:
-var-set-visualizer var1.private gdb.default_visualizer
Program received signal SIGSEGV, Segmentation fault.
0x0000000000540384 in value_incref (val=
During symbol reading, incomplete CFI data; unspecified registers (e.g., rax)
at 0x540398.
0x0) at ../../archer/gdb/value.c:1142
1142 val->reference_count++;
(top-gdb) bt
#0 0x0000000000540384 in value_incref (val=0x0) at
../../archer/gdb/value.c:1142
#1 0x0000000000512063 in value_to_value_object (val=0x0) at
../../archer/gdb/python/py-value.c:1055
#2 0x0000000000639ec3 in instantiate_pretty_printer
(constructor=0x7ffff2015a28, value=0x0) at ../../archer/gdb/varobj.c:780
#3 0x000000000063b09d in construct_visualizer (var=0xeb8d00,
constructor=0x7ffff2015a28) at ../../archer/gdb/varobj.c:1389
#4 0x000000000063b7ee in varobj_set_visualizer (var=0xeb8d00,
visualizer=0xbb7020 "gdb.default_visualizer") at ../../archer/gdb/varobj.c:1661
#5 0x00000000004e9d18 in mi_cmd_var_set_visualizer (command=0xeddb20
"var-set-visualizer", argv=0xc78050, argc=2) at
../../archer/gdb/mi/mi-cmd-var.c:281
#6 0x00000000004f1d59 in mi_cmd_execute (parse=0xe96740) at
../../archer/gdb/mi/mi-main.c:2094
#7 0x00000000004f13d1 in captured_mi_execute_command (uiout=0xc38b20,
data=0xe96740) at ../../archer/gdb/mi/mi-main.c:1845
#8 0x000000000059a568 in catch_exception (uiout=0xc38b20, func=0x4f12ff
<captured_mi_execute_command>, func_args=0xe96740, mask=6) at
../../archer/gdb/exceptions.c:471
#9 0x00000000004f1792 in mi_execute_command (cmd=0xf8cf90 "-var-set-visualizer
var1.private gdb.default_visualizer", from_tty=1) at
../../archer/gdb/mi/mi-main.c:1965
#10 0x00000000004ecd70 in mi_execute_command_wrapper (cmd=0xf8cf90
"-var-set-visualizer var1.private gdb.default_visualizer") at
../../archer/gdb/mi/mi-interp.c:266
#11 0x00000000005a2f36 in gdb_readline2 (client_data=0x0) at
../../archer/gdb/event-top.c:785
#12 0x00000000005a2699 in stdin_event_handler (error=0, client_data=0x0) at
../../archer/gdb/event-top.c:434
#13 0x00000000005a0d82 in handle_file_event (data=...) at
../../archer/gdb/event-loop.c:831
#14 0x00000000005a0278 in process_event () at ../../archer/gdb/event-loop.c:402
#15 0x00000000005a0343 in gdb_do_one_event (data=0x0) at
../../archer/gdb/event-loop.c:467
#16 0x000000000059a72f in catch_errors (func=0x5a0286 <gdb_do_one_event>,
func_args=0x0, errstring=0x7fd368 "", mask=6) at
../../archer/gdb/exceptions.c:521
#17 0x00000000005a037c in start_event_loop () at
../../archer/gdb/event-loop.c:491
#18 0x00000000004ecddf in mi_command_loop (mi_version=2) at
../../archer/gdb/mi/mi-interp.c:296
#19 0x00000000004ecd90 in mi2_command_loop () at
../../archer/gdb/mi/mi-interp.c:278
#20 0x000000000059ae88 in current_interp_command_loop () at
../../archer/gdb/interps.c:288
#21 0x0000000000451e03 in captured_command_loop (data=0x0) at
../../archer/gdb/main.c:228
#22 0x000000000059a72f in catch_errors (func=0x451df2 <captured_command_loop>,
func_args=0x0, errstring=0x7ac8e7 "", mask=6) at
../../archer/gdb/exceptions.c:521
#23 0x0000000000452e91 in captured_main (data=0x7fffffffe0a0) at
../../archer/gdb/main.c:933
#24 0x000000000059a72f in catch_errors (func=0x451e37 <captured_main>,
func_args=0x7fffffffe0a0, errstring=0x7ac8e7 "", mask=6) at
../../archer/gdb/exceptions.c:521
#25 0x0000000000452ec7 in gdb_main (args=0x7fffffffe0a0) at
../../archer/gdb/main.c:942
#26 0x0000000000451b12 in main (argc=3, argv=0x7fffffffe1a8) at
../../archer/gdb/gdb.c:35
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list