Red Hat Bugzilla – Bug 90301
Programs fail at exit if compiled with gcc and cxa_atexit
Last modified: 2016-11-24 10:16:56 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.18-3 i686)
Description of problem:
When running a JDK built with gcc 3.2 with the cxa_atexit option enabled for
backward compatibility, the jvm crashes on exit using the NPTL thread library.
setting LD_ASSUME_KERNEL to 2.4.1 will work.
The error message you will see is from libc_free
This bug has already been diagnosed by ulrich and due to a missing check in
unregister_atfork when freeing the dso handles. The patched unregister_atfork
does work but isn't currently available to redhat 9 users in glibc
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run a jdk demo compiled with gcc 3.2 , blackdown.org have a public gcc 3.2
This is fixed in the upstream glibc archive and will be in the next release. If
there is a bug fix or security update for glibc it'll be included, too.
Does this effect redhat 8?
If you don't see a problem in RHL8 it won't effect it. I do not know
the details anymore.
Anyway, a test release of the RHL9 errata is at
Give it a try and let us know how it works.