[Pkg-utopia-maintainers] Bug#426412: Bug#426412: python-dbus: system_bus.remove_signal_receiver() freezes

Tony Houghton h at realh.co.uk
Mon May 28 19:22:21 UTC 2007


In <20070528174346.GA30779 at celebrin.pseudorandom.co.uk>, you wrote:

> remove_signal_receiver() takes and releases a lock (which protects the
> signal-match tree from concurrent modification when dbus-python is used
> multi-threaded). I'll check other places where this lock is used -
> there's probably some code path where it's not being released properly.

FWIW after I read this I thought perhaps it's a reentrancy problem,
caused by the application trying to call remove_signal_receiver() from a
signal receiver. So I made DevTray defer the calls with
gobject.idle_add() but it still froze. So I was on the wrong track :-(.

-- 
TH * http://www.realh.co.uk




More information about the Pkg-utopia-maintainers mailing list