← Back to team overview

desktop-packages team mailing list archive

[Bug 887946] 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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/887946

Title:
  Deadlocks in main loop

Status in “glib2.0” package in Ubuntu:
  New

Bug description:
  Some applications get stuck in a deadlock when utilizing glib. One of
  examples is lrmadmin, when connecting to lrmd. Upstream provided a fix
  for this bug and Ubuntu's version 11.04 and newer do not have this
  issue.

  Ubuntu 10.04 and 10.10 do not contain the fix. Upstream fix:

  https://mail.gnome.org/archives/commits-
  list/2010-November/msg01816.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/887946/+subscriptions


References