Bug 1409429

Summary: Sigil seg faults when inserting files if running in a Wayland Gnome Shell
Product: [Fedora] Fedora Reporter: Joe Fidler <josephpfidler>
Component: qt5-qtbaseAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: jgrulich, jreznik, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qt5-qtbase-5.7.1-10.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-05 02:20:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Fidler 2017-01-01 21:24:25 UTC
Sigil causes a segmentation fault when inserting files if I am running in a Wayland Gnome Shell (Fedora Linux 25) session. The error does not occur when I switch the desktop to run in a Gnome shell Xorg session.

Sigil is popular ebook creator. I have reported this bug to the Sigil folks -
https://github.com/Sigil-Ebook/Sigil/issues/267. I was told there that this has been identified as a bug in QT (https://bugreports.qt.io/browse/QTBUG-55583) and has been fixed there. 

Also told that "Arch Linux at least, has cherry-picked that patch for our qt5-base 5.7.{0,1} packages". Not sure if that is possible for the current QT version in Fedora 25.

Running Sigil from command line I get:

    (sigil:9740): Gdk-WARNING **: gdkwindow-x11.c:5573 drawable is not a native X11 window
    Segmentation fault (core dumped)


Versions: Sigil version: 0.9.6 from the Fedora repos. Desktop is Fedora 25 running Gnome shell, with a Wayland session. All current updates applied.


To reproduce:

I have found 2 ways to recreate consistently :

    From Sigil File Menu, select Add , then Existing Files
    or
    From Sigil Insert menu, select File. Then in the Insert File dialog hit the "Other Files" button.

Comment 1 Joe Fidler 2017-01-01 21:31:28 UTC
Just saw that the QT bug is still open - "fixed" in QT 5.8.0.
https://bugreports.qt.io/browse/QTBUG-55583

Comment 2 Rex Dieter 2017-01-01 23:42:04 UTC
patch backported and included in qt5-qtbase-5.7.1-10.fc25
https://bodhi.fedoraproject.org/updates/FEDORA-2017-e2f57cb7cd

Comment 3 Fedora Update System 2017-01-02 01:42:59 UTC
qt5-qtbase-5.7.1-10.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e2f57cb7cd

Comment 4 Fedora Update System 2017-01-05 02:20:24 UTC
qt5-qtbase-5.7.1-10.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Joe Fidler 2017-01-05 11:50:28 UTC
Just recieved the update and confirming that it fixes this issue. Thanks for the rapid response. Cheers.