Operating System - HP-UX
1748249 Members
3520 Online
108760 Solutions
New Discussion юеВ

Re: Generation of core in binary directory,Program terminated with signal 6

 
Sandeep Hiredesai
New Member

Generation of core in binary directory,Program terminated with signal 6

Hi all,

rareconcilator.exe is generating the core in binary directory.But by Log & trace this process(rareconcilator) is exiting successfully.No errors in Log or trace.

Please fnd the gdb trace of core file.

HP gdb 5.9 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.9 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `rareconcilator.exe'.
Program terminated with signal 6, Aborted.


warning: Load module /erm/app/oracle/product/11.1.0/db_1/lib/libnnz11.so has been stripped.
Debugging information is not available.

#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1
(gdb) bt
#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1
#1 0xc0000000001c62f0:0 in __sleep_1x1+0x290 ()
from /usr/lib/hpux64/libpthread.so.1
#2 0xc0000000001c2230:0 in __mxn_sleep+0x1ff0 ()
from /usr/lib/hpux64/libpthread.so.1
#3 0xc0000000000fa250:0 in + 0x1210 ()
from /usr/lib/hpux64/libpthread.so.1
#4 0xc0000000000f73d0:0 in pthread_cond_wait+0xd0 ()
from /usr/lib/hpux64/libpthread.so.1
warning:
ERROR: Use the "objectdir" command to specify the search
path for objectfile posix.o.
If NOT specified will behave as a non -g compiled binary.

#5 0xc000000004ae1580:0 in omni_condition::wait()+0x80 ()
from /erm/app/RaRoot/shlib/libomnithread.sl.2
warning:
ERROR: Use the "objectdir" command to specify the search
path for objectfile strand.o.
If NOT specified will behave as a non -g compiled binary.

#6 0xc00000000bf63790:0 in omniORB_Ripper::run_undetached(void*)+0x240 ()
from /erm/app/RaRoot/shlib/libomniORB2.sl.8
#7 0xc000000004ae36c0:0 in omni_thread_wrapper+0x350 ()
from /erm/app/RaRoot/shlib/libomnithread.sl.2
#8 0xc0000000001132c0:0 in __pthread_bound_body+0x190 ()
from /usr/lib/hpux64/libpthread.so.1
(gdb)

By this gdb trace im not getting any hint,why its generating the core.
Please help.
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: Generation of core in binary directory,Program terminated with signal 6

>HP gdb 5.9 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.

Try downloading a newer version of wdb.

>Program terminated with signal 6, Aborted.
>By this gdb trace I'm not getting any hint why it's generating the core.

You may have to search each thread for the one with the signal:
thread apply all bt
Sandeep Hiredesai
New Member

Re: Generation of core in binary directory,Program terminated with signal 6

Hi dennis,
Thanks for replying,

We can not upgrade to newer version on gdb as its customer production machine.

However, we got the stacks of all threads as below.

$ gdb /erm/app/RaRoot/bin/rareconcilator.exe -c core

HP gdb 5.9 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.

Copyright 1986 - 2001 Free Software Foundation, Inc.

Hewlett-Packard Wildebeest 5.9 (based on GDB) is covered by the

GNU General Public License. Type "show copying" to see the conditions to

change it and/or distribute copies. Type "show warranty" for warranty/support.

..

Core was generated by `rareconcilator.exe'.

Program terminated with signal 6, Aborted.





warning: Load module /erm/app/oracle/product/11.1.0/db_1/lib/libnnz11.so has been stripped.

Debugging information is not available.



#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1

(gdb) bt

#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1

#1 0xc0000000001c62f0:0 in __sleep_1x1+0x290 ()

from /usr/lib/hpux64/libpthread.so.1

#2 0xc0000000001c2230:0 in __mxn_sleep+0x1ff0 ()

from /usr/lib/hpux64/libpthread.so.1

#3 0xc0000000000fa250:0 in + 0x1210 ()

from /usr/lib/hpux64/libpthread.so.1

#4 0xc0000000000f73d0:0 in pthread_cond_wait+0xd0 ()

from /usr/lib/hpux64/libpthread.so.1

warning:

ERROR: Use the "objectdir" command to specify the search

path for objectfile posix.o.

If NOT specified will behave as a non -g compiled binary.



#5 0xc000000004b9d580:0 in omni_condition::wait()+0x80 ()

from /erm/app/RaRoot/shlib/libomnithread.sl.2

warning:

ERROR: Use the "objectdir" command to specify the search

path for objectfile strand.o.

If NOT specified will behave as a non -g compiled binary.



#6 0xc00000000bf63790:0 in omniORB_Ripper::run_undetached(void*)+0x240 ()

from /erm/app/RaRoot/shlib/libomniORB2.sl.8

#7 0xc000000004b9f6c0:0 in omni_thread_wrapper+0x350 ()

from /erm/app/RaRoot/shlib/libomnithread.sl.2

#8 0xc0000000001132c0:0 in __pthread_bound_body+0x190 ()

from /usr/lib/hpux64/libpthread.so.1

(gdb) info threads

3 system thread 3100499 0xc00000000042e910:0 in __ksleep+0x30 ()

from /usr/lib/hpux64/libc.so.1

* 2 system thread 3100498 0xc00000000042e910:0 in __ksleep+0x30 ()

from /usr/lib/hpux64/libc.so.1

1 system thread 3100463 0xc0000000000635e0:0 in TE_traverse_post_right

+0 () from /usr/lib/hpux64/dld.so

(gdb) thread 3

[Switching to thread 3 (system thread 3100499)]

#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1

(gdb) bt

#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1

#1 0xc0000000001c62f0:0 in __sleep_1x1+0x290 ()

from /usr/lib/hpux64/libpthread.so.1

#2 0xc0000000001c2230:0 in __mxn_sleep+0x1ff0 ()

from /usr/lib/hpux64/libpthread.so.1

#3 0xc0000000000fa250:0 in + 0x1210 ()

from /usr/lib/hpux64/libpthread.so.1

#4 0xc0000000000fd110:0 in pthread_cond_timedwait+0x150 ()

from /usr/lib/hpux64/libpthread.so.1

#5 0xc000000004b9d7e0:0 in omni_condition::timedwait(unsigned long,unsigned long)+0x100 () from /erm/app/RaRoot/shlib/libomnithread.sl.2

warning:

ERROR: Use the "objectdir" command to specify the search

path for objectfile scavenger.o.

If NOT specified will behave as a non -g compiled binary.



#6 0xc00000000bf666b0:0 in omniORB_Scavenger::run_undetached(void*)+0x320 ()

from /erm/app/RaRoot/shlib/libomniORB2.sl.8

#7 0xc000000004b9f6c0:0 in omni_thread_wrapper+0x350 ()

from /erm/app/RaRoot/shlib/libomnithread.sl.2

#8 0xc0000000001132c0:0 in __pthread_bound_body+0x190 ()

from /usr/lib/hpux64/libpthread.so.1

(gdb) thread 2

[Switching to thread 2 (system thread 3100498)]

#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1

(gdb) bt

#0 0xc00000000042e910:0 in __ksleep+0x30 () from /usr/lib/hpux64/libc.so.1

#1 0xc0000000001c62f0:0 in __sleep_1x1+0x290 ()

from /usr/lib/hpux64/libpthread.so.1

#2 0xc0000000001c2230:0 in __mxn_sleep+0x1ff0 ()

from /usr/lib/hpux64/libpthread.so.1

#3 0xc0000000000fa250:0 in + 0x1210 ()

from /usr/lib/hpux64/libpthread.so.1

#4 0xc0000000000f73d0:0 in pthread_cond_wait+0xd0 ()

from /usr/lib/hpux64/libpthread.so.1

#5 0xc000000004b9d580:0 in omni_condition::wait()+0x80 ()

from /erm/app/RaRoot/shlib/libomnithread.sl.2

#6 0xc00000000bf63790:0 in omniORB_Ripper::run_undetached(void*)+0x240 ()

from /erm/app/RaRoot/shlib/libomniORB2.sl.8

#7 0xc000000004b9f6c0:0 in omni_thread_wrapper+0x350 ()

from /erm/app/RaRoot/shlib/libomnithread.sl.2

#8 0xc0000000001132c0:0 in __pthread_bound_body+0x190 ()

from /usr/lib/hpux64/libpthread.so.1

(gdb) thread 1

[Switching to thread 1 (system thread 3100463)]

#0 0xc0000000000635e0:0 in TE_traverse_post_right+0 ()

from /usr/lib/hpux64/dld.so

(gdb) bt

#0 0xc0000000000635e0:0 in TE_traverse_post_right+0 ()

from /usr/lib/hpux64/dld.so

#1 0xc0000000000653c0:0 in TE_do_list+0x1f0 () from /usr/lib/hpux64/dld.so

#2 0xc000000000069fb0:0 in TE_do_program_exit+0x310 ()

from /usr/lib/hpux64/dld.so

#3 0xc000000000365d90:0 in __exit_handler+0x130 ()

from /usr/lib/hpux64/libc.so.1

(gdb)

Dennis Handly
Acclaimed Contributor

Re: Generation of core in binary directory,Program terminated with signal 6

>We can not upgrade to newer version on gdb as it's customer production machine.

Why? gdb is a development/triage tool, not a production tool.

>* 2 system thread 3100498 0xc00000000042e910:0 in __ksleep+0x30

Typically this is the one with the signal.

>1 system thread 3100463 0xc0000000000635e0:0 in TE_traverse_post_right +0 /usr/lib/hpux64/dld.so
#3 0xc000000000365d90:0 in __exit_handler+0x130

It looks like this process is exiting.