FS#51374 - [qt-base] Segmentation fault on filechooser start

Attached to Project: Arch Linux
Opened by Martin Horský (luso58) - Friday, 14 October 2016, 10:11 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 17 October 2016, 14:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Qt crashes with SIGSEGV when opening filechooser.

Additional info:
qt5-base 5.7.0-3

tested with:
VBox 5.1.6-1
QtCreator 4.1.0-3

Steps to reproduce:
Open Vbox and try to assign an ISO to a VM.
Open QtCreator and try to "Open file or project...".
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 17 October 2016, 14:27 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#50013 
Comment by Antonio Rojas (arojas) - Friday, 14 October 2016, 10:43 GMT
gnome?
Comment by Alif (alive4ever) - Sunday, 16 October 2016, 13:53 GMT
Since gnome is now default to use wayland, qt-base attempts to use gnome/gtk3 file dialog which uses wayland compositor. QT applications are launched via xwayland and the file dialog is launched via wayland compositor directly. This incompatible display compositor is causing the crash.

The workaround is using QT_QPA_PLATFORMTHEME other than qgnomeplatform, such as qt5ct, or setting GDK_BACKEND to x11.

$ QT_QPA_PLATFORMTHEME=qt5ct kwrite
$ GDK_BACKEND=x11 kwrite

I remembered opening similar issue before,  FS#50706 , which is closed because it's a duplicate of  FS#50013 

I highly suspect this issue is caused by qgnomeplatform[1] upstream[2] instead of bad packaging.

[1] /usr/lib/qt/plugins/platformthemes/libqgtk3.so
[2] https://github.com/MartinBriza/QGnomePlatform/issues

Comment by Alif (alive4ever) - Sunday, 16 October 2016, 14:11 GMT

Loading...