Cannot start qt application with gtk2 theme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtstyleplugins-src (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Trying to run apps with qt gtk2 theme makes the app crash.
# Logs:
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-CRITICAL **: 18:01:22.268: g_once_init_leave: assertion 'result != 0' failed
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-CRITICAL **: 18:01:22.268: g_once_init_leave: assertion 'result != 0' failed
(python3.8:471377): GLib-GObject-
(python3.8:471377): GLib-CRITICAL **: 18:01:22.268: g_once_init_leave: assertion 'result != 0' failed
(python3.8:471377): GLib-GObject-
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
# Symple application failing
import sys
from PySide2.QtWidgets import QApplication, QDialog, QLineEdit, QPushButton
class Form(QDialog):
def __init__(self, parent=None):
super(Form, self)._
if __name__ == '__main__':
# Create the Qt Application
app = QApplication(
app.
# Create and show the form
form = Form()
form.show()
# Run the main Qt loop
sys.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: qt5-gtk2-
ProcVersionSign
Uname: Linux 5.4.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Tue Apr 21 17:57:21 2020
InstallationDate: Installed on 2020-04-03 (17 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
SourcePackage: qtstyleplugins-src
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in qtstyleplugins-src (Ubuntu): | |
status: | New → Invalid |
Checking further logs I get the following:
python3.8[471723]: segfault at 114 ip 00007f0439c6caa5 sp 00007fff05b55770 error 6 in libgdk- x11-2.0. so.0.2400. 32[7f0439c36000 +5e000]
Code: 64 24 10 4c 8d 6c 24 40 e8 d8 fe ff ff 31 f6 48 8d 5c 24 38 48 89 c7 31 c0 e8 77 c9 fc ff 31 d2 48 8d 35 0e fe ff ff 48 89 ef <c7> 80 14 01 00 00 01 00 00 00 49 89 c7 48 89 a8 d8 00 00 00 e8 12