[PyQt] Segfault when the dbus connection is lost

Alejandro J. Cura alecu at canonical.com
Fri Apr 13 15:52:31 BST 2012


Hi,

first of all, since I'm new to the list I'd like to thank the people
responsible for PyQt a lot for making such a great project.

I'd like to report a bug: when using DBusQtMainLoop, I'm getting
SIGSEGVs when the DBus connection is closed. I've managed to reproduce
this from Ubuntu Lucid (PyQt 4.7.2) up to Ubuntu Precise beta 2 (PyQt
4.9.1).

Attached is a script that when ran shows the issue, but not every time;
on my Precise machine it happens about 3 out of 10 times; on a Lucid VM
it happens every time.

Please let me know if I should attach any other info, or if there's some
simple way to fix it that I'm missing.

BTW: I've seen this bug reported elsewhere[0] for projects using PyQt,
but I'm not sure where I should report it for PyQt.

thanks!
-- 
alecu


[0] other references to this same behaviour:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-sso-client/+bug/943046
https://bugs.kde.org/show_bug.cgi?id=171572
https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/334757
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120413/1d383993/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-disconnection-segfaults.py
Type: text/x-python
Size: 1171 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120413/1d383993/attachment.py>


More information about the PyQt mailing list