Article View: gnu.gdb.bug
Article #442core dumps in gdb 4.6 on SCO Sys V
From: gert
Date: Tue, 15 Sep 1992 16:17
Date: Tue, 15 Sep 1992 16:17
58 lines
3414 bytes
3414 bytes
Hi,
I just compiled GDB 4.6 on a SCO Unix V, Rel. 3.2.1 machine. When debugging
a "hello world" program, everything works fine, but when (heavy testing) I
try to debug gdb with itself, it crashes:
(gdb/gdb is the 4.6 version, to produce stack trace, gdb 4.4 is used)
(configuration is "i386sco", -DFASCIST_FDOPEN)
------ $ gdb44 gdb/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.4, Copyright 1991 Free Software Foundation, Inc...
(gdb) run
Starting program: /u/softadm/gdb-4.6/gdb/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.6, Copyright 1992 Free Software Foundation, Inc.
(gdb) file gdb/gdb
Reading symbols from gdb/gdb...
Program received signal 10, Bus error
mrealloc_check (md=0x0, ptr=0x531008, size=5120) at mmcheck.c:131
mmcheck.c:131: No such file or directory.
(gdb) where
#0 mrealloc_check (md=0x0, ptr=0x531008, size=5120) at mmcheck.c:131
#1 0x8f1e2 in mrealloc (md=0x0, ptr=0x531008, size=5120) at mrealloc.c:57
#2 0x291f5 in xmrealloc (md=0x424d08, ptr=0x10d, size=5120) at utils.c:568
#3 0x29238 in xrealloc (ptr=0x531008, size=5120) at utils.c:598
#4 0x47b9d in coff_lookup_type (index=642) at coffread.c:324
#5 0x47be8 in coff_alloc_type (index=642) at coffread.c:341
#6 0x49b0c in coff_read_struct_type (index=642, length=4, lastsym=648)
at coffread.c:1995
#7 0x49a8c in decode_base_type (cs=0x424d08, c_type=9, aux=0x0)
at coffread.c:1929
#8 0x498e3 in decode_type (cs=0x7ffffd04, c_type=9, aux=0x41ed0c)
at coffread.c:1826
#9 0x4947f in process_coff_symbol (cs=0x7ffffd04, aux=0x41ed0c,
objfile=0x43ef08) at coffread.c:1614
#10 0x48cba in read_coff_symtab (symtab_offset=998606, nsyms=153166,
objfile=0x43ef08) at coffread.c:1167
#11 0x483a9 in coff_symfile_read (objfile=0x43ef08, section_offsets=0x409fd8,
mainline=1) at coffread.c:832
#12 0x1f937 in syms_from_objfile (objfile=0x43ef08, addr=0, mainline=1,
verbo=1) at symfile.c:450
#13 0x1fb56 in symbol_file_add (name=0x42c308 "gdb/gdb", from_tty=1, addr=0,
mainline=1, mapped=0, readnow=0) at symfile.c:581
#14 0x1fdb5 in symbol_file_command (args=0x42b14c "", from_tty=1)
at symfile.c:681
#15 0x31a04 in file_command (arg=0x42900d "gdb/gdb", from_tty=1) at exec.c:198
#16 0x1513 in execute_command (p=0x42900d "gdb/gdb", from_tty=1) at main.c:915
#17 0x1674 in command_loop () at main.c:976
#18 0x1384 in main (argc=1, argv=0x7ffffef8) at main.c:853
(gdb) quit
The program is running. Quit anyway? (y or n)
----------------------
thanx,
gert doering
Technical Details
Message-ID:
<m0mUdiL-0001aaC@greenie.ucrc.sub.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!greenie.ucrc.SUb.ORG!gertShow Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!greenie.ucrc.SUb.ORG!gert From: gert@greenie.ucrc.SUb.ORG Subject: core dumps in gdb 4.6 on SCO Sys V Message-ID: <m0mUdiL-0001aaC@greenie.ucrc.sub.org> Sender: gnulists@ai.mit.edu Reply-To: gert.doering@physik.tu-muenchen.de, gert.doering@ap.mchp.sni.de Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 15 Sep 1992 16:17:12 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 59