| Summary: | deadlock in malloc() | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | RHEL Program Management <pm-rhel> |
| Component: | glibc | Assignee: | Andreas Schwab <schwab> |
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.0 | CC: | 04mvs89, ajax, fweimer, jwest, mfranc, moshiro, nakano.hiroaki, nmurray, patrickm, pm-eus, pmuller, schwab, tmuneda, wcohen |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glibc-2.12-1.7.el6_0.8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-18 08:49:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 676591 | ||
| Bug Blocks: | |||
|
Description
RHEL Program Management
2011-06-10 13:40:07 UTC
You need to link against libgcc_s. (In reply to comment #5) > You need to link against libgcc_s. I was under impression this is for C++ only. That's why g++ links against it by default while gcc doesn't. But 1/ it shouldn't matter and 2/ even with -lgcc_s I'm getting deadlock and the same backtrace. This is simply undefined behaviour. A program committing suicide by deliberately overwriting the heap is not a test case. The current behaviour is deliberate and has served well for the last 20 years without anyone noticing. There is nothing more to fix. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1180.html |