Comment 1 for bug 887946

Revision history for this message
Ante Karamatić (ivoks) wrote : Re: Deadlocks in main loop

Test case:

Install lucid
add ubuntu-ha-maintainers lucid ppa and update repo:
        apt-add-repository ppa:ubuntu-ha-maintainers/lucid-cluster ; apt-get update
Install pacemaker:
        apt-get -y install pacemaker
Enable corosync (/etc/default/corosync) and start it:
        sed -i -e 's/START=no/START=yes/' /etc/default/corosync ; \
        service corosync start
Open two client->server connections:
        lrmadmin -C ; lrmadmin -C
It deadlocks on second run (it actually never finishes the first run).

Kill lrmd and stop corosync:
        killall -9 lrmd ; service corosync stop
Add ppa:ivoks/glib (contains only the patch from the bzr branch):
        apt-add-repository ppa:ivoks/glib ; apt-get update ; apt-get -y upgrade
Start corosync:
        service corosync start
Run the test again:
        lrmadmin -C ; lrmadmin -C ; lrmadmin -C ; lrmadmin -C
It doesn't deadlock.