Solaris Core --Signal 9 --not able to find anything useful
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Solaris Core --Signal 9 --not able to find anything useful




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Solaris Core --Signal 9 --not able to find anything useful  
raxitsheth2000@yahoo.co.in


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Solaris Core --Signal 9 --not able to find anything useful  
Michel Bardiaux


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-20-06 06: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.






[ Post a follow-up to this message ]



    Re: Solaris Core --Signal 9 --not able to find anything useful  
raxitsheth2000@yahoo.co.in


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-06 12:31 PM


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.






[ Post a follow-up to this message ]



    Re: Solaris Core --Signal 9 --not able to find anything useful  
raxitsheth2000@yahoo.co.in


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-27-06 12:29 PM

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.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:58 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register