Re: [Openais] binding to corosync

2013-04-03 Thread eXeC001er
have found the following: 1. I compiled corosync and libqb without '-pthread' 2. thread stack size on Solaris: platform 32 bit = 1 MB platform 64 bit = 2 MB The second case is related to corosync, because it defines IPC_DISPATCH_SIZE = 1 MB without '--enable-small-memory-footprint'.

Re: [Openais] binding to corosync

2013-03-28 Thread Jan Friesse
Hi, corosync functions never returns ERRNO errors. They are returning errors like CS_ERR_*. What is return value you've got from cmap_initialize? Regards, Honza eXeC001er napsal(a): Hello. I tried to create an application that uses corosync via its libraries, but it seems something wrong.

Re: [Openais] binding to corosync

2013-03-28 Thread eXeC001er
2013/3/28 Jan Friesse jfrie...@redhat.com Hi, corosync functions never returns ERRNO errors. They are returning errors like CS_ERR_*. What is return value you've got from cmap_initialize? the stack-trace: /3@3: - libvotequorum:votequorum_initialize(0x8834b2c, 0x0, 0x0, 0xfea63855) /2: