Messages in this thread | | | Date | Thu, 03 Jul 2014 18:29:16 +0530 | From | "Suzuki K. Poulose" <> | Subject | Re: [PATCH 00/33] [RFC] Non disruptive application core dump infrastructure |
| |
On 03/24/2014 07:24 PM, Phillip Susi wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/24/2014 5:43 AM, Janani Venkataraman wrote: >> Gcore attaches to the process using gdb and runs the gdb gcore >> command and then detaches. In gcore the dump cannot be issued from >> a signal handler context as fork() is not signal safe and moreover >> it is disruptive in > > You can fork+exec from a signal handler just fine. Please go through the bug, and especially the comment below :
https://sourceware.org/bugzilla/show_bug.cgi?id=4737#c12
Cheers Suzuki
| |