How to dump core on crash?
Martin Pauly
pauly at hrz.uni-marburg.de
Mon Oct 17 19:13:19 CEST 2005
On Tuesday 11 October 2005 23:28, Martin Pauly wrote:
> o.k., I have unset the above and simply done everything by hand
> so I was able to produce a core file this time. I also could get
sorry for the long delays, I was on vacation last week.
I got a real core dump now, but the gdb output doesn't look
very interesting. I suppose I am using a stripped binary;
the only thing I changed in debian/rules was to add
'--disable-shared'. So I'm afraid this might deprive the
debugger of some important information.
===================== GDB output ==============================
rsf2:/# gdb --core core.real-crash
GNU gdb 6.3-debian
Copyright 2004 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-linux".
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/sbin/freeradius'.
Program terminated with signal 11, Segmentation fault.
#0 0x4023df3e in ?? ()
#1 0x00000004 in ?? ()
#2 0x00000000 in ?? ()
#3 0x40420301 in ?? ()
#4 0x081515e0 in ?? ()
...
[omitting 2000 lines of this kind]
...
#2300 0x00000000 in ?? ()
#2301 0x00000000 in ?? ()
#2302 0x00000000 in ?? ()
Error accessing memory address 0xbf400000: No such file or directory.
Quit
(gdb)
Cheers, Martin
--
Dr. Martin Pauly Fax: 49-6421-28-26994
HRZ Univ. Marburg Phone: 49-6421-28-23527
Hans-Meerwein-Str. E-Mail: pauly at HRZ.Uni-Marburg.DE
D-35032 Marburg
More information about the Freeradius-Users
mailing list