[Bug 1081734] [NEW] malloc hangs when ltp mallocstress is run repeatedly

bhs 1081734 at bugs.launchpad.net
Wed Nov 21 18:38:37 UTC 2012


Public bug reported:

- 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://sourceware.org/ml/libc-alpha/2012-06/msg00648.html
http://permalink.gmane.org/gmane.comp.lib.glibc.alpha/23397
http://sourceware.org/ml/libc-alpha/2012-07/msg00027.html
http://sourceware.org/ml/libc-alpha/2012-08/msg00163.html
http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/832985

discussion in http://sourceware-org.1504.n7.nabble.com/BZ-13939-malloc-
deadlock-td13648.html#none

** Affects: eglibc (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "patch for malloc_deadlock from http://sourceware-org.1504.n7.nabble.com/BZ-13939-malloc-deadlock-td13648.html#none"
   https://bugs.launchpad.net/bugs/1081734/+attachment/3440527/+files/malloc_deadlock_patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1081734

Title:
  malloc hangs when ltp mallocstress is run repeatedly

Status in “eglibc” package in Ubuntu:
  New

Bug description:
  - 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://sourceware.org/ml/libc-alpha/2012-06/msg00648.html
  http://permalink.gmane.org/gmane.comp.lib.glibc.alpha/23397
  http://sourceware.org/ml/libc-alpha/2012-07/msg00027.html
  http://sourceware.org/ml/libc-alpha/2012-08/msg00163.html
  http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/832985

  discussion in http://sourceware-org.1504.n7.nabble.com/BZ-13939
  -malloc-deadlock-td13648.html#none

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions




More information about the foundations-bugs mailing list