Solaris Core --Signal 9 --not able to find anything useful

  • Follow


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

0
Reply raxitsheth2000 (156) 12/18/2006 11:21:57 AM

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.

0
Reply mbardiaux2 (20) 12/20/2006 2:35:48 PM


Michel Bardiaux wrote:
> 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.

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...)


>
> >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.

0
Reply raxitsheth2000 (156) 12/21/2006 9:34:10 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:
>
> >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.

0
Reply raxitsheth2000 (156) 12/27/2006 9:39:18 AM

3 Replies
237 Views

(page loaded in 0.119 seconds)

Similiar Articles:













7/22/2012 9:15:37 AM


Reply: