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

2013-04-23 Thread Adam Conrad
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

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

2013-04-23 Thread Launchpad Bug Tracker
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

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

2013-04-23 Thread Launchpad Bug Tracker
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

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

2013-01-31 Thread Alex Chiang
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

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

2013-01-30 Thread Mark Rutland
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

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

2013-01-30 Thread Adam Conrad
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

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

2013-01-28 Thread Adam Conrad
** 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

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

2013-01-28 Thread Colin Watson
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

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

2013-01-28 Thread Mark Rutland
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

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

2013-01-27 Thread Adam Conrad
** 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.

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

2013-01-27 Thread Adam Conrad
** 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

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

2013-01-18 Thread bhs
** 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.

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

2013-01-03 Thread bhs
** 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

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

2012-12-26 Thread bhs
** 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

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

2012-12-19 Thread bhs
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

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

2012-12-13 Thread bhs
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

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

2012-11-26 Thread Adam Conrad
** 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

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

2012-11-26 Thread Launchpad Bug Tracker
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

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

2012-11-25 Thread Adam Conrad
** 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

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

2012-11-21 Thread Ubuntu Foundations Team Bug Bot
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