Article View: gnu.gdb.bug
Article #8864GDB core dumped
From: Thomas A Peterson
Date: Wed, 08 Jul 1992 19:28
Date: Wed, 08 Jul 1992 19:28
64 lines
3070 bytes
3070 bytes
Rational for bug report:
* If the debugger gets a fatal signal, for any input whatever, that
is a GDB bug. Reliable debuggers never crash.
Version: 4.5
Machine: Sparc ipc OS 4.1.1
Compiler: gcc-1.40?
Program: framemaker 3.0X (no symbols)
Description: gdb core dumped when trying to do a backtrace on a core
file that has no symbols.
Session:
I started gdb with framemaker as the input executable.
I did a 'core core' to bring in the core file.
I finally tried to get the backtrace information.
socrates: gdb /usr/local/framemaker/3.0x/bin/bin.sun4/maker3X.exe
GDB is free software and you are welcome to 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.
GDB 4.5, Copyright 1992 Free Software Foundation, Inc...
/usr/local/framemaker/3.0x/bin/bin.sun4/maker3X.exe has no symbol-table
(gdb) core ~/projects/STARS/papers/core
Warning: core file may not match specified executable file.
Core was generated by `maker3X.exe'.
Program terminated with signal 6, Abort.
#0 0x2ba3e8 in ?? ()
(gdb) bt
#0 0x2ba3e8 in ?? ()
Segmentation fault (core dumped)
socrates:
Here is the backtrace information about the gdb core file.
socrates: which gdb
/usr/local/gnu/bin/gdb
socrates: gdb /usr/local/gnu/bin/gdb
GDB is free software and you are welcome to 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.
GDB 4.5, Copyright 1992 Free Software Foundation, Inc...
(gdb) core ~/projects/STARS/papers/core
Warning: core file may not match specified executable file.
Core was generated by `gdb'.
Program terminated with signal 11, Segmentation fault.
Cannot access memory at address 0x0.
#0 0x6528 in inside_entry_file (addr=1666508) at blockframe.c:43
43 addr < symfile_objfile -> ei.entry_file_highpc);
(gdb) bt
#0 0x6528 in inside_entry_file (addr=1666508) at blockframe.c:43
#1 0x6c40 in get_prev_frame_info (next_frame=0x136010) at blockframe.c:301
#2 0x68e4 in get_prev_frame (frame=0x136010) at blockframe.c:137
#3 0xe680 in backtrace_command (count_exp=0x0, from_tty=1) at stack.c:632
#4 0x3620 in execute_command (p=0x13400a "", from_tty=1) at main.c:882
#5 0x38c4 in command_loop () at main.c:943
#6 0x33c4 in main (argc=2, argv=0xf7fff9b4) at main.c:820
(gdb)
Technical Details
Message-ID:
<9207081928.AA04164@socrates.src.honeywell.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!src.honeywell.com!tapShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,23558a0a9fb1db5e,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1992-07-08 05:46:30 PST Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!src.honeywell.com!tap From: tap@src.honeywell.com (Thomas A Peterson) Subject: GDB core dumped Message-ID: <9207081928.AA04164@socrates.src.honeywell.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 8 Jul 1992 19:28:02 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 65