← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1702741] [NEW] QtCreator crashes when opening a filechooser under wayland

 

Public bug reported:

What happened:
1) Install Ubuntu 17.04 GNOME
2) Ensure you are running a wayland session
3) Install qtcreator
4) Launch qtcreator
5) Try to do File -> Open File or Project
6) Notice that the application crashes

What I expected to happen:
At step 6 for a file dialog to appear


== Upstream ==

There is a qt bug here "GTK+ dialogs crash on Wayland" - https://bugreports.qt.io/browse/QTBUG-55583
With what looks like a simple code change that Ubuntu could carry as a patch? https://codereview.qt-project.org/#/c/179124/

Fedora appear to have fixed the bug in Fedora 25 -
https://bugzilla.redhat.com/show_bug.cgi?id=1403500


== Debug output ==

When this occurs in the console you see the following:
(qtcreator:16534): Gdk-WARNING **: /build/gtk+3.0-qPyWJl/gtk+3.0-3.22.11/./gdk/x11/gdkwindow-x11.c:5573 drawable is not a native X11 window
Segmentation fault (core dumped)

When running under GDB: http://pastebin.ubuntu.com/25033921/


$ apt-cache policy qtcreator
qtcreator:
  Installed: 4.1.0-3ubuntu1
  Candidate: 4.1.0-3ubuntu1
  Version table:
 *** 4.1.0-3ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
        100 /var/lib/dpkg/status
$ lsb_release -rd
Description:	Ubuntu 17.04
Release:	17.04

** Affects: qtcreator (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator in Ubuntu.
https://bugs.launchpad.net/bugs/1702741

Title:
  QtCreator crashes when opening a filechooser under wayland

Status in qtcreator package in Ubuntu:
  New

Bug description:
  What happened:
  1) Install Ubuntu 17.04 GNOME
  2) Ensure you are running a wayland session
  3) Install qtcreator
  4) Launch qtcreator
  5) Try to do File -> Open File or Project
  6) Notice that the application crashes

  What I expected to happen:
  At step 6 for a file dialog to appear

  
  == Upstream ==

  There is a qt bug here "GTK+ dialogs crash on Wayland" - https://bugreports.qt.io/browse/QTBUG-55583
  With what looks like a simple code change that Ubuntu could carry as a patch? https://codereview.qt-project.org/#/c/179124/

  Fedora appear to have fixed the bug in Fedora 25 -
  https://bugzilla.redhat.com/show_bug.cgi?id=1403500

  
  == Debug output ==

  When this occurs in the console you see the following:
  (qtcreator:16534): Gdk-WARNING **: /build/gtk+3.0-qPyWJl/gtk+3.0-3.22.11/./gdk/x11/gdkwindow-x11.c:5573 drawable is not a native X11 window
  Segmentation fault (core dumped)

  When running under GDB: http://pastebin.ubuntu.com/25033921/

  
  $ apt-cache policy qtcreator
  qtcreator:
    Installed: 4.1.0-3ubuntu1
    Candidate: 4.1.0-3ubuntu1
    Version table:
   *** 4.1.0-3ubuntu1 500
          500 http://gb.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
          100 /var/lib/dpkg/status
  $ lsb_release -rd
  Description:	Ubuntu 17.04
  Release:	17.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1702741/+subscriptions


Follow ups