This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2429: gdb crashes while debugging xemacs
- From: T dot Mittelstaedt at cadenas dot de
- To: gdb-gnats at sources dot redhat dot com
- Date: 11 Mar 2008 17:34:00 -0000
- Subject: gdb/2429: gdb crashes while debugging xemacs
- Reply-to: T dot Mittelstaedt at cadenas dot de
>Number: 2429
>Category: gdb
>Synopsis: gdb crashes while debugging xemacs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Mar 11 17:38:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: tmstaedt
>Release: 6.7.1
>Organization:
>Environment:
powerpc-ibm-aix5.2.0.0
>Description:
I always run the latest xemacs beta under gdb. I interrupted via Control-C and tried to debug a little. I remembered doing
a sequence of fin commands before gdb died. It generated a core file. The backtrace says the following:
#0 0xd01ee778 in raise () from /usr/lib/libc.a(shr.o)
#1 0xd020e770 in abort () from /usr/lib/libc.a(shr.o)
#2 0x10009e08 in internal_vproblem (problem=0x20027c78,
file=0x10291ca0 "breakpoint.c", line=7845,
fmt=0x21a5a6a8 <Address 0x21a5a6a8 out of bounds>, ap=0x10273a70 "\\n")
at utils.c:794
#3 0x10005e64 in internal_verror (
file=0xffffffff <Address 0xffffffff out of bounds>, line=-1,
fmt=0xffffffff <Address 0xffffffff out of bounds>,
ap=0xffffffff <Address 0xffffffff out of bounds>) at utils.c:809
#4 0x10005ed4 in internal_error (file=0x0, line=-1,
string=0xffffffff <Address 0xffffffff out of bounds>) at utils.c:818
#5 0x100b9c28 in insert_single_step_breakpoint (next_pc=3493767956)
at breakpoint.c:7845
#6 0x10160130 in rs6000_software_single_step (frame=0x0) at rs6000-tdep.c:937
#7 0x1007ba1c in gdbarch_software_single_step (gdbarch=0x207f4bb0,
frame=0x20082104) at gdbarch.c:2540
#8 0x1012c4cc in resume (step=1, sig=TARGET_SIGNAL_ALRM) at infrun.c:540
#9 0x1012f824 in proceed (addr=18446744069951816036,
siggnal=TARGET_SIGNAL_DEFAULT, step=0) at infrun.c:807
#10 0x1007129c in continue_command (proc_count_exp=0x0, from_tty=1)
at infcmd.c:658
#11 0x10071dd4 in do_cfunc (c=0x0,
args=0xffffffff <Address 0xffffffff out of bounds>, from_tty=-1)
at .././gdb/cli/cli-decode.c:60
#12 0x1007220c in cmd_func (cmd=0x20077008, args=0x0, from_tty=1)
at .././gdb/cli/cli-decode.c:1663
#13 0x10003c6c in execute_command (p=0x200591d9 "", from_tty=1) at top.c:449
#14 0x101bb1e0 in command_handler (command=0x200591d8 "c") at event-top.c:518
#15 0x101bc8a4 in command_line_handler (rl=0x200927f8 "c") at event-top.c:804
#16 0x100eeef0 in rl_callback_read_char () at callback.c:205
#17 0x101bb470 in rl_callback_read_char_wrapper (client_data=0x0)
at event-top.c:177
#18 0x101bbf20 in stdin_event_handler (error=0, client_data=0x0)
at event-top.c:431
#19 0x101be3b0 in handle_file_event (event_file_desc=-1) at event-loop.c:728
#20 0x101bd178 in process_event () at event-loop.c:341
#21 0x101be038 in gdb_do_one_event (data=0x0) at event-loop.c:378
#22 0x10105054 in catch_errors (
func=@0x2002dbe8: 0x101bde0c <gdb_do_one_event>, func_args=0x0,
errstring=0x102e1914 "", mask=-1) at exceptions.c:513
#23 0x1026ada0 in tui_command_loop (data=0x0) at .././gdb/tui/tui-interp.c:152
#24 0x101becb8 in current_interp_command_loop () at interps.c:276
#25 0x1000147c in captured_command_loop (data=0x0) at .././gdb/main.c:99
#26 0x10105054 in catch_errors (
func=@0x200307e0: 0x1000146c <captured_command_loop>, func_args=0x0,
errstring=0x102e2670 "", mask=-1) at exceptions.c:513
#27 0x10000d60 in captured_main (data=0x0) at .././gdb/main.c:870
#28 0x10105054 in catch_errors (func=@0x2003078c: 0x1000044c <captured_main>,
func_args=0x2ff225b8, errstring=0x102e2670 "", mask=-1) at exceptions.c:513
#29 0x10000408 in gdb_main (args=0xffffffff) at .././gdb/main.c:879
#30 0x100003ac in main (argc=0, argv=0xffffffff) at gdb.c:33
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: