Core Dump in /usr/lib/hpux32/libc.so.1

Hi,
I am working on a core dump issue, where the dumps happens in OS library, /usr/lib/hpux32/libc.so.1 and version for my OS is as specified by uname -a is:
"HP-UX B.11.23 U ia64".

Below is the core dump file. Our program terminated with Signal 6.

utwmfd02:/app/wmos/inttst3/logs/cores/PkCycleCountS> export GDB_SHLIB_PATH=/usr/
lib:/usr/lib/hpux32:$PKMS/lib:$PKMS:$PKMS/vbroker:$PKMS/vbroker/lib
utwmfd02:/app/wmos/inttst3/logs/cores/PkCycleCountS> gunzip CORE.0.2008110509530
4.gz
utwmfd02:/app/wmos/inttst3/logs/cores/PkCycleCountS> gdb
HP gdb 5.4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.4.0 (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.

(gdb) set auto-solib-add 4096
(gdb) exec-file /app/wmos/inttst3/programs/PkCycleCountS
(gdb) symbol-file /app/wmos/inttst3/programs/PkCycleCountS
Reading symbols from /app/wmos/inttst3/programs/PkCycleCountS...done.
(gdb) core-file CORE.0.20081105095304
Core was generated by `PkCycleCountS'.
Program terminated with signal 6, Aborted.

warning: Some of the libraries in the core file are different from the libraries
 on this computer.  It might be possible to proceed with your debugging process
successfully.  However, if you run into problems you must use the versions of th
e libraries used by the core.  The mismatches are:

  /usr/lib/hpux32/libm.so.1 in the core file is different from
  /usr/lib/hpux32/libm.so.1 used by gdb

  /usr/lib/hpux32/libpthread.so.1 in the core file is different from
  /usr/lib/hpux32/libpthread.so.1 used by gdb

  /usr/lib/hpux32/libstd_v2.so.1 in the core file is different from
  /usr/lib/hpux32/libstd_v2.so.1 used by gdb

  /usr/lib/hpux32/libCsup.so.1 in the core file is different from
  /usr/lib/hpux32/libCsup.so.1 used by gdb

  /usr/lib/hpux32/libunwind.so.1 in the core file is different from
  /usr/lib/hpux32/libunwind.so.1 used by gdb

  /usr/lib/hpux32/libc.so.1 in the core file is different from
  /usr/lib/hpux32/libc.so.1 used by gdb

  /usr/lib/hpux32/libdl.so.1 in the core file is different from
  /usr/lib/hpux32/libdl.so.1 used by gdb

  /usr/lib/hpux32/libIO77.so.1 in the core file is different from
  /usr/lib/hpux32/libIO77.so.1 used by gdb

  /usr/lib/hpux32/libxti.so.1 in the core file is different from
  /usr/lib/hpux32/libxti.so.1 used by gdb

warning: Load module /app/oracle/v10.2.0/lib32/libclntsh.so.10.1 has been stripp
ed.
Debugging information is not available.

  /app/oracle/v10.2.0/lib32/libclntsh.so.10.1 in the core file is different from
  /app/oracle/v10.2.0/lib32/libclntsh.so.10.1 used by gdb

warning: Load module /app/oracle/v10.2.0/lib32/libnnz10.so has been stripped.
Debugging information is not available.

warning: No unwind information found.
 Skipping this library /usr/lib/hpux32/libcl.so.1.

#0  0x60000000c0361750:0 in _pipe_sys+0xb0 () from /usr/lib/hpux32/libc.so.1
(gdb) thread apply all backtrace

Thread 12 (system thread 3795185):
#0  0x60000000c0361750:0 in _pipe_sys+0xb0 () from /usr/lib/hpux32/libc.so.1

Thread 11 (system thread 5767790):
#0  0x60000000c035f3d0:0 in _sigsetreturn+0x10 ()
   from /usr/lib/hpux32/libc.so.1

Thread 10 (system thread 5359061):
#0  0x60000000c0362790:0 in setsockopt+0x70 () from /usr/lib/hpux32/libc.so.1

Thread 9 (system thread 5143167):
#0  0x60000000c035f3d0:0 in _sigsetreturn+0x10 ()
   from /usr/lib/hpux32/libc.so.1

Thread 8 (system thread 8614741):
#0  0x60000000c0362790:0 in setsockopt+0x70 () from /usr/lib/hpux32/libc.so.1

Thread 7 (system thread 8614740):
#0  0x60000000c035f3d0:0 in _sigsetreturn+0x10 ()
   from /usr/lib/hpux32/libc.so.1

Thread 6 (system thread 8614739):
---Type <return> to continue, or q <return> to quit---
#0  0x60000000c0362790:0 in setsockopt+0x70 () from /usr/lib/hpux32/libc.so.1

Thread 5 (system thread 8614738):
#0  0x60000000c0362790:0 in setsockopt+0x70 () from /usr/lib/hpux32/libc.so.1

Thread 4 (system thread 8614737):
#0  0x60000000c035f3d0:0 in _sigsetreturn+0x10 ()
   from /usr/lib/hpux32/libc.so.1

Thread 3 (system thread 8614736):
#0  0x60000000c0362790:0 in setsockopt+0x70 () from /usr/lib/hpux32/libc.so.1

Thread 2 (system thread 8614735):
#0  0x60000000c035f3d0:0 in _sigsetreturn+0x10 ()
   from /usr/lib/hpux32/libc.so.1

Thread 1 (system thread 8614734):
#0  0x60000000c035f3d0:0 in _sigsetreturn+0x10 ()
   from /usr/lib/hpux32/libc.so.1
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)

Thanks
Vivek