After significant abuse on several x86 machines, I was finally able to
reproduce this with the old libc6 version, but continue to be unable to
reproduce with the versions in precise/quantal-proposed. Given that no
one's found any regressions with this patch, and the few testers who had
deadlocks
This bug was fixed in the package eglibc - 2.15-0ubuntu10.4
---
eglibc (2.15-0ubuntu10.4) precise; urgency=low
* Add patch ubuntu/local-disable-nscd-netgroup-caching.diff to
disable netgroup caching in the default config (LP: #1068889)
* Backport any/cvs-malloc-deadlock.diff
This bug was fixed in the package eglibc - 2.15-0ubuntu20.1
---
eglibc (2.15-0ubuntu20.1) quantal; urgency=low
* Add patch ubuntu/local-disable-nscd-netgroup-caching.diff to
disable netgroup caching in the default config (LP: #1068889)
* Backport any/cvs-malloc-deadlock.diff
Adam,
I tried reproducing on my 12.04 machine, simply doing:
apt-get install ltp
$ /usr/lib/ltp/testcases/bin/mallocstress -l 1
top output indicates a peak of ~81GB peak VM use
wait a while
debug output
main(): test passed.
Using following old libc:
ii libc6
Further to my earlier comment, I've since done some further testing with
LTP:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1091186/comments/11
While I can't say which change fixes the issue, with the updated
packages installed, I no longer encounter a deadlock when running
mallocstress
The ARM-specific futex issue and this one don't relate, no, the fact
that you can trigger both from the same testsuite does muddy the waters
a bit, though.
Testing this one on x86 is likely the best way to isolate it from the
lowlevellock fix, since that fix only applied to arm, parisc, and
** Changed in: eglibc (Ubuntu)
Assignee: (unassigned) = Adam Conrad (adconrad)
** Changed in: eglibc (Ubuntu Precise)
Assignee: (unassigned) = Adam Conrad (adconrad)
** Changed in: eglibc (Ubuntu Quantal)
Assignee: (unassigned) = Adam Conrad (adconrad)
--
You received this bug
Hello bhs, or anyone else affected,
Accepted eglibc into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/eglibc/2.15-0ubuntu10.4
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
I had an issue with mallocstress deadlocking, but this was solved by the
patch listed in
https://bugs.launchpad.net/ubuntu/precise/+source/eglibc/+bug/1091186
I don't know enough about glibc to say if this is related or not.
--
You received this bug notification because you are a member of
** Also affects: eglibc (Ubuntu Quantal)
Importance: Undecided
Status: New
** Changed in: eglibc (Ubuntu Quantal)
Status: New = In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Description changed:
+ [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
** Changed in: eglibc (Ubuntu)
Assignee: bhs (bharath-vegito) = (unassigned)
** Changed in: eglibc (Ubuntu Precise)
Assignee: bhs (bharath-vegito) = (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Description changed:
- 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
** Changed in: eglibc (Ubuntu Precise)
Status: New = In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081734
Title:
malloc hangs when ltp mallocstress is run repeatedly
To manage
Adam,
This bug repros in 12.04.1 system.
This patch applies to eligbc-2.15 which is in precise and quantal.
I am looking for this fix in ubuntu repository for precise. I wish to do
the required work by assigning to bug to myself and port changes to
eglibc-2.15 branch. Please let me know how I
Hi Adam,
Any chance whether this will make into eglibc-precise branch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081734
Title:
malloc hangs when ltp mallocstress is run repeatedly
To manage
** Changed in: eglibc (Ubuntu)
Status: New = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081734
Title:
malloc hangs when ltp mallocstress is run repeatedly
To manage
This bug was fixed in the package eglibc - 2.16-0ubuntu7
---
eglibc (2.16-0ubuntu7) raring; urgency=low
* Merge with 2.16-0experimental1 from Debian, bringing in my
upstream version of the C++ header autodetection patch, some
packaging and upgrade fixes, and reducing our
** Also affects: eglibc (Ubuntu Precise)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081734
Title:
malloc hangs when ltp mallocstress is run
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
20 matches
Mail list logo