PyQt5 QApplication causing segmentation fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to create a QtWidgets.
from PyQt5 import QtWidgets
print("1")
app = QtWidgets.
print("2")
sys.exit()
I get the output:
1
Segmentation fault
Changing the arguments of QApplication to sys.argv makes no difference. I've also tried add a 'del' statement to see if this was GC related.
I unfortunately cannot get python bindings of gdb to work, but I've attached the gdb backtrace (incase helpful).
This is a fresh install. I've forced all python3 and pyqt5 packages to reinstall. I've also run apt-get update and dist-upgrade
Version information:
Linux raspberryjon 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l GNU/Linux
Package: python3-pyqt5
Maintainer: Debian Python Modules Team <email address hidden>
Architecture: armhf
Source: pyqt5
Version: 5.7+dfsg-5
Package: python3.5
Maintainer: Matthias Klose <email address hidden>
Architecture: armhf
Multi-Arch: allowed
Version: 3.5.3-1+deb9u1