Public bug reported:
Trying to run apps with qt gtk2 theme makes the app crash.
# Logs:
(python3.8:471377): GLib-GObject-WARNING **: 18:01:22.268: cannot register
existing type 'GdkDisplayManager'
(python3.8:471377): GLib-CRITICAL **: 18:01:22.268: g_once_init_leave:
assertion 'result != 0' failed
(python3.8:471377): GLib-GObject-CRITICAL **: 18:01:22.268:
g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)'
failed
(python3.8:471377): GLib-GObject-WARNING **: 18:01:22.268: invalid
(NULL) pointer instance
(python3.8:471377): GLib-GObject-CRITICAL **: 18:01:22.268:
g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)'
failed
(python3.8:471377): GLib-GObject-WARNING **: 18:01:22.268: invalid
(NULL) pointer instance
(python3.8:471377): GLib-GObject-CRITICAL **: 18:01:22.268:
g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)'
failed
(python3.8:471377): GLib-GObject-WARNING **: 18:01:22.268: cannot
register existing type 'GdkDisplay'
(python3.8:471377): GLib-CRITICAL **: 18:01:22.268: g_once_init_leave:
assertion 'result != 0' failed
(python3.8:471377): GLib-GObject-CRITICAL **: 18:01:22.268:
g_type_register_static: assertion 'parent_type > 0' failed
(python3.8:471377): GLib-CRITICAL **: 18:01:22.268: g_once_init_leave:
assertion 'result != 0' failed
(python3.8:471377): GLib-GObject-CRITICAL **: 18:01:22.268:
g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)'
failed
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).__init__(parent)
self.setWindowTitle("My Form")
if __name__ == '__main__':
# Create the Qt Application
app = QApplication(sys.argv)
app.setStyle('gtk2')
# Create and show the form
form = Form()
form.show()
# Run the main Qt loop
sys.exit(app.exec_())
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: qt5-gtk2-platformtheme 5.0.0+git23.g335dbec-3ubuntu4
ProcVersionSignature: Ubuntu 5.4.0-24.28-generic 5.4.30
Uname: Linux 5.4.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
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)
** Affects: qtstyleplugins-src (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874102
Title:
Cannot start qt application with gtk2 theme
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtstyleplugins-src/+bug/1874102/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs