RHEL5 gcc44 optimisation of thread cancellation code can lead to double free or corruption
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
