12-18-06 12:22 PM
Hi,
i tried google but not able to get anything useful
i m debugging network/multithreaded program, but not able to get
anything from core file, because of singal 9.
Program terminated with signal 9, Killed.
any way to debug this ?
followings are some detail about gdb output , gdb version and OS
version ?
I think i faced signal 9 -core file first time. ? Is it ok to have core
with Signal 9 ?
( i am very much sure none has used kill -9 prog_name)
--Raxit
$ gdb ./mybin /tmp/raxit/core/core
GNU gdb 4.17
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 "sparc-sun-solaris2.6"...(no debugging
symbols found)...
Core was generated by `./mybin'.
Program terminated with signal 9, Killed.
#0 0x72ef4 in my_func ()
(gdb) bt
#0 0x72ef4 in my_func ()
Cannot access memory at address 0xfe7f541c.
(gdb) info locals
No symbol table info available.
(gdb)q
$gdb -v
GNU gdb 4.17
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 "sparc-sun-solaris2.6"...(no debugging
symbols found)...
$uname -a
SunOS [myhostname] 5.8 Generic_117350-12 sun4u sparc SUNW,Sun-Fire-880
--thnx
Raxit
[ Post a follow-up to this message ]
|