public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "keiths at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/14354] New: "kill" breakpoint command crashes gdb
Date: Wed, 11 Jul 2012 23:30:00 -0000	[thread overview]
Message-ID: <bug-14354-4717@http.sourceware.org/bugzilla/> (raw)

http://sourceware.org/bugzilla/show_bug.cgi?id=14354

             Bug #: 14354
           Summary: "kill" breakpoint command crashes gdb
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned@sourceware.org
        ReportedBy: keiths@redhat.com
    Classification: Unclassified


(top) fil gdb
Reading symbols from linux/gdb/gdb...done.
warning: File "gdb-gdb.gdb" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
(top) b main
Breakpoint 1 at 0x456f53: file ../../gdb/gdb/gdb.c, line 29.
(top) commands 1
Type commands for breakpoint(s) 1, one per line.
End with a line saying just "end".
>set confirm off
>kill
>end
(top) r
Starting program: linux/gdb/gdb 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Breakpoint 1, main (argc=1, argv=0x7fffffffe048) at ../../gdb/gdb/gdb.c:29
29      memset (&args, 0, sizeof args);
Segmentation fault (core dumped)

Backtrace:
0x000000000054678a in bpstat_do_actions_1 (bsp=0x12b25c8)
    at ../../archer/gdb/breakpoint.c:4265
4265          ccmd = bs->commands;
(top) p bs
$1 = (struct bpstats *) 0x9595959595959595
(top) bt
#0  0x000000000054678a in bpstat_do_actions_1 (bsp=0x12b25c8)
    at ../../gdb/gdb/breakpoint.c:4265
#1  0x000000000054688e in bpstat_do_actions ()
    at ../../gdb/gdb/breakpoint.c:4331
#2  0x00000000005dd677 in command_handler (command=0xc4b730 "")
    at ../../gdb/gdb/event-top.c:438
#3  0x00000000005ddd07 in command_line_handler (rl=0xd14e00 "r")
    at ../../gdb/gdb/event-top.c:636
#4  0x000000000071daa2 in rl_callback_read_char ()
    at ../../gdb/readline/callback.c:220
#5  0x00000000005dd119 in rl_callback_read_char_wrapper (client_data=0x0)
    at ../../gdb/gdb/event-top.c:169
#6  0x00000000005dd584 in stdin_event_handler (error=0, client_data=0x0)
    at ../../gdb/gdb/event-top.c:375
#7  0x00000000005dc0ba in handle_file_event (data=...)
    at ../../gdb/gdb/event-loop.c:827
#8  0x00000000005db580 in process_event () at ../../gdb/gdb/event-loop.c:401
#9  0x00000000005db647 in gdb_do_one_event ()
    at ../../gdb/gdb/event-loop.c:465
#10 0x00000000005db698 in start_event_loop ()
    at ../../gdb/gdb/event-loop.c:490
#11 0x00000000005dd143 in cli_command_loop ()
    at ../../gdb/gdb/event-top.c:182
#12 0x00000000005d40a3 in current_interp_command_loop ()
    at ../../gdb/gdb/interps.c:332
#13 0x00000000005d49ce in captured_command_loop (data=0x0)
    at ../../gdb/gdb/main.c:226
#14 0x00000000005d2eb3 in catch_errors (func=0x5d49b3 <captured_command_loop>, 
---Type <return> to continue, or q <return> to quit---
    func_args=0x0, errstring=0x87de25 "", mask=6)
    at ../../archer/gdb/exceptions.c:546
#15 0x00000000005d5d9f in captured_main (data=0x7fffffffdf10)
    at ../../gdb/gdb/main.c:1001
#16 0x00000000005d2eb3 in catch_errors (func=0x5d4c64 <captured_main>, 
    func_args=0x7fffffffdf10, errstring=0x87de25 "", mask=6)
    at ../../gdb/gdb/exceptions.c:546
#17 0x00000000005d5dd5 in gdb_main (args=0x7fffffffdf10)
    at ../../gdb/gdb/main.c:1010
#18 0x0000000000456f9f in main (argc=1, argv=0x7fffffffe018)
    at ../../gdb/gdb/gdb.c:34

-- 
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.


             reply	other threads:[~2012-07-11 23:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 23:30 keiths at redhat dot com [this message]
2024-01-07 17:38 ` [Bug breakpoints/14354] " ssbssa at sourceware dot org
2024-01-09 19:53 ` ssbssa at sourceware dot org

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-14354-4717@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).