This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/17109] gdb 7.7 crashes when issuing mi command: -trace-frame-collected
- From: "dtaylor at emc dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 10 Jul 2014 23:36:13 +0000
- Subject: [Bug mi/17109] gdb 7.7 crashes when issuing mi command: -trace-frame-collected
- Auto-submitted: auto-generated
- References: <bug-17109-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17109
David Taylor <dtaylor at emc dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtaylor at emc dot com
--- Comment #2 from David Taylor <dtaylor at emc dot com> ---
I don't know why Yigal wouldn't provide a backtrace. Here is one.
Program terminated with signal 11, Segmentation fault.
#0 0x0812ad04 in mi_cmd_trace_frame_collected (
command=0xb049170 "trace-frame-collected", argv=0xb049200, argc=0)
at ../../gdb/mi/mi-main.c:2844
2844 for (i = 0; VEC_iterate (int, tinfo->tvars, i, tvar); i++)
(gdb) p i
$1 = 0
(gdb) p tinfo
$2 = (struct traceframe_info *) 0x0
(gdb) where
#0 0x0812ad04 in mi_cmd_trace_frame_collected (
command=0xb049170 "trace-frame-collected", argv=0xb049200, argc=0)
at ../../gdb/mi/mi-main.c:2844
#1 0x08129837 in mi_cmd_execute (parse=0xae12b78)
at ../../gdb/mi/mi-main.c:2215
#2 0x08128f5a in captured_mi_execute_command (uiout=0xb040960,
context=0xae12b78) at ../../gdb/mi/mi-main.c:1950
#3 0x08129320 in mi_execute_command (cmd=0xb049140 "-trace-frame-collected",
from_tty=1) at ../../gdb/mi/mi-main.c:2078
#4 0x0812443d in mi_execute_command_wrapper (
cmd=0xb049140 "-trace-frame-collected") at ../../gdb/mi/mi-interp.c:291
#5 0x081242ba in mi_interpreter_exec (data=0xa59cec8,
command=0xb049140 "-trace-frame-collected") at ../../gdb/mi/mi-interp.c:205
#6 0x081fe26f in interp_exec (interp=0xa440de0,
command_str=0xb049140 "-trace-frame-collected") at ../../gdb/interps.c:356
#7 0x081fe45e in interpreter_exec_cmd (
args=0xa52b1a1 "mi \"-trace-frame-collected\"", from_tty=1)
at ../../gdb/interps.c:430
#8 0x0811364f in do_cfunc (c=0xa42a9c0,
args=0xa52b1a1 "mi \"-trace-frame-collected\"", from_tty=1)
at ../../gdb/cli/cli-decode.c:107
#9 0x08115e47 in cmd_func (cmd=0xa42a9c0,
args=0xa52b1a1 "mi \"-trace-frame-collected\"", from_tty=1)
at ../../gdb/cli/cli-decode.c:1882
#10 0x082ec0b3 in execute_command (p=0xa52b1bb "\"", from_tty=1)
at ../../gdb/top.c:468
#11 0x08206782 in command_handler (
command=0xa52b190 "interpreter-exec mi \"-trace-frame-collected\"")
at ../../gdb/event-top.c:435
#12 0x08206c9e in command_line_handler (
rl=0xb043fc8
"\335//\b\305//\b55/\bZ//\b\253\065/\b\373\065/\b(0/\b\370S\377\ne-co\031") at
../../gdb/event-top.c:632
#13 0x08206df3 in gdb_readline2 (client_data=0x0) at ../../gdb/event-top.c:713
#14 0x082066ac in stdin_event_handler (error=0, client_data=0x0)
at ../../gdb/event-top.c:375
#15 0x0820578a in handle_file_event (data=...) at ../../gdb/event-loop.c:768
#16 0x08204ece in process_event () at ../../gdb/event-loop.c:342
#17 0x08204f92 in gdb_do_one_event () at ../../gdb/event-loop.c:406
#18 0x08204fe4 in start_event_loop () at ../../gdb/event-loop.c:431
#19 0x08206384 in cli_command_loop (data=0x0) at ../../gdb/event-top.c:179
#20 0x081fe1cb in current_interp_command_loop () at ../../gdb/interps.c:327
#21 0x081feab6 in captured_command_loop (data=0x0) at ../../gdb/main.c:267
#22 0x081fc888 in catch_errors (func=0x81feaa1 <captured_command_loop>,
func_args=0x0, errstring=0x8604e9e "", mask=RETURN_MASK_ALL)
at ../../gdb/exceptions.c:524
#23 0x081ffd3d in captured_main (data=0xff8b7690) at ../../gdb/main.c:1067
#24 0x081fc888 in catch_errors (func=0x81fed03 <captured_main>,
func_args=0xff8b7690, errstring=0x8604e9e "", mask=RETURN_MASK_ALL)
at ../../gdb/exceptions.c:524
#25 0x081ffd73 in gdb_main (args=0xff8b7690) at ../../gdb/main.c:1076
#26 0x080a0d53 in main (argc=6, argv=0xff8b7754) at ../../gdb/gdb.c:34
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.