[Bug 252579] fork() causes process to hang in rare circumstances.
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252579 --- Comment #2 from [email protected] --- This is a smaller case: just a library linked against pthread which spawns a thread and a main program which loads that library and forks. Instructions are similar: 1) Download newtest.tar.gz 2) Compile the library: cc -shared -fPIC -pthread -o bug-lib.so bug-lib.c 3) Compile the main program: cc -o demo demo.c 4) Run it: env LD_LIBRARY_PATH=. ./demo -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-threads To unsubscribe, send any mail to "[email protected]"