From: Shaun Jackman <sjackman@gmail.com>
To: gdb@sources.redhat.com
Subject: Re: arm-elf-gdb crash in get_frame_pc
Date: Wed, 21 Dec 2005 17:31:00 -0000 [thread overview]
Message-ID: <7f45d9390512210931h17ca164v@mail.gmail.com> (raw)
In-Reply-To: <7f45d9390512210923t1b448ff6o@mail.gmail.com>
2005/12/21, Shaun Jackman <sjackman@gmail.com>:
> I was single stepping through an arm-elf program when this crash occurred.
>
> Cheers,
> Shaun
This crash also occurs with gdb 6.4.50.20051221-cvs.
Cheers,
Shaun
$ arm-elf-gdb _build/kernel/kernel
GNU gdb 6.4.50.20051221-cvs
...
(arm-elf-gdb) s
Segmentation fault (core dumped)
$ gdb ~/bin/arm-elf-gdb core
GNU gdb 6.3-debian
...
Core was generated by `arm-elf-gdb _build/kernel/kernel'.
Program terminated with signal 11, Segmentation fault.
...
(gdb) f
#0 0x08144209 in get_frame_pc (frame=0x0) at ../../gdb/frame.c:1321
1321 gdb_assert (frame->next != NULL);
(gdb) bt
#0 0x08144209 in get_frame_pc (frame=0x0) at ../../gdb/frame.c:1321
#1 0x080c2bbc in insert_step_resume_breakpoint_at_frame (return_frame=0x0)
at ../../gdb/infrun.c:2754
#2 0x080c5a7d in handle_inferior_event (ecs=0xffffd1bc)
at ../../gdb/infrun.c:2525
#3 0x080c620d in wait_for_inferior () at ../../gdb/infrun.c:1001
#4 0x080c63b1 in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_DEFAULT,
step=1) at ../../gdb/infrun.c:826
#5 0x080c001c in step_1 (skip_subroutines=0, single_inst=0, count_string=0x0)
at ../../gdb/infcmd.c:717
#6 0x08050a37 in execute_command (p=0x82ac991 "", from_tty=1)
at ../../gdb/top.c:451
#7 0x080d185f in command_handler (command=0x82ac990 "s")
at ../../gdb/event-top.c:508
#8 0x080d1d3f in command_line_handler (rl=0x8387800 "")
at ../../gdb/event-top.c:799
#9 0x081a77e5 in rl_callback_read_char () at ../../readline/callback.c:123
#10 0x080d11bb in rl_callback_read_char_wrapper (client_data=0x0)
at ../../gdb/event-top.c:174
#11 0x080d09e2 in handle_file_event (event_file_desc=0)
at ../../gdb/event-loop.c:728
#12 0x080d0487 in process_event () at ../../gdb/event-loop.c:341
#13 0x080d0d61 in gdb_do_one_event (data=0x0) at ../../gdb/event-loop.c:378
#14 0x080ce003 in catch_errors (func=0x80d0be0 <gdb_do_one_event>,
func_args=0x0, errstring=0x8204c6d "", mask=6)
at ../../gdb/exceptions.c:515
#15 0x08081933 in tui_command_loop (data=0x0) at ../../gdb/tui/tui-interp.c:151
#16 0x080ce2dd in current_interp_command_loop () at ../../gdb/interps.c:278
#17 0x0804bbcb in captured_command_loop (data=0x0) at ../../gdb/main.c:101
#18 0x080ce003 in catch_errors (func=0x804bbc0 <captured_command_loop>,
func_args=0x0, errstring=0x8204c6d "", mask=6)
at ../../gdb/exceptions.c:515
#19 0x0804c2e3 in captured_main (data=0xffffd8a6) at ../../gdb/main.c:834
#20 0x080ce003 in catch_errors (func=0x804bc30 <captured_main>,
func_args=0xffffd6b8, errstring=0x8204c6d "", mask=6)
at ../../gdb/exceptions.c:515
#21 0x0804bc23 in gdb_main (args=0x0) at ../../gdb/main.c:843
#22 0x0804bbaf in main (argc=0, argv=0x0) at ../../gdb/gdb.c:35
next prev parent reply other threads:[~2005-12-21 17:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-21 17:23 Shaun Jackman
2005-12-21 17:31 ` Shaun Jackman [this message]
2005-12-21 18:18 ` Daniel Jacobowitz
2005-12-21 20:21 ` Shaun Jackman
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=7f45d9390512210931h17ca164v@mail.gmail.com \
--to=sjackman@gmail.com \
--cc=gdb@sources.redhat.com \
/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