[gmx-developers] glibc qsort bug crashing mdrun

Berk Hess hess at cbr.su.se
Mon Jun 21 18:13:31 CEST 2010


Hi,

I just discovered that there is a bug in qsort in glibc that makes it
non thread safe.
So mdrun with the GMX thread library could crash randomly. This occured
very seldomly.
We have one system that we managed to crash with certain compiler
settings in 1% of the runs.
This could explain some crashes people have experienced (gcc 4.1 is
another danger).
I have now replaced qsort by our own qsort in case we use threads.

Berk




More information about the gromacs.org_gmx-developers mailing list