|
Home > Archive > Unix Programming > December 2006 > Solaris Core --Signal 9 --not able to find anything useful
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Solaris Core --Signal 9 --not able to find anything useful
|
|
| raxitsheth2000@yahoo.co.in 2006-12-18, 7:22 am |
| 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
| |
| Michel Bardiaux 2006-12-20, 1:18 pm |
| On 18 Dec 2006 03:21:57 -0800, raxitsheth2000@yahoo.co.in wrote:
>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 ?
Which wont help if you use a stripped program.
>I think i faced signal 9 -core file first time. ? Is it ok to have core
>with Signal 9 ?
Yes.
>
>( i am very much sure none has used kill -9 prog_name)
"Nobody", maybe, but when the OS runs out of virtual memory (ie, page
file is full), it will pick user processes to kill. There may be
traces of that in the system logfiles.
| |
| raxitsheth2000@yahoo.co.in 2006-12-21, 7:31 am |
|
Michel Bardiaux wrote:
> On 18 Dec 2006 03:21:57 -0800, raxitsheth2000@yahoo.co.in wrote:
>
>
> Which wont help if you use a stripped program.
My Binaries are not-stripped,
also most of all 3rd party library are not-stripped (or i am able to
recompile and built again) (Except System libs, like libc,glibc etc...)
>
>
> Yes.
>
>
> "Nobody", maybe, but when the OS runs out of virtual memory (ie, page
> file is full), it will pick user processes to kill. There may be
> traces of that in the system logfiles.
| |
| raxitsheth2000@yahoo.co.in 2006-12-27, 7:29 am |
| i am able to disassemble, but as i m not expert in this it is helpless
for me.
also i am able to view number of threads (in core files using gdb and
some information ) but not sure this information is consistent ?
any idea on this ?
--raxit
Michel Bardiaux wrote:
> On 18 Dec 2006 03:21:57 -0800, raxitsheth2000@yahoo.co.in wrote:
>
>
> Which wont help if you use a stripped program.
>
>
> Yes.
>
>
> "Nobody", maybe, but when the OS runs out of virtual memory (ie, page
> file is full), it will pick user processes to kill. There may be
> traces of that in the system logfiles.
|
|
|
|
|