NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/42158: qemu: pthread + fork = hang
>Number: 42158
>Category: bin
>Synopsis: qemu: pthread + fork = hang
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 06 18:15:00 +0000 2009
>Originator: Antti Kantee
>Release: 5.99.19
>Organization:
>Environment:
>Description:
A program which executes fork() and is linked against libpthread
hangs in when run in qemu. This does not happen on normal hardware.
It is unclear if this is a libpthread bug, kernel bug or qemu bug
(please reclassify if it becomes apparent).
>How-To-Repeat:
#include <unistd.h>
int
main()
{
fork();
}
cc test.c -lpthread
./a.out
>Fix:
Home |
Main Index |
Thread Index |
Old Index