Red Hat Bugzilla – Bug 466219
Assertion if we launch 2 corosync on different node in the same time
Last modified: 2009-06-01 04:36:05 EDT
Description of problem:
We got an assertion if we launch 2 corosync on different node in the same time :
Assertion failed: (sq->items_inuse[sq_position] == 0), function sq_item_add, file /home/tito/code/fw-trunk-ha/contrib/openais/work/openais+corosync-trunk-20080918/corosync-trunk/include/corosync/sq.h, line 170.
Version-Release number of selected component (if applicable):
corosync-trunk, rev 1667
Actual code in include/corosync/sq.h :
168 sq_item = sq->items;
169 sq_item += sq_position * sq->size_per_item;
170 assert(sq->items_inuse[sq_position] == 0); <<<<
171 memcpy (sq_item, item, sq->size_per_item);
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
do you have a mechanism to reproduce this issue?
Honzaf, try to reproduce this issue. Low priority atm since likely fixed in corosync trunk.
Created attachment 346064 [details]
Attached is testing script I used to reproduce this bug. On one node, sleep was set to 0.6. After 6 hours of running, I was not able to reproduce bug.
So I'm closing bug as upstream, and in case, it will reappear, please reopen bug.