Bug 2000812

Summary: [abrt] [wayland] [Plasma]cairo-dock-core: _output_mode_cb(): cairo-dock killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Stephen Preuss <com5271.ggr5>
Component: cairo-dockAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: mtasaka, pu4yes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f8d9f3621c6910b2d6916cd9ef2306e934f60b9a
Whiteboard: abrt_hash:72725fc5a1e0df7082a778cedaf24b7d97c7d23e;VARIANT_ID=kde;
Fixed In Version: cairo-dock-3.4.1-18.D20210327git6c569e6.fc35 cairo-dock-3.4.1-18.D20210327git6c569e6.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-24 20:30:02 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

Description Stephen Preuss 2021-09-03 04:25:51 UTC
Version-Release number of selected component:
cairo-dock-core-3.4.1-17.D20210327git6c569e6.fc34

Additional info:
reporter:       libreport-2.15.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-cairo\x2ddock-b0d34a1528d14d5eb9839702f25f7568.scope
cmdline:        /usr/bin/cairo-dock
crash_function: _output_mode_cb
executable:     /usr/bin/cairo-dock
journald_cursor: s=48ff760bf65b49508d063a542428e22e;i=5cbf;b=cbf36b5fa1bf420da352392ea0cb9e44;m=a705783;t=5cb0f480c6813;x=5579d14a4d607d89
kernel:         5.13.13-200.fc34.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 _output_mode_cb at /usr/src/debug/cairo-dock-freeworld-3.4.1-12.D20210327git6c569e6.fc34.x86_64/src/implementations/cairo-dock-wayland-manager.c:99
 #1 ffi_call_unix64 at ../src/x86/unix64.S:76
 #2 ffi_call at ../src/x86/ffi64.c:525
 #3 wl_closure_invoke at ../src/connection.c:1018
 #4 dispatch_event at ../src/wayland-client.c:1452
 #5 dispatch_queue at ../src/wayland-client.c:1598
 #6 wl_display_dispatch_queue_pending at ../src/wayland-client.c:1840
 #7 wl_display_dispatch_queue at ../src/wayland-client.c:1816
 #8 wl_display_roundtrip_queue at ../src/wayland-client.c:1258
 #9 wl_display_roundtrip at ../src/wayland-client.c:1287

Comment 1 Stephen Preuss 2021-09-03 04:25:53 UTC
Created attachment 1820195 [details]
File: backtrace

Comment 2 Stephen Preuss 2021-09-03 04:25:54 UTC
Created attachment 1820196 [details]
File: core_backtrace

Comment 3 Stephen Preuss 2021-09-03 04:25:55 UTC
Created attachment 1820197 [details]
File: cpuinfo

Comment 4 Stephen Preuss 2021-09-03 04:25:56 UTC
Created attachment 1820198 [details]
File: dso_list

Comment 5 Stephen Preuss 2021-09-03 04:25:57 UTC
Created attachment 1820199 [details]
File: environ

Comment 6 Stephen Preuss 2021-09-03 04:25:58 UTC
Created attachment 1820200 [details]
File: exploitable

Comment 7 Stephen Preuss 2021-09-03 04:25:59 UTC
Created attachment 1820201 [details]
File: limits

Comment 8 Stephen Preuss 2021-09-03 04:26:00 UTC
Created attachment 1820202 [details]
File: maps

Comment 9 Stephen Preuss 2021-09-03 04:26:01 UTC
Created attachment 1820203 [details]
File: mountinfo

Comment 10 Stephen Preuss 2021-09-03 04:26:02 UTC
Created attachment 1820204 [details]
File: open_fds

Comment 11 Stephen Preuss 2021-09-03 04:26:03 UTC
Created attachment 1820205 [details]
File: proc_pid_status

Comment 12 Mamoru TASAKA 2021-09-03 05:44:27 UTC
Please provide the information how to reproduce this issue.

Comment 13 Mamoru TASAKA 2021-09-05 07:16:53 UTC
Okay, this one is reproducible on Plasma KDE session, using wayland.

Comment 14 Rodrigo de Araujo Sousa Fonseca 2021-09-06 05:30:26 UTC
*** Bug 2001425 has been marked as a duplicate of this bug. ***

Comment 15 Mamoru TASAKA 2021-09-08 13:04:53 UTC
... But this does not occur with GNOME + wayland - so apparently this is related to wayland implementation on KDE plasma.

So what is happening here is that cairo-dock calls wl_output_add_listener(), expecting that "geometry" information is
to be returned first before "mode" information is gained. GNOME + wayland returns the information in this order,
but KDE plasma + wayland returns in the opposite order.

Currently I don't know this behavior is allowed or not. And - maybe implementation of wayland on KDE is still
incomplete - looking at 

https://community.kde.org/Plasma/Wayland_Showstoppers

Currently I am unsure if I should workaround this issue on cairo-dock side.

Comment 16 Mamoru TASAKA 2021-09-20 08:08:59 UTC
Should fix on Fedora side in cairo-dock-3.4.1-18.D20210327git6c569e6.fc3{4,5,6}.
I will request updates on Fedora bodhi.

Note that you've installed cairo-dock-freeworld from rpmfusion/free, so
you also have to wait for rpmfusion side update.
I've pushed cairo-dock-freeworld-3.4.1-13.D20210327git6c569e6.fc3{4,5,6}, which
should appear on rpmfusion test repository in a few days.

Comment 17 Fedora Update System 2021-09-20 08:11:38 UTC
FEDORA-2021-01ec6af804 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-01ec6af804

Comment 18 Fedora Update System 2021-09-20 08:11:44 UTC
FEDORA-2021-dbe5963da6 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dbe5963da6

Comment 19 Fedora Update System 2021-09-20 14:21:53 UTC
FEDORA-2021-dbe5963da6 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-dbe5963da6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-dbe5963da6

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

Comment 20 Fedora Update System 2021-09-20 20:54:12 UTC
FEDORA-2021-01ec6af804 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-01ec6af804`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-01ec6af804

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

Comment 21 Fedora Update System 2021-09-24 20:30:02 UTC
FEDORA-2021-01ec6af804 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2021-09-29 01:07:44 UTC
FEDORA-2021-dbe5963da6 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.