> Does anyone know exactly what problem the locale stuff is fixing? And > a follow-on, is there another way to fix it?
The problem is that we parse things like decimals for coordinates (0.0000) which exist in the C locale. So we need to make sure the parsing code works in C locale not any other locale. > Windows-specific API). After all of the changes on the pull request, > it can now take quite a while before segfaulting (mostly in locale, > but worryingly once in NewAtom). Progress of sorts, I guess :-) I'll take a look this week. Using Clang or g++, you should be able to use ThreadSanitizer to check: https://clang.llvm.org/docs/ThreadSanitizer.html https://github.com/google/sanitizers/wiki Hope that helps, -Geoff ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel