public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "dtaylor at emc dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug mi/17109] gdb 7.7 crashes when issuing mi command: -trace-frame-collected
Date: Thu, 10 Jul 2014 23:36:00 -0000	[thread overview]
Message-ID: <bug-17109-4717-exQ7neoXnZ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17109-4717@http.sourceware.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.


  parent reply	other threads:[~2014-07-10 23:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-02 22:26 [Bug mi/17109] New: " hochby at emc dot com
2014-07-03  1:59 ` [Bug mi/17109] " qiyao at gcc dot gnu.org
2014-07-10 23:36 ` dtaylor at emc dot com [this message]
2014-07-15 20:29 ` dtaylor at emc dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17109-4717-exQ7neoXnZ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).