During our evaluation tests of openmosix, we
encountered several crashes of applications that are
linked against libpthread, although they were not using
any threads. Crashes always occurred after the process
To reproduce, compile the attached program, link it
with -lpthread, run it, and follow the instructions on
For me it crashes 99% of the time.
#0 0x40030476 in pthread_mutex_unlock () from
#1 0x40032ad4 in funlockfile () from
#2 0x400db9ed in fgets () from /lib/i686/libc.so.6
#3 0x08048600 in main ()
For other crash scenarios, refer to the
openmosix-general mailing list ("segfault in
Relevant system information:
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
Kernel: vanilla 2.4.26
The tests were run on a cluster of 3 dual-processor AMD
servers, where I was the sole user and the load was
nearly 0 all the time.
BTW: the problems disappear when I set LD_ASSUME_KERNEL
to 2.2.18, or when /lib/i686 is made inaccessible.
I hope this information is helpful in solving this bug.