[Bug 4586] New: malloc_trim() not thread_safe
bugzilla at busybox.net
bugzilla at busybox.net
Wed Dec 7 21:24:16 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=4586
Summary: malloc_trim() not thread_safe
Product: uClibc
Version: 0.9.32.1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Threads
AssignedTo: unassigned at uclibc.org
ReportedBy: rwahl at gmx.de
CC: uclibc-cvs at uclibc.org, ronald.wahl at raritan.com
Estimated Hours: 0.0
Created attachment 3854
--> https://bugs.busybox.net/attachment.cgi?id=3854
Patch to make malloc_trim() thread-safe.
I just got an abort in a multi-threaded application. The back-trace showed that
it happened inside malloc_trim(). I checked the function and found that it
misses the __MALLOC_LOCK and __MALLOC_UNLOCK calls. A proposed fix is attached
to this bug report.
--
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