Bug 4661

Summary: GDB dumps core with RedHat 6.0
Product: [Retired] Red Hat Linux Reporter: mdj
Component: gdbAssignee: Preston Brown <pbrown>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-23 14:12:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mdj 1999-08-23 06:19:52 UTC
The following output was generated using "gdb gdb -c core"
after a crash of "gdb touchware" where "touchware" is a
program I compiled with the egcs compiler on RH6.0.  The
bug is repeatable on every machine I have RH6.0 installed
on, all i386 machines, 2 pentiums, 1 486.

GNU gdb 4.17.0.11 with Linux support
Copyright 1998 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 "i386-redhat-linux"...(no
debugging symbols found)...
Core was generated by `gdb touchware'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libreadline.so.3...(no
debugging symbols found)...
done.
Reading symbols from /lib/libtermcap.so.2...(no debugging
symbols found)...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x80e50bf in savestring ()
(gdb) bt
#0  0x80e50bf in savestring ()
#1  0x80e503e in savestring ()
#2  0x80e542a in savestring ()
#3  0x80e2215 in savestring ()
#4  0x80e1c49 in savestring ()
#5  0x80e1b91 in savestring ()
#6  0x808b58c in strcpy ()
#7  0x808f050 in strcpy ()
#8  0x8091cba in strcpy ()
#9  0x8065eb8 in strcpy ()
#10 0x8066051 in strcpy ()
#11 0x8074d54 in strcpy ()
#12 0x80b69d4 in strcpy ()
#13 0x8074f73 in strcpy ()
#14 0x806b843 in strcpy ()
#15 0x806ad64 in strcpy ()
#16 0x807576c in strcpy ()
#17 0x80789b8 in strcpy ()
#18 0x807f571 in strcpy ()
#19 0x80699a3 in strcpy ()
#20 0x80b74d0 in strcpy ()
#21 0x80b7644 in strcpy ()
#22 0x80bd02a in savestring ()
#23 0x40073cb3 in __libc_start_main (main=0x80bc430
<savestring+7484>, argc=2,
    argv=0xbffffcb4, init=0x8049f58 <_init>, fini=0x80e727c
<_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffcac)
    at ../sysdeps/generic/libc-start.c:78

Comment 1 Preston Brown 1999-08-23 14:11:59 UTC
fixed by gdb-4.18, available now in RawHide (and eventually our next
release).