This is a multi-part message in MIME format.
--------------000706080208030507000709
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Ahoy.
I've just noticed that Nagios doesn't define _REENTRANT or _THREAD_SAFE
anywhere, although glibc and linuxthreads requires it to make functions
thread safe. I'm not sure what difference it makes on some systems, but
I've got a hunch it might mitigate the crash in
service_result_worker_threads which seems to happen on SMP-enabled
systems (where system calls can actually happen at the same time) using
an older version of glibc (2.1.3) and its corresponding linuxthreads
(also from 2000-something).
Apply the patch with
patch -p1
#include
--------------000706080208030507000709--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]