Bug 1409429 - Sigil seg faults when inserting files if running in a Wayland Gnome Shell
Summary: Sigil seg faults when inserting files if running in a Wayland Gnome Shell
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtbase
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-01 21:24 UTC by Joe Fidler
Modified: 2017-01-05 11:50 UTC (History)
4 users (show)

Fixed In Version: qt5-qtbase-5.7.1-10.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-05 02:20:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/Sigil-Ebook/Sigil/issues/267#issuecomhttps://github.com/Sigil-Ebook Sigil issues 267 0 None None None 2017-01-01 21:24:25 UTC
Qt Bug Tracker QTBUG-55583 0 None None None 2017-01-01 23:45:31 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.