another gdb segv
Tom Tromey
tromey@cygnus.com
Thu Jul 27 16:15:00 GMT 2000
I'm still using RH x86 Linux 6.2 with yesterday's gdb and today's gcj.
I've appended another stack trace from another gdb segv.
It would be difficult, at best, to explain how I got this.
The proximate cause was that I did this:
(gdb) p this
$1 = Hello@807f070
(gdb) p *$
Tom
(gdb) bt
#0 0x808abdb in search_struct_field (
name=0x84d16c0 "javax.servlet.GenericServlet", arg1=0x8c9f498, offset=0,
type=0x83273f0, looking_for_baseclass=1) at ../../src/gdb/valops.c:2081
#1 0x808aeed in search_struct_field (
name=0x84d16c0 "javax.servlet.GenericServlet", arg1=0x8c9f498, offset=0,
type=0x8d17c30, looking_for_baseclass=1) at ../../src/gdb/valops.c:2201
#2 0x8089231 in value_cast (type=0x8d17d08, arg2=0x8c94e88)
at ../../src/gdb/valops.c:340
#3 0x80cfb02 in evaluate_subexp_java (expect_type=0x0, exp=0x8bd3320,
pos=0xbffff2ac, noside=EVAL_NORMAL) at ../../src/gdb/jv-lang.c:898
#4 0x8085297 in evaluate_subexp (expect_type=0x0, exp=0x8bd3320,
pos=0xbffff2ac, noside=EVAL_NORMAL) at ../../src/gdb/eval.c:74
#5 0x80853c1 in evaluate_expression (exp=0x8bd3320)
at ../../src/gdb/eval.c:153
#6 0x8091abb in print_command_1 (exp=0x8320c9a "*$", inspect=0, voidprint=1)
at ../../src/gdb/printcmd.c:945
#7 0x8091c1b in print_command (exp=0x8320c9a "*$", from_tty=1)
at ../../src/gdb/printcmd.c:1010
#8 0x80d9e03 in execute_command (p=0x8320c9b "$", from_tty=1)
at ../../src/gdb/top.c:1547
#9 0x80a8fd8 in command_handler (command=0x8320c98 "p *$")
at ../../src/gdb/event-top.c:515
#10 0x80a95f2 in command_line_handler (rl=0x875c648 "à\rs\bøÃÂ\203\b\020")
at ../../src/gdb/event-top.c:817
#11 0x8166c04 in rl_callback_read_char () at ../../src/readline/callback.c:114
#12 0x80a89e8 in rl_callback_read_char_wrapper (client_data=0x0)
at ../../src/gdb/event-top.c:166
#13 0x80a8ecd in stdin_event_handler (error=0, client_data=0x0)
at ../../src/gdb/event-top.c:422
#14 0x80f02b3 in handle_file_event (event_file_desc=0)
at ../../src/gdb/event-loop.c:748
#15 0x80efdd9 in process_event () at ../../src/gdb/event-loop.c:383
#16 0x80efe15 in gdb_do_one_event (data=0x0) at ../../src/gdb/event-loop.c:420
#17 0x80d91a3 in catch_errors (func=0x80efdec <gdb_do_one_event>, args=0x0,
errstring=0x827a700 "", mask=6) at ../../src/gdb/top.c:611
#18 0x80efe33 in start_event_loop () at ../../src/gdb/event-loop.c:444
#19 0x80a8ab5 in cli_command_loop () at ../../src/gdb/event-top.c:196
#20 0x8081205 in captured_command_loop (data=0x0) at ../../src/gdb/main.c:104
#21 0x80d91a3 in catch_errors (func=0x80811f0 <captured_command_loop>,
args=0x0, errstring=0x824ccc2 "", mask=6) at ../../src/gdb/top.c:611
#22 0x8081c67 in captured_main (data=0xbffff7b0) at ../../src/gdb/main.c:749
#23 0x80d91a3 in catch_errors (func=0x8081234 <captured_main>,
args=0xbffff7b0, errstring=0x824ccc2 "", mask=6) at ../../src/gdb/top.c:611
#24 0x8081c93 in main (argc=3, argv=0xbffff804) at ../../src/gdb/main.c:761
#25 0x4013c9cb in __libc_start_main (main=0x8081c6c <main>, argc=3,
argv=0xbffff804, init=0x807fa84 <_init>, fini=0x824cb7c <_fini>,
rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff7fc)
at ../sysdeps/generic/libc-start.c:92
(gdb)
More information about the Gdb
mailing list