[Openais] handle EINTR in sem_wait (pacemaker & corosync 1.2.2+ crash)

Steven Dake sdake at redhat.com
Tue Jun 1 08:46:34 PDT 2010


Hello,

I have found the cause of the crash that was occurring only on some 
deployments.  The cause is that sem_wait is interrupted by signal, and 
the wait operation is not retried (as is customary in posix).

Patch attached to fix

A big thank you to Vladislav Bogdanov for running the test case and 
verifying it fixes the problem.


Regards
-steve
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: corosync-sem-wait-eintr.patch
Url: http://lists.linux-foundation.org/pipermail/openais/attachments/20100601/ba7ae082/attachment.txt 


More information about the Openais mailing list