This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[patchv2] Fix false FAILs on testsuite with ulimit -c unlimited.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 18 Jan 2014 21:01:57 +0100
- Subject: [patchv2] Fix false FAILs on testsuite with ulimit -c unlimited.
On Wed, 15 Jan 2014 18:20:49 +0100, Mark Wielaard wrote:
> I admit it wasn't immediately obvious to me why we were letting the
> child dump core in this case.
BTW it is a regression since
70c3a53baa06b6cdee6e92bd673c1cf977066bc1
tests: Don't use ptrace detach stopped trick. Raise can return.
Although previously it was not much correct as it left the SIGSTOPped process
to be reparented to PID 1 which somehow correctly discarded it.
> So please at least add a comment here why we are forcefully killing the
> child. But I think a nicer fix would be to just let the child exit
> normally after raise () returns.
The stack is corrupt at this point but OK, it can be done.
Thanks,
Jan
--- Begin Message ---
[<email.message.Message instance at 0x154a5a8>]
--- End Message ---