Red Hat Bugzilla – Bug 132232
exec when multithreaded fails to preserve pending signals
Last modified: 2007-11-30 17:10:49 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See attached de_thread.c.
2. gcc -o de_thread -g de_thread.c -lpthread
3. ./de_thread ; ./de_thread 1 2 3
First run: "got: Aborted", $? = 0
Second run: No output, $? = 1
Second run same as first
Fix on the way.
Created attachment 103666 [details]
test case de_thread.c
gcc -o de_thread -g de_thread.c -lpthread
See bug #132351 for a fix that covers this problem.
Bug #132351 is fixed upstream now with a workaround, but not the real
fix included in the report. The fix that covers this bug as well is
now in -mm, but not yet confirmed merged upstream.
My patch has gone in upstream, after 2.6.9 and hopefully in 2.6.10 release.
2.6.10 has this fixed.