Date: Tue, 12 Jan 2021 07:05:27 +0000 From: bugzilla-noreply@freebsd.org To: threads@FreeBSD.org Subject: [Bug 252579] fork() causes process to hang in rare circumstances. Message-ID: <bug-252579-13406-hjPJUFdHop@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252579-13406@https.bugs.freebsd.org/bugzilla/> References: <bug-252579-13406@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252579 --- Comment #2 from shamaz.mazum@gmail.com --- 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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252579-13406-hjPJUFdHop>
