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: Solaris Core --Signal 9 --not able to find anything useful - comp ...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, be... Fishing information from Core file - comp.unix.programmer ...Solaris Core --Signal 9 --not able to find anything useful - comp ... Hi, i tried google but not able to get anything useful i m debugging network/multithreaded program ... Controlling CPU utilization of a process - comp.unix.solaris ...... below 40%, i send a SIGSTOP signal to ... that is more effective and is not ad-hoc ? I am using solaris 9. ... that. pbind is available in solaris 9. And it was able to ... Unable to create semaphore No space left on device - comp.unix ...I am running solaris 9 and the output of rctladm is ... off [ lowerable deny ] process.max-core ... no-local-action ] Frankly speaking, I am not able to figure out anything ... C++ wrapper for async socket calls. - comp.unix.programmer ...Also, this meant being able to use a uniform ... multiplexing on its own (I refuse to use select for anything ... to call 'Wait'? ... functions that are not async signal ... dlopen and SIGSEGV - comp.unix.programmer... of the library send a SIGSEGV signal ... decided to catch the event to be able ... The end result will be a core dump either way. > I didn't really want catch anything. Which CPU or core to disable? - comp.unix.solarisSolaris Core --Signal 9 --not able to find anything useful - comp ... Which CPU or core to disable? - comp.unix.solaris... can disable cores/processors for solaris x86, it ... Cannot step inside shared object in Solaris 10 - comp.unix ...... in dbx: t@1 (l@1) signal ... the segfault has anything to do with not being able ... 10 - comp.unix.solaris Is there any gdb version available for Solaris 10? I could not find ... Getting info on hung process - comp.unix.aixI did not see anything in the ... to send a signal which default handler will create a core... but if the process catches then :-( Better use the ... comp.unix.solaris ... starting oracle with solaris project - comp.unix.solaris ...... it sounds like you are suppose to be able to ... FCS), and ... want ... question: Solaris 9 x86 CDE not ... analyze core files - comp.unix.solaris gdb and core analysis ... Solaris Core --Signal 9 --not able to find anything useful - comp ...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, be... Unix & Linux: Solaris fork() to generate core file - programming ...Solaris equivelent of inotify? Solaris Core Signal 9 not able to find anything useful; Solaris 8 network programming problem; Solaris 5.8 - need way to collect source host ... 7/22/2012 9:15:37 AM
|