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

Steven Dake sdake at redhat.com
Tue Jun 1 11:46:34 EDT 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.clusterlabs.org/pipermail/pacemaker/attachments/20100601/ba7ae082/attachment.ksh>


More information about the Pacemaker mailing list