Summary: | fork in a signal handler after a malloc | ||
---|---|---|---|
Product: | glibc | Reporter: | Steve Beaty <beatys> |
Component: | libc | Assignee: | GOTO Masanori <gotom> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glibc-bugs |
Priority: | P2 | ||
Version: | 2.3.4 | ||
Target Milestone: | --- | ||
Host: | i686-pc-linux-gnu | Target: | |
Build: | Last reconfirmed: |
Description
Steve Beaty
2005-04-10 17:43:26 UTC
The problem is that the signal from the child arrives before the parent has time to finish the atfork work. This causes a deadlock. I added some code to the mainline version to prevent this. |