[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where's my core file ?
- To: Oded Arbel <odeda-linux-il(at-nospam)betalfa.org.il>
- Subject: Re: Where's my core file ?
- From: guy keren <choo(at-nospam)actcom.co.il>
- Date: Tue, 21 Aug 2001 01:45:41 +0300 (EET DST)
- cc: Linux-IL mailing list <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: <008001c129a0$29306c30$de01000a@oded>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
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