[Bug 2341] Forked new process with locked malloc mutex

bugzilla at busybox.net bugzilla at busybox.net
Fri Dec 3 20:46:39 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=2341

--- Comment #1 from Robin Haberkorn <rh at travelping.com>  ---
Created attachment 2761
  --> https://bugs.busybox.net/attachment.cgi?id=2761
test case to reproduce the deadlock behaviour using setenv()

the same after-fork-deadlocking happens with setenv() as well.

once, because setenv() calls malloc() (so calling setenv() in the child process
with concurrent malloc()s in the parent process at the time of forking can
result in hangs) but also with the malloc() patch applied, setenv()s own mutex
can cause deadlocks.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list