# 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_())

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1874107

Title:
  qt theming issue: error 6 in libgdk-x11-2.0.so

Status in gtk+2.0 package in Ubuntu:
  New

Bug description:
  As for related bug 
https://bugs.launchpad.net/ubuntu/+source/qtstyleplugins-src/+bug/1874102 , 
  theming a qt application with the "gtk2" theme causes the app to crash with 
segfault:

  ```
  segfault at 114 ip 00007f0439c6caa5 sp 00007fff05b55770 error 6 in 
libgdk-x11-2.0.so.0.2400.32[7f0439c36000+5e000]
  ```

  Also the following code is available:

  ```
  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
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libgtk2.0-0 2.24.32-4ubuntu4
  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 18:08:47 2020
  InstallationDate: Installed on 2020-04-03 (17 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
  SourcePackage: gtk+2.0
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1874107/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to