This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/10944] Assertion `get_frame_type (frame) == DUMMY_FRAME'failed


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

Domen Puncer <domen at cba dot si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|7.0                         |7.2

--- Comment #1 from Domen Puncer <domen at cba dot si> 2011-03-24 08:04:45 UTC ---
I can also reliably reproduce (well... at least some part of backtrace looks
similar) this with:
GNU gdb (GDB) 7.2
This GDB was configured as "--host=x86_64-unknown-linux-gnu
--target=arm-none-eabi".

With a function call:
(gdb) call usart_puts(2, "ATZ")
infrun.c:5509: internal-error: normal_stop: Assertion `get_frame_type (frame)
== DUMMY_FRAME' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
infrun.c:5509: internal-error: normal_stop: Assertion `get_frame_type (frame)
== DUMMY_FRAME' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Aborted (core dumped)


(gdb) bt
#0  0x00007f3679373a75 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f36793775c0 in *__GI_abort () at abort.c:92
#2  0x0000000000410d26 in dump_core () at utils.c:1010
#3  0x0000000000411b6a in internal_vproblem (problem=0x961020, file=<value
optimized out>, line=<value optimized out>, fmt=<value optimized out>,
ap=<value optimized out>) at utils.c:1176
#4  0x0000000000411d39 in internal_verror (file=<value optimized out>,
line=<value optimized out>, fmt=<value optimized out>, ap=0x1caa380) at
utils.c:1191
#5  0x0000000000411dd1 in internal_error (file=0x2b81 <Address 0x2b81 out of
bounds>, line=11137, string=0x6 <Address 0x6 out of bounds>) at utils.c:1201
#6  0x00000000004c98a2 in normal_stop () at infrun.c:5509
#7  0x00000000004bf8d0 in run_inferior_call (call_thread=0x1ba7b80,
real_pc=<value optimized out>) at infcall.c:378
#8  0x00000000004c04be in call_function_by_hand (function=<value optimized
out>, nargs=<value optimized out>, args=<value optimized out>) at infcall.c:804
#9  0x0000000000496645 in evaluate_subexp_standard (expect_type=<value
optimized out>, exp=<value optimized out>, pos=0x20, noside=<value optimized
out>) at eval.c:1784
#10 0x000000000053eaf5 in evaluate_subexp_c (expect_type=0x2b81, exp=0x2b81,
pos=0x6, noside=<value optimized out>) at c-lang.c:1047
#11 0x0000000000494d82 in evaluate_subexp (exp=0x2b81) at eval.c:76
#12 evaluate_expression (exp=0x2b81) at eval.c:167
#13 0x00000000004ab359 in print_command_1 (exp=0x1b90e65 "usart_puts(2,
\"ATZ\")", inspect=0, voidprint=0) at ./printcmd.c:969
#14 0x000000000040fc9d in execute_command (p=0x1b90e78 ")", from_tty=1) at
top.c:422
#15 0x00000000004dec88 in command_handler (command=0x1b90e60 "call
usart_puts(2, \"ATZ\")") at event-top.c:498
#16 0x00000000004df86c in command_line_handler (rl=<value optimized out>) at
event-top.c:702
#17 0x00000000005ce6c7 in rl_callback_read_char () at callback.c:205
#18 0x00000000004decf9 in rl_callback_read_char_wrapper (client_data=0x2b81) at
event-top.c:178
#19 0x00000000004dd708 in process_event () at event-loop.c:399
(gdb)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]