* value_from_register: Value not stored anywhere!
@ 2003-11-14 5:27 Jon Ringle
2003-11-14 6:06 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Jon Ringle @ 2003-11-14 5:27 UTC (permalink / raw)
To: gdb
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
Hi,
I got this internal error in an arm gdb I built from cvs a couple weeks ago. I
opened up the core file and here is the backtrace. I'm not sure what the
problem is.
Jon
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gdb-core.log --]
[-- Type: text/x-log; charset="us-ascii"; name="gdb-core.log", Size: 5969 bytes --]
GNU gdb 5.3-22mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu".
Core was generated by `/home/eringlej/gdb-cvs/gdb-6.0-arm-build/gdb/gdb -q -fullname -b 115200 vmlinux'.
Program terminated with signal 6, Aborted.
#0 0x400af481 in ?? ()
Setting up the environment for debugging gdb.
.gdbinit:5: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
(gdb) file gdb
Reading symbols from gdb...done.
(gdb) ^[[K(gdb) b^[[K(gdb) bt^[[K(gdb) bt
#0 0x400af481 in ?? ()
#1 0x400b076b in ?? ()
#2 0x0811e839 in internal_vproblem (problem=0x8269a40,
file=0x81f965a "../../src/gdb/findvar.c", line=706,
fmt=0x81f9980 "value_from_register: Value not stored anywhere!",
ap=0xbfffe8ac "Ãõ\b\b\210Ã+\b") at ../../src/gdb/utils.c:774
#3 0x0811e882 in internal_verror (file=0x81f965a "../../src/gdb/findvar.c",
line=706, fmt=0x81f9980 "value_from_register: Value not stored anywhere!",
ap=0xbfffe8ac "Ãõ\b\b\210Ã+\b") at ../../src/gdb/utils.c:797
#4 0x0811e8ac in internal_error (file=0x81f965a "../../src/gdb/findvar.c",
line=706,
string=0x81f9980 "value_from_register: Value not stored anywhere!")
at ../../src/gdb/utils.c:806
#5 0x0808f7f9 in value_from_register (type=0x853bcb4, regnum=0,
frame=0x82a6418) at ../../src/gdb/findvar.c:706
#6 0x0808f47e in read_var_value (var=0x8548834, frame=0x82a6418)
at ../../src/gdb/findvar.c:556
#7 0x080c666d in print_frame_args (func=0x85487a4, fi=0x82a6418, num=-1,
stream=0x82b5a20) at ../../src/gdb/stack.c:351
#8 0x080c6828 in print_args_stub (args=0xbfffeb70)
at ../../src/gdb/stack.c:406
#9 0x0811c1a1 in do_catch_errors (uiout=0x82a8be8, data=0xbfffeb38)
at ../../src/gdb/top.c:497
#10 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>,
func_uiout=0x82a8be8, func_args=0xbfffeb38, func_val=0xbfffeb44,
func_caught=0xbfffeb40, errstring=0x8208f80 "", mask=6)
at ../../src/gdb/top.c:429
#11 0x0811c1dd in catch_errors (func=0x80c67a6 <print_args_stub>,
func_args=0xbfffeb70, errstring=0x8208f80 "", mask=6)
at ../../src/gdb/top.c:509
#12 0x080c6f44 in print_frame (fi=0x82a6418, level=1, source=0, args=1, sal=
{symtab = 0x8540f88, section = 0x0, line = 1383, pc = 268620312, end = 268620316}) at ../../src/gdb/stack.c:660
#13 0x080c6a3f in print_frame_info (fi=0x82a6418, level=1, source=0, args=1)
at ../../src/gdb/stack.c:479
#14 0x080c7e21 in backtrace_command_1 (count_exp=0x0, show_locals=0,
from_tty=0) at ../../src/gdb/stack.c:1226
#15 0x080c8088 in backtrace_command (arg=0x0, from_tty=0)
at ../../src/gdb/stack.c:1292
#16 0x08075ebb in do_cfunc (c=0x829b090, args=0x0, from_tty=0)
at ../../src/gdb/cli/cli-decode.c:53
#17 0x08077e4a in cmd_func (cmd=0x829b090, args=0x0, from_tty=0)
at ../../src/gdb/cli/cli-decode.c:1537
#18 0x0811c56e in execute_command (p=0x828b74d "", from_tty=1)
at ../../src/gdb/top.c:716
#19 0x080cc8ee in command_handler (command=0x828b748 "where")
at ../../src/gdb/event-top.c:500
#20 0x080cd0fa in command_line_handler (rl=0x84683a8 "`½D\b")
at ../../src/gdb/event-top.c:793
#21 0x081d24d7 in rl_callback_read_char () at ../../src/readline/callback.c:123
#22 0x080cc027 in rl_callback_read_char_wrapper (client_data=0x0)
at ../../src/gdb/event-top.c:166
#23 0x080cc7af in stdin_event_handler (error=0, client_data=0x0)
at ../../src/gdb/event-top.c:416
#24 0x080cb71f in handle_file_event (event_file_desc=0)
at ../../src/gdb/event-loop.c:721
#25 0x080cb03d in process_event () at ../../src/gdb/event-loop.c:334
#26 0x080cb089 in gdb_do_one_event (data=0x0) at ../../src/gdb/event-loop.c:371
#27 0x0811c1a1 in do_catch_errors (uiout=0x82a8be8, data=0xbffff018)
at ../../src/gdb/top.c:497
#28 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>,
func_uiout=0x82a8be8, func_args=0xbffff018, func_val=0xbffff024,
func_caught=0xbffff020, errstring=0x820a5c0 "", mask=6)
at ../../src/gdb/top.c:429
#29 0x0811c1dd in catch_errors (func=0x80cb055 <gdb_do_one_event>,
func_args=0x0, errstring=0x820a5c0 "", mask=6) at ../../src/gdb/top.c:509
#30 0x080cb0bc in start_event_loop () at ../../src/gdb/event-loop.c:397
#31 0x080cc13e in cli_command_loop () at ../../src/gdb/event-top.c:198
#32 0x080ca985 in current_interp_command_loop () at ../../src/gdb/interps.c:279
#33 0x08073a27 in captured_command_loop (data=0x0) at ../../src/gdb/main.c:97
#34 0x0811c1a1 in do_catch_errors (uiout=0x82a8be8, data=0xbffff1d8)
at ../../src/gdb/top.c:497
#35 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>,
func_uiout=0x82a8be8, func_args=0xbffff1d8, func_val=0xbffff1e4,
func_caught=0xbffff1e0, errstring=0x81ed0cd "", mask=6)
at ../../src/gdb/top.c:429
#36 0x0811c1dd in catch_errors (func=0x8073a1c <captured_command_loop>,
func_args=0x0, errstring=0x81ed0cd "", mask=6) at ../../src/gdb/top.c:509
#37 0x08074858 in captured_main (data=0xbffff4f0) at ../../src/gdb/main.c:811
#38 0x0811c1a1 in do_catch_errors (uiout=0x8268360, data=0xbffff4a8)
at ../../src/gdb/top.c:497
#39 0x0811c044 in catcher (func=0x811c185 <do_catch_errors>,
func_uiout=0x8268360, func_args=0xbffff4a8, func_val=0xbffff4b4,
func_caught=0xbffff4b0, errstring=0x81ed0cd "", mask=6)
at ../../src/gdb/top.c:429
#40 0x0811c1dd in catch_errors (func=0x8073a5c <captured_main>,
func_args=0xbffff4f0, errstring=0x81ed0cd "", mask=6)
at ../../src/gdb/top.c:509
#41 0x08074882 in gdb_main (args=0xbffff4f0) at ../../src/gdb/main.c:820
#42 0x08073a15 in main (argc=6, argv=0xbffff554) at ../../src/gdb/gdb.c:35
#43 0x4009c7f7 in ?? ()
(gdb) quit
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: value_from_register: Value not stored anywhere!
2003-11-14 5:27 value_from_register: Value not stored anywhere! Jon Ringle
@ 2003-11-14 6:06 ` Daniel Jacobowitz
2003-11-14 9:39 ` Jon Ringle
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2003-11-14 6:06 UTC (permalink / raw)
To: gdb
On Fri, Nov 14, 2003 at 12:27:33AM -0500, Jon Ringle wrote:
> Hi,
>
> I got this internal error in an arm gdb I built from cvs a couple weeks ago. I
> opened up the core file and here is the backtrace. I'm not sure what the
> problem is.
>
> Jon
Test case?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: value_from_register: Value not stored anywhere!
2003-11-14 6:06 ` Daniel Jacobowitz
@ 2003-11-14 9:39 ` Jon Ringle
0 siblings, 0 replies; 3+ messages in thread
From: Jon Ringle @ 2003-11-14 9:39 UTC (permalink / raw)
To: gdb
On Friday 14 November 2003 01:06 am, Daniel Jacobowitz wrote:
> On Fri, Nov 14, 2003 at 12:27:33AM -0500, Jon Ringle wrote:
> > Hi,
> >
> > I got this internal error in an arm gdb I built from cvs a couple weeks
> > ago. I opened up the core file and here is the backtrace. I'm not sure
> > what the problem is.
> >
> > Jon
>
> Test case?
Scenario is debugging a remote arm target with kgdb:
GNU gdb 2003-10-27-cvs
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"...
(gdb) target extended-remote /dev/ttyUSB0
Remote debugging using /dev/ttyUSB0
breakpoint () at kgdb-stub.c:1146
1146 }
warning: shared library handler failed to enable breakpoint
(gdb) c
Continuing.
mm/slab.c: kmem_cache_init entry: start: 10227F40, end: 10FFBFFF
Calibrating delay loop... 6.68 BogoMIPS
Memory: 14156k/15M available (0k code, 32k reserved, 0k data, 0k init)
<6>kmem_test() - start
<3>kmem_free: Bad front redzone (objp=10ff9004, name=test-cachep)
Compiled breakpoint hit
Program received signal SIGTRAP, Trace/breakpoint trap.
breakpoint () at kgdb-stub.c:1146
1146 }
(gdb) bt
#0 breakpoint () at kgdb-stub.c:1146
#1 0x1002d21c in kmem_report_free_err (str=0x10187f54 "\204\177\030\020d\177\030\020À×\002\020ÀÑ\002\020\020\237\030\020\b\220ÿ\020`§ÿ\020L\237\030\020", objp=0x1002d21c,
cachep=
../../src/gdb/findvar.c:706: internal-error: value_from_register: Value not stored anywhere!
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
../../src/gdb/findvar.c:706: internal-error: value_from_register: Value not stored anywhere!
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-14 9:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-14 5:27 value_from_register: Value not stored anywhere! Jon Ringle
2003-11-14 6:06 ` Daniel Jacobowitz
2003-11-14 9:39 ` Jon Ringle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox