[Pkg-utopia-maintainers] Bug#426412: Bug#426412: python-dbus: system_bus.remove_signal_receiver() freezes
Simon McVittie
smcv at ianadd.pseudorandom.co.uk
Mon May 28 17:43:46 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 28 May 2007 at 16:44:47 +0100, Tony Houghton wrote:
> I tracked it down to this call in DevTray:
>
> system_bus.remove_signal_receiver(item._property_modified,
> 'PropertyModified',
> 'org.freedesktop.Hal.Device',
> 'org.freedesktop.Hal',
> udi)
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.
Regards,
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
iD8DBQFGWxTSWSc8zVUw7HYRArnrAJ9XG531mjaffBujGSxRL5C4OZQm5ACg3O0w
goJx9RmMbhd6t5UIw2I0D8I=
=bBC6
-----END PGP SIGNATURE-----
More information about the Pkg-utopia-maintainers
mailing list