Bug 1276112

Summary: glibc: malloc arena free list can become cyclic
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: Florian Weimer <fweimer>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: arjun.is, codonell, fweimer, jakub, law, mfabian, pfrankli, siddhesh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.21-11.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1279673 (view as bug list) Environment:
Last Closed: 2016-02-17 12:50:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1279673    

Description Florian Weimer 2015-10-28 18:33:55 UTC
malloc maintains a linked list of arenas which were used by threads at the time they exited.  New threads receive arenas from this list, in the expectation that they are unused and uncontended.  However, due to an incorrect assumption (one arena can be attached to several threads), the free list could turn cyclic.  If this happens, a potentially small set of arenas will be assigned to all new threads.

This bug is not a correctness issue, but it can significantly reduce application performance.  qemu-kvm and OpenJDK have been observed to trigger this bug.

Comment 1 Florian Weimer 2015-10-28 20:46:24 UTC
Patch posted for review:

  https://lists.fedoraproject.org/pipermail/glibc/2015-October/000090.html

Comment 3 Fedora Update System 2016-02-08 15:54:01 UTC
glibc-2.21-10.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0480defc94

Comment 4 Fedora Update System 2016-02-10 11:55:02 UTC
glibc-2.21-10.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0480defc94

Comment 5 Fedora Update System 2016-02-16 16:10:15 UTC
glibc-2.21-11.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0480defc94

Comment 6 Fedora Update System 2016-02-17 06:27:58 UTC
glibc-2.21-11.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0480defc94

Comment 7 Fedora Update System 2016-02-17 12:49:12 UTC
glibc-2.21-11.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.