This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb 5.3 bug


Hi All!
I have executable "client" complied  by gcc 3.2 (with gnu as and gnu ld)
I use gdb 5.3 for debugging and get it's crash for very simple case:

lev at dog comm_test$ gdb bin/i386-sun-solaris/debug/client
GNU gdb 5.3
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 "i386-pc-solaris2.8"...
(gdb) l
Segmentation Fault (core dumped)
lev at dog comm_test$

Then I started to debug gdb:

lev at dog comm_test$ gdb /usr/local/bin/gdb
GNU gdb 5.3
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 "i386-pc-solaris2.8"...
(gdb) r bin/i386-sun-solaris/debug/client
Starting program: /export/home/local/bin/gdb bin/i386-sun-solaris/debug/client
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
GNU gdb 5.3
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 "i386-pc-solaris2.8"...
(gdb) l

Program received signal SIGSEGV, Segmentation fault.
0x08136671 in finish_block (symbol=0x6e5f5f3a, listhead=0x82241f4, old_blocks=0x3a787863, start=1634562671, 
    end=1634562720, objfile=0x8263fe0) at buildsym.c:304
304           struct type *ftype = SYMBOL_TYPE (symbol);
(gdb) 


Any clue what might be the reason of gdb crash?
Thank you!
(gdb 5.2 has been crashed also)
----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]