Comment 0 for bug 1341496

Revision history for this message
Tomasz Kontusz (tomasz-kontusz) wrote :

$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04

$ apt-cache policy libqb0
libqb0:
  Installed: 0.16.0.real-1ubuntu3
  Candidate: 0.16.0.real-1ubuntu3
  Version table:
 *** 0.16.0.real-1ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Corosync sometimes hangs inside libqb. I've looked at a hanged process with gdb, and I think I've found the problem.
The problem is the loop here: https://github.com/ClusterLabs/libqb/blob/v0.16.0/lib/ringbuffer.c#L451
This was fixed in 0.17.0, see: https://github.com/ClusterLabs/libqb/blob/v0.17.0/lib/ringbuffer.c#L451

I think bumping to 0.17.0 should fix this (at least in backports? Please?)