What versions of glibc and gcc were you testing on CentOS and Fedora? "Doesn't happen on other distros" isn't very helpful without that.
What versions of glibc and gcc were you testing on CentOS and Fedora? "Doesn't happen on other distros" isn't very helpful without that.