[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where's my core file ?




linux has problems with supporting core files for multi-threaded
application - it doesn't realy work. i was surprised to find this out
myself - but this seems to be the case (surely with kernel 2.2, and i'm
almost sure its still so with kernel 2.4). on other systems, yu'll get a
single core file (why several? all threads share their memory - only
different stacks).

the way around this? always have a debugger attached to your program, when
you expect it to crash (i.e. test it). if you want to debug copies of the
program not under a debugger - have your code generate very extensive
logging information.

--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il