[Openais] Strange behaviour of corosync

Steven Dake sdake at redhat.com
Mon Mar 22 14:56:03 PDT 2010


On Mon, 2010-03-22 at 19:36 +0100, Andreas Mock wrote:
> -----Ursprüngliche Nachricht-----
> Von: Steven Dake <sdake at redhat.com>
> Gesendet: 22.03.2010 18:12:34
> An: Andreas Mock <Andreas.Mock at web.de>
> Betreff: Re: [Openais] Strange behaviour of corosync
> 
> >you can verify that if you would like by doing the following:
> >install corosync-debuginfo package:
> >gdb
> >attach 7211
> >thread apply all bt
> 
> 
> I did it. Look at 
> http://paste.org/pastebin/view/16610
> 
> Is this the proof of your assumption?
> 
> Best regards
> Andreas Mock

Thank you for going to the trouble of gathering a backtrace.  This is a
different defect fixed in openais which we couldn't duplicate in
corosync.  The problem is line #18 pthread_join() after an exit
function.  This means pthread_join() was called in an atexit() handler
which posix is iffy on.

The attached patch resolves your problem and will be in the flatiron
update.

Regards
-steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync-trunk-fix-atexit-pthread-use.patch
Type: text/x-patch
Size: 1112 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20100322/96dea52e/attachment.bin 


More information about the Openais mailing list