malloc hangs when ltp mallocstress is run repeatedly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Fix Released
|
Undecided
|
Adam Conrad | ||
Precise |
Fix Released
|
Undecided
|
Adam Conrad | ||
Quantal |
Fix Released
|
Undecided
|
Adam Conrad |
Bug Description
[Impact / Justification]
There's a malloc deadlock in glibc, easily reproduced by the mallocstress part of ltp, but otherwise tripped in regular usage here and there. The upstream patch applied in this SRU resolves that.
[Test Case]
Run mallocstress repeatedly before and after upgrade and watch the deadlocks be less deadlocky.
[Regression Potential]
This has been tested quite extensively upstream and in 2.16 in raring, and seems to be a marked improvement with no one reporting any adverse effects, so should be fine.
[Original Report]
- malloc sleeps continously when the mallocstress application which part of ltp package is executed in a loop.
- From gdb backtrace it appears to be for a futex to be released in libc code. This is deadlock in glibc
There are some discussions going on for including this fix in next eglibc release.
emails
http://
http://
http://
http://
http://
discussion in http://
Changed in eglibc (Ubuntu): | |
status: | New → Fix Committed |
Changed in eglibc (Ubuntu Precise): | |
status: | New → In Progress |
description: | updated |
Changed in eglibc (Ubuntu): | |
assignee: | nobody → bhs (bharath-vegito) |
Changed in eglibc (Ubuntu): | |
assignee: | bhs (bharath-vegito) → nobody |
Changed in eglibc (Ubuntu Precise): | |
assignee: | bhs (bharath-vegito) → nobody |
Changed in eglibc (Ubuntu Quantal): | |
status: | New → In Progress |
description: | updated |
Changed in eglibc (Ubuntu): | |
assignee: | nobody → Adam Conrad (adconrad) |
Changed in eglibc (Ubuntu Precise): | |
assignee: | nobody → Adam Conrad (adconrad) |
Changed in eglibc (Ubuntu Quantal): | |
assignee: | nobody → Adam Conrad (adconrad) |
The attachment "patch for malloc_deadlock from http:// sourceware- org.1504. n7.nabble. com/BZ- 13939-malloc- deadlock- td13648. html#none" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]