[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 on the old version couldn't reproduce with the new, I'm
marking this verification-done.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 from upstream to prevent
glibc deadlocking in mallock arena retry paths (LP: #1081734)
  * Fix futex issue (BZ #13844), backport from 2.16 (LP: #1091186)
  * Drop patch any/local-disable-nscd-host-caching.diff, as this
bug was apparently resolved upstream a while ago (LP: #613662)
  * Add patch any/cvs-ld-self-load.diff to restore ld.so's ability
to load itself, a behaviour accidentally removed (LP: #1088677)
  * Drop dangling libnss_db.so symlink in libc6-dev (LP: #1088773)
 -- Adam Conrad adcon...@ubuntu.com   Sun, 27 Jan 2013 16:46:30 -0700

** Changed in: eglibc (Ubuntu Precise)
   Status: Fix Committed = Fix Released

** Changed in: eglibc (Ubuntu Quantal)
   Status: Fix Committed = Fix Released

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 from upstream to prevent
glibc deadlocking in mallock arena retry paths (LP: #1081734)
  * Fix futex issue (BZ #13844), backport from 2.16 (LP: #1091186)
  * Drop patch any/local-disable-nscd-host-caching.diff, as this
bug was apparently resolved upstream a while ago (LP: #613662)
  * Add patch any/cvs-ld-self-load.diff to restore ld.so's ability
to load itself, a behaviour accidentally removed (LP: #1088677)
  * Drop dangling libnss_db.so symlink in libc6-dev (LP: #1088773)
 -- Adam Conrad adcon...@ubuntu.com   Sun, 27 Jan 2013 16:46:30 -0700

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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  2.15-0ubuntu10.3 
   Embedded GNU C Library: Shared libraries

Advice?

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 under an ARM fast model.

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 sparc,
but didn't touch x86 (while the fix for this bug hit all arches).

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: eglibc (Ubuntu Precise)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

** Changed in: eglibc (Ubuntu Quantal)
   Status: In Progress = 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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081734

Title:
  malloc hangs when ltp mallocstress is run repeatedly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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.
https://bugs.launchpad.net/bugs/1081734

Title:
  malloc hangs when ltp mallocstress is run repeatedly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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://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

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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.
https://bugs.launchpad.net/bugs/1081734

Title:
  malloc hangs when ltp mallocstress is run repeatedly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 including this fix in next eglibc 
release. 
- emails 
+ 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

** Changed in: eglibc (Ubuntu)
 Assignee: (unassigned) = bhs (bharath-vegito)

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 can get started on pushing
the patch to launchpad.

If community is OK, with the patch, can it be pushed to 12.04.2 release
after release-based tests are completed.

** Changed in: eglibc (Ubuntu Precise)
 Assignee: (unassigned) = bhs (bharath-vegito)

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 delta further.
  * Fix debian/tests/control syntax for autopkgtest (LP: #1081500)
  * 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 from upstream to prevent
glibc deadlocking in mallock arena retry paths (LP: #1081734)
 -- Adam Conrad adcon...@ubuntu.com   Sun, 25 Nov 2012 19:00:46 -0700

** Changed in: eglibc (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 repeatedly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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.]

** Tags added: patch

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs