[PyQt] Segfault running pyqt5+python3

Valerio Baldisserotto svalo at libersoft.it
Thu Apr 2 11:19:50 BST 2015


Hello everybody, I wrote a python3+ pyqt5 software that uses Dbus to
communicate to another process, I use dbus trough pyqt's bindings.
Everything is working fine but when I close the application both with a
close button in-app or by closing the windows I get a message from
Lubuntu telling my application segfaulted
Here [1] there's the gdb output. I'm pretty sure the cause is dbus
because if I run the same software commenting-out the code involving it
the application works perfectly and I don't get any message nor warning
from gdb.

When I launch the application I get a "QDBusConnection: Session dbus
connection created before Qcoreapplication, application may
mishbehave".  I read somewhere it's an harmless message but maybe it's
usefull

Software version:
O.S. Lubuntu 14.04 inside VirtualBox

python3-pyqt5 5.2.1+dfsg-1ubuntu1
python3 3.4.0-ubuntu2
dbus 1.6.18.0-ubuntu4.3

Do you think it's a problem with dbus , qt5or with pyqt5 bindings?
How can I help?

Same problem happens sometimes also on linuxmint ubuntu based but I
don't have the chanche to test it


Thank you
sValo

[1] http://pastebin.com/kLVtRGrx


More information about the PyQt mailing list