Bug 593396 - invalid fastbin entry (free)
Summary: invalid fastbin entry (free)
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: glibc
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: beta
: ---
Assignee: Andreas Schwab
QA Contact: Petr Muller
: 586972 (view as bug list)
Depends On:
Blocks: 589706
TreeView+ depends on / blocked
Reported: 2010-05-18 17:57 UTC by Gordon Sim
Modified: 2016-11-24 12:04 UTC (History)
9 users (show)

Fixed In Version: glibc-2.12-1.2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 642329 (view as bug list)
Last Closed: 2010-07-02 19:09:21 UTC
Target Upstream Version:

Attachments (Terms of Use)
test case (4.25 KB, text/plain)
2010-05-18 17:57 UTC, Gordon Sim
no flags Details
A smaller test case (2.71 KB, text/plain)
2010-05-18 17:59 UTC, Gordon Sim
no flags Details

Description Gordon Sim 2010-05-18 17:57:14 UTC
Created attachment 414918 [details]
test case

Description of problem:

Seeing 'invalid fastbin entry (free)' errors for a test program that appears to have no bug in it that would legitimately cause such an error. Suspect this may be a bug in the fastbin verification logic.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. compile and run attached test case
Actual results:

Get a crash due to an invalid fastbin within a minute.

Expected results:

No crash.

Additional info:

Comment 1 Gordon Sim 2010-05-18 17:59:01 UTC
Created attachment 414920 [details]
A smaller test case

This requires use of the -std=c++0x option when compiling but cuts out some of the noise in the test case by replacing the trivial pthread wrapper classes in the previous attachement. Exhibits the same symptoms.

Comment 3 Jeff Needle 2010-05-18 18:41:31 UTC
This is a test blocker for us because it causes significant instability in the messaging broker on RHEL6.

Comment 5 Ulrich Drepper 2010-05-18 21:20:12 UTC
Before anything else is tried, this patch should be added to the RHEL6 glibc and then all tests repeated:


Comment 11 Andreas Schwab 2010-06-24 14:41:21 UTC
*** Bug 586972 has been marked as a duplicate of this bug. ***

Comment 12 releng-rhel@redhat.com 2010-07-02 19:09:21 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.