RHEL5 gcc44 optimisation of thread cancellation code can lead to double free or corruption

Solution Unverified - Updated -

Issue

When compiled with g++44 and optimsation greater than 1, for example -O2 the resulting binary may abort with a similar message to the following.

*** glibc detected *** ./optim2: double free or corruption (out): 0x00000000415aa0e0 ***

Environment

Red Hat Enterprise Linux

5.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content