suresh
suresh

Reputation: 4244

Core dump in libc exit call

I am seeing a core dump in solaris at the exit procedure of my program.. How to debug and fix this kind of core dump?

(gdb) where
#0  0xff2cc0c0 in kill () from /usr/lib/libc.so.1
#1  0x0004dac0 in run_before_killed_handler (sig=11) at NdmpServer.cpp:1186
#2  signal handler called
#3  0xfee0ad50 in ?? ()
#4  0x00060a6c in proc_cleanup ()
#5  0xff2421ac in _exithandle () from /usr/lib/libc.so.1
#6  0xff2305d8 in exit () from /usr/lib/libc.so.1
#7  0x0003431c in _start ()

Upvotes: 1

Views: 1286

Answers (2)

wich
wich

Reputation: 17157

Your program apparently uses atexit(3C) to register an exit handler. The problem is occuring in that handler.

Upvotes: 2

MSalters
MSalters

Reputation: 180145

Without knowing the finer details of Solaris memory layouts, 0xfee0ad50 seems to be on the OS side. What OS call are you trying (and failing) to make in proc_cleanup?

Upvotes: 0

Related Questions