3 ms·
From the backtrace, it seems strerror_r is not thread-safe, since it calls __dcigettext which calls getenv. A similar bug related to setlocale was found in 200
by Meneth 2y ago
From the backtrace, it seems strerror_r is not thread-safe, since it calls __dcigettext which calls getenv.
A similar bug related to setlocale was found in 2007 and fixed in 2014. That bug did not take getenv/setenv into account. https://sourceware.org/bugzilla/show_bug.cgi?id=5443 https://sourceware.org/bugzilla/show_bug.cgi?id=5443