Bug 1766935

Summary: Goldendict crash on Wayland
Product: [Fedora] Fedora Reporter: Viktar Siarheichyk <a>
Component: goldendictAssignee: Mosaab Alzoubi <moceap>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: 472740691, beewae, moceap, mrlhwliberty, vitaly
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/654b8ccc0ca99ed88d8577795b82f8fe0e5a5b59
Whiteboard: abrt_hash:380d273df195e3bb2f6e898dfd8411a6ea925c3d;VARIANT_ID=workstation;
Fixed In Version: goldendict-1.5-0.26.RC2.fc31 goldendict-1.5-0.26.RC2.fc32 goldendict-1.5-0.27.RC2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-23 02:37:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Viktar Siarheichyk 2019-10-30 10:14:32 UTC
Version-Release number of selected component:
goldendict-1.5-0.22.RC2.fc31

Additional info:
reporter:       libreport-2.10.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/gnome\x2dsession\x2dmanager.slice/gnome-session-manager
cmdline:        goldendict
crash_function: XkbUseExtension
executable:     /usr/bin/goldendict
journald_cursor: s=f0aac7fcdfad43228e20c09dae141664;i=65422;b=ef194e2c2fc448e894ad7cb2985cbb52;m=2c26714;t=5961dd1a23591;x=dcddbecabf4454c3
kernel:         5.3.7-301.fc31.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 XkbUseExtension at XKBUse.c:652
 #1 _XkbLoadDpy at XKBBind.c:513
 #2 XKeysymToKeycode at XKBBind.c:159
 #3 HotkeyWrapper::init at hotkeywrapper.cc:547
 #4 HotkeyWrapper::HotkeyWrapper at hotkeywrapper.cc:132
 #5 MainWindow::installHotKeys at mainwindow.cc:2985
 #6 MainWindow::MainWindow at mainwindow.cc:820

Comment 1 Viktar Siarheichyk 2019-10-30 10:14:36 UTC
Created attachment 1630495 [details]
File: backtrace

Comment 2 Viktar Siarheichyk 2019-10-30 10:14:38 UTC
Created attachment 1630496 [details]
File: core_backtrace

Comment 3 Viktar Siarheichyk 2019-10-30 10:14:39 UTC
Created attachment 1630497 [details]
File: cpuinfo

Comment 4 Viktar Siarheichyk 2019-10-30 10:14:41 UTC
Created attachment 1630498 [details]
File: dso_list

Comment 5 Viktar Siarheichyk 2019-10-30 10:14:43 UTC
Created attachment 1630499 [details]
File: environ

Comment 6 Viktar Siarheichyk 2019-10-30 10:14:44 UTC
Created attachment 1630500 [details]
File: exploitable

Comment 7 Viktar Siarheichyk 2019-10-30 10:14:45 UTC
Created attachment 1630501 [details]
File: limits

Comment 8 Viktar Siarheichyk 2019-10-30 10:14:47 UTC
Created attachment 1630502 [details]
File: maps

Comment 9 Viktar Siarheichyk 2019-10-30 10:14:48 UTC
Created attachment 1630503 [details]
File: mountinfo

Comment 10 Viktar Siarheichyk 2019-10-30 10:14:50 UTC
Created attachment 1630504 [details]
File: open_fds

Comment 11 Viktar Siarheichyk 2019-10-30 10:14:51 UTC
Created attachment 1630505 [details]
File: proc_pid_status

Comment 12 Viktar Siarheichyk 2019-10-30 10:14:53 UTC
Created attachment 1630506 [details]
File: var_log_messages

Comment 13 472740691 2019-11-11 01:43:50 UTC
*** Bug 1770635 has been marked as a duplicate of this bug. ***

Comment 14 Vitaly 2019-11-11 08:38:14 UTC
*** Bug 1768205 has been marked as a duplicate of this bug. ***

Comment 15 Vitaly 2019-11-11 08:41:10 UTC
Proposed workaround:

QT_QPA_PLATFORM=xcb /usr/bin/goldendict

Comment 16 Fedora Update System 2020-03-14 18:28:58 UTC
FEDORA-EPEL-2020-c57b87e4fb has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-c57b87e4fb

Comment 17 Fedora Update System 2020-03-14 18:29:00 UTC
FEDORA-2020-038659e8df has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-038659e8df

Comment 18 Fedora Update System 2020-03-14 18:29:01 UTC
FEDORA-2020-64569ed421 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-64569ed421

Comment 19 Vitaly 2020-03-15 07:19:01 UTC
This is not a fix. This is dirty hack. You've just disabled Wayland support for all GoldenDict users.

Issue must be fixed in upstream and not with such hack.

Comment 20 Vitaly 2020-03-15 08:10:15 UTC
I suggest to create a separate launcher goldendict-x11.desktop with this hack.

Comment 21 Vitaly 2020-03-15 09:28:04 UTC
Created a proper fix for this issue: https://github.com/goldendict/goldendict/pull/1238

Will rebuild GoldenDict now with this fix.

Gnome users, experiencing issues with crashes can now select GoldenDict (X11) entry from launch menu.

Comment 22 Vitaly 2020-03-15 12:05:10 UTC
Upstream has merged my fix with "GoldenDict (X11)" entry to master. Gnome/KDE users using Wayland can now select it from DE launcher.

Fixed version: goldendict-1.5-0.26.RC2.

Comment 23 Fedora Update System 2020-03-15 14:29:45 UTC
goldendict-1.5-0.26.RC2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-64569ed421

Comment 24 Fedora Update System 2020-03-15 14:48:14 UTC
goldendict-1.5-0.26.RC2.el8 has been pushed to the Fedora EPEL 8 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-c57b87e4fb

Comment 25 Fedora Update System 2020-03-16 14:11:57 UTC
goldendict-1.5-0.26.RC2.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-038659e8df

Comment 26 Fedora Update System 2020-03-23 02:37:34 UTC
goldendict-1.5-0.26.RC2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 27 Fedora Update System 2020-03-23 20:23:51 UTC
FEDORA-2020-038659e8df has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 28 Fedora Update System 2020-03-28 01:44:07 UTC
FEDORA-EPEL-2020-c57b87e4fb has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-c57b87e4fb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 29 Fedora Update System 2020-04-11 19:28:54 UTC
FEDORA-EPEL-2020-c57b87e4fb has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.