Bug 2231680 - [abrt] gnome-shell: meta_output_kms_get_privacy_screen_state(): gnome-shell killed by SIGSEGV
Summary: [abrt] gnome-shell: meta_output_kms_get_privacy_screen_state(): gnome-shell k...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:45e8f352cadc2a1ff833642316d...
: 2232303 (view as bug list)
Depends On:
Blocks: F39BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2023-08-13 07:37 UTC by Mikhail
Modified: 2023-09-12 05:49 UTC (History)
12 users (show)

Fixed In Version: mutter-45~beta.1-3.fc39
Clone Of:
Environment:
Last Closed: 2023-09-07 15:24:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.44 KB, text/plain)
2023-08-13 07:37 UTC, Mikhail
no flags Details
File: maps (3.99 KB, text/plain)
2023-08-13 07:37 UTC, Mikhail
no flags Details
File: limits (1.29 KB, text/plain)
2023-08-13 07:37 UTC, Mikhail
no flags Details
File: environ (1.41 KB, text/plain)
2023-08-13 07:37 UTC, Mikhail
no flags Details
File: open_fds (54.69 KB, text/plain)
2023-08-13 07:37 UTC, Mikhail
no flags Details
File: mountinfo (3.11 KB, text/plain)
2023-08-13 07:38 UTC, Mikhail
no flags Details
File: os_info (770 bytes, text/plain)
2023-08-13 07:38 UTC, Mikhail
no flags Details
File: cpuinfo (3.12 KB, text/plain)
2023-08-13 07:38 UTC, Mikhail
no flags Details
File: core_backtrace (88.48 KB, text/plain)
2023-08-13 07:38 UTC, Mikhail
no flags Details
File: exploitable (81 bytes, text/plain)
2023-08-13 07:38 UTC, Mikhail
no flags Details
File: dso_list (231 bytes, text/plain)
2023-08-13 07:38 UTC, Mikhail
no flags Details
File: backtrace (232.03 KB, text/plain)
2023-08-13 07:38 UTC, Mikhail
no flags Details
gnome-shell backtrace (342.37 KB, text/plain)
2023-09-10 08:33 UTC, Mikhail
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME mutter issues 2985 0 None opened Crash in meta_output_kms_get_privacy_screen_state when screen locks 2023-08-25 13:51:13 UTC

Description Mikhail 2023-08-13 07:37:50 UTC
Version-Release number of selected component:
gnome-shell-45~beta.1-1.fc40

Additional info:
reporter:       libreport-2.17.11
type:           CCpp
reason:         gnome-shell killed by SIGSEGV
journald_cursor: s=d9f6127958244658b0edbb7978de4bee;i=a1f34f;b=5794a1dd6b4f4f8a91ce5878229712fa;m=5f434cbfe;t=602c8b8199218;x=bea86d9b6cdb465c
executable:     /usr/bin/gnome-shell
cmdline:        /usr/bin/gnome-shell
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.Shell
rootdir:        /
uid:            1000
kernel:         6.5.0-rc5-check-006+
package:        gnome-shell-45~beta.1-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: meta_output_kms_get_privacy_screen_state

Truncated backtrace:
Thread no. 1 (49 frames)
 #0 meta_output_kms_get_privacy_screen_state at ../src/backends/native/meta-output-kms.c:139
 #1 meta_output_get_privacy_screen_state at ../src/backends/meta-output.c:479
 #2 meta_output_is_privacy_screen_supported at ../src/backends/meta-output.c:485
 #3 meta_onscreen_native_invalidate at ../src/backends/native/meta-onscreen-native.c:2267
 #4 meta_renderer_native_queue_modes_reset at ../src/backends/native/meta-renderer-native.c:1113
 #6 signal_emit_unlocked_R.isra.0 at ../gobject/gsignal.c:3980
 #7 signal_emit_valist_unlocked at ../gobject/gsignal.c:3612
 #10 meta_monitor_manager_power_save_mode_changed at ../src/backends/meta-monitor-manager.c:429
 #11 meta_monitor_manager_native_read_current_state at ../src/backends/native/meta-monitor-manager-native.c:119
 #12 meta_monitor_manager_read_current_state at ../src/backends/meta-monitor-manager.c:3615
 #13 meta_monitor_manager_reload at ../src/backends/meta-monitor-manager.c:3775
 #14 handle_hotplug_event at ../src/backends/native/meta-monitor-manager-native.c:374
 #15 on_kms_resources_changed at ../src/backends/native/meta-monitor-manager-native.c:410
 #16 g_cclosure_marshal_VOID__FLAGSv at ../gobject/gmarshal.c:1136
 #17 _g_closure_invoke_va at ../gobject/gclosure.c:895
 #18 signal_emit_valist_unlocked at ../gobject/gsignal.c:3516
 #21 g_cclosure_marshal_VOID__OBJECTv at ../gobject/gmarshal.c:1910
 #22 _g_closure_invoke_va at ../gobject/gclosure.c:895
 #23 signal_emit_valist_unlocked at ../gobject/gsignal.c:3516
 #26 ffi_call_unix64 at ../src/x86/unix64.S:104
 #27 ffi_call_int at ../src/x86/ffi64.c:673
 #28 ffi_call at ../src/x86/ffi64.c:710
 #29 g_cclosure_marshal_generic at ../gobject/gclosure.c:1536
 #31 signal_emit_unlocked_R.isra.0 at ../gobject/gsignal.c:3980
 #32 signal_emit_valist_unlocked at ../gobject/gsignal.c:3612
 #35 monitor_event at ../gudev/gudevclient.c:90
 #37 g_main_context_dispatch_unlocked at ../glib/gmain.c:4284
 #38 g_main_context_iterate_unlocked.isra.0 at ../glib/gmain.c:4349
 #40 meta_context_run_main_loop at ../src/core/meta-context.c:516
 #41 ffi_call_unix64 at ../src/x86/unix64.S:104
 #42 ffi_call_int at ../src/x86/ffi64.c:673
 #43 ffi_call at ../src/x86/ffi64.c:710
 #44 Gjs::Function::invoke at ../gi/function.cpp:1060
 #45 Gjs::Function::call at ../gi/function.cpp:1240
 #46 CallJSNative at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:486
 #47 js::InternalCallOrConstruct at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:566
 #48 InternalCall at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:647
 #49 js::CallFromStack at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:652
 #50 js::Interpret at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:3395
 #51 MaybeEnterInterpreterTrampoline at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:400
 #52 js::RunScript at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:458
 #53 js::InternalCallOrConstruct at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:612
 #54 InternalCall at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:647
 #55 js::Call at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/Interpreter.cpp:679
 #56 JS::Call at /usr/src/debug/mozjs115-115.1.0-1.fc40.x86_64/vm/CallAndConstruct.cpp:117
 #58 GjsContextPrivate::run_main_loop_hook at ../gjs/context.cpp:1420
 #59 GjsContextPrivate::eval_module at ../gjs/context.cpp:1537
 #60 gjs_context_eval_module at ../gjs/context.cpp:1316
 #61 gjs_context_eval_module_file at ../gjs/context.cpp:1621

Comment 1 Mikhail 2023-08-13 07:37:53 UTC
Created attachment 1983164 [details]
File: proc_pid_status

Comment 2 Mikhail 2023-08-13 07:37:54 UTC
Created attachment 1983165 [details]
File: maps

Comment 3 Mikhail 2023-08-13 07:37:56 UTC
Created attachment 1983166 [details]
File: limits

Comment 4 Mikhail 2023-08-13 07:37:57 UTC
Created attachment 1983167 [details]
File: environ

Comment 5 Mikhail 2023-08-13 07:37:59 UTC
Created attachment 1983168 [details]
File: open_fds

Comment 6 Mikhail 2023-08-13 07:38:00 UTC
Created attachment 1983169 [details]
File: mountinfo

Comment 7 Mikhail 2023-08-13 07:38:02 UTC
Created attachment 1983170 [details]
File: os_info

Comment 8 Mikhail 2023-08-13 07:38:03 UTC
Created attachment 1983171 [details]
File: cpuinfo

Comment 9 Mikhail 2023-08-13 07:38:04 UTC
Created attachment 1983172 [details]
File: core_backtrace

Comment 10 Mikhail 2023-08-13 07:38:06 UTC
Created attachment 1983173 [details]
File: exploitable

Comment 11 Mikhail 2023-08-13 07:38:07 UTC
Created attachment 1983174 [details]
File: dso_list

Comment 12 Mikhail 2023-08-13 07:38:09 UTC
Created attachment 1983175 [details]
File: backtrace

Comment 13 Mikhail 2023-08-15 16:31:49 UTC
gnome-shell crasshed when computer was locked


reporter:       libreport-2.17.11
type:           CCpp
reason:         gnome-shell killed by SIGSEGV
journald_cursor: s=d9f6127958244658b0edbb7978de4bee;i=a1f34f;b=5794a1dd6b4f4f8a91ce5878229712fa;m=5f434cbfe;t=602c8b8199218;x=bea86d9b6cdb465c
executable:     /usr/bin/gnome-shell
cmdline:        /usr/bin/gnome-shell
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.Shell
rootdir:        /
uid:            1000
kernel:         6.5.0-rc5-check-006+
package:        gnome-shell-45~beta.1-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: meta_output_kms_get_privacy_screen_state
comment:        gnome-shell crasshed when computer was locked

Comment 14 Fedora Release Engineering 2023-08-16 08:06:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 15 lray+redhatbugzilla 2023-08-22 17:58:15 UTC
Closing the laptop


reporter:       libreport-2.17.11
type:           CCpp
reason:         gnome-shell killed by SIGSEGV
journald_cursor: s=ae6be85d07b84ca39db0313189305da5;i=d212d4;b=51dac9a6f14b48fa98962e5bda9bcff2;m=10b9d79349;t=6038698aee191;x=9744c654ac09a019
executable:     /usr/bin/gnome-shell
cmdline:        /usr/bin/gnome-shell
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.Shell
rootdir:        /
uid:            1000
kernel:         6.5.0-0.rc6.43.fc39.x86_64
package:        gnome-shell-45~beta.1-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: meta_output_kms_get_privacy_screen_state
comment:        Closing the laptop

Comment 16 Michael Catanzaro 2023-08-25 13:40:48 UTC
I've hit this crash four times now since I updated to Fedora 39 yesterday. Just lost a long Bugzilla comment that I had been writing. :( Seems to happen when I step away from my computer and the screen locks.

Comment 17 Jonas Ådahl 2023-08-25 13:43:51 UTC
I guess bugzilla needs client side comment draft caching to fix your issue


/s

Comment 18 Michael Catanzaro 2023-08-25 13:51:13 UTC
I'm pretty sure upstream Bugzilla actually does do that, but Red Hat Bugzilla does not. :(

Comment 19 Adam Williamson 2023-08-28 18:23:45 UTC
Proposing as a Beta blocker, as this causes a desktop crash on idle timeout, for Michael at least (I don't think this is happening to me, but I'll have to verify).

We can argue about criteria to apply to it, but I think we've held before that "All known bugs that can cause corruption of user data must be fixed or documented at Common Issues" can be held to apply to whole-desktop crashes that kill all your apps and dump you back at the login screen...

Comment 20 Tomas Popela 2023-08-29 08:57:05 UTC
I'm being hit by this as well and I'm able to reproduce easily.

Comment 21 Michael Catanzaro 2023-08-29 19:31:53 UTC
I finally noticed the greeter session hits this crash too. The crash occurs repeatedly every 5 minutes while the system is locked.

Comment 22 Adam Williamson 2023-08-29 20:51:39 UTC
+3 for FE in https://pagure.io/fedora-qa/blocker-review/issue/1222 , so marking accepted. Blocker vote is still pending.

Comment 23 Adam Williamson 2023-08-30 20:04:12 UTC
+4 for blocker in https://pagure.io/fedora-qa/blocker-review/issue/1222 , upgrading to accepted blocker.

Comment 24 Fedora Update System 2023-09-01 15:40:42 UTC
FEDORA-2023-10d925fc86 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-10d925fc86

Comment 25 Fedora Update System 2023-09-02 02:11:49 UTC
FEDORA-2023-10d925fc86 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-10d925fc86`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-10d925fc86

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

Comment 26 Jonas Ådahl 2023-09-04 07:30:10 UTC
*** Bug 2232303 has been marked as a duplicate of this bug. ***

Comment 27 Fedora Update System 2023-09-05 19:24:36 UTC
FEDORA-2023-10d925fc86 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 28 lray+redhatbugzilla 2023-09-06 07:55:32 UTC
Locking the screen. 


reporter:       libreport-2.17.11
type:           CCpp
reason:         gnome-shell killed by SIGSEGV
journald_cursor: s=7a7e5540a0034863bf5316c78b03b1e0;i=d497b4;b=2e1f0f0e715c4f45b559aa113b589ff1;m=bac4f3b43;t=604ac08c7b2c3;x=ff33bf9f55046c28
executable:     /usr/bin/gnome-shell
cmdline:        /usr/bin/gnome-shell
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.Shell
rootdir:        /
uid:            1000
kernel:         6.5.0-0.rc7.20230821gitf7757129e3de.50.fc39.x86_64
package:        gnome-shell-45~beta.1-3.fc39
runlevel:       N 5
dso_list:       /usr/bin/gnome-shell gnome-shell-45~beta.1-3.fc39.x86_64 (Fedora Project) 1693642049
backtrace_rating: 4
crash_function: meta_output_kms_get_privacy_screen_state
comment:        Locking the screen.

Comment 29 Mikhail 2023-09-07 15:10:34 UTC
gnome-shell crashed when computer was locked and monitor was turn off


reporter:       libreport-2.17.11
type:           CCpp
reason:         gnome-shell killed by SIGSEGV
journald_cursor: s=d29f7c9d71c744a49c9c3a01e254ed88;i=19f06e;b=954dd7b5c71946ee911a958e0bfb33b6;m=1887a08e0c;t=603df0a167631;x=d1299775c3893e88
executable:     /usr/bin/gnome-shell
cmdline:        /usr/bin/gnome-shell
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.Shell
rootdir:        /
uid:            1000
kernel:         6.5.0-0.rc7.20230825git4f9e7fabf864.54.fc40.x86_64+debug
package:        gnome-shell-45~beta.1-1.fc40
runlevel:       N 5
dso_list:       /usr/bin/gnome-shell gnome-shell-45~beta.1-1.fc40.x86_64 (Fedora Project) 1691889147
comment:        gnome-shell crashed when computer was locked and monitor was turn off
backtrace_rating: 4
crash_function: meta_output_kms_get_privacy_screen_state

Comment 30 Mikhail 2023-09-07 15:14:28 UTC
The crash still occurs even with mutter-45~beta.1-5.fc40.x86_64 in Rawhide.
I suppose it should be fixed in mutter-45~beta.1-3

Comment 31 Michael Catanzaro 2023-09-07 15:24:30 UTC
In rawhide this is not expected to be fixed until 45~rc. It should be fixed in F39 already though.

Comment 32 Mikhail 2023-09-10 08:33:42 UTC
Created attachment 1987967 [details]
gnome-shell backtrace

(In reply to Michael Catanzaro from comment #31)
> In rawhide this is not expected to be fixed until 45~rc. It should be fixed
> in F39 already though.

in which version gnome-shell it should be fixed?

$ gnome-shell --version
GNOME Shell 45.rc

# rpm -q gnome-shell
gnome-shell-45~rc-2.fc40.x86_64

Today at the morning gnome-shell crashed again with same symptoms (computer was locked).

Comment 33 Mikhail 2023-09-10 08:35:16 UTC
And analyze_BodhiUpdates was very strange because pointed 730432 bug.

--- Skipping collect_vimrc_user ---
No matching actions found for this event.

--- Skipping collect_xsession_errors ---
No matching actions found for this event.

--- Running analyze_CCpp ---
Generating backtrace
Backtrace is generated and saved, 39476 bytes

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla
abrt-action-find-bodhi-update [WARNING] Duplicate Bugzilla bug '#730432' was found
abrt-action-find-bodhi-update [ERROR] abrt-bodhi does not support product version 'Rawhide'

Comment 34 Michael Catanzaro 2023-09-10 21:28:34 UTC
(In reply to Mikhail from comment #32)
> Created attachment 1987967 [details]
> gnome-shell backtrace
> 
> (In reply to Michael Catanzaro from comment #31)
> > In rawhide this is not expected to be fixed until 45~rc. It should be fixed
> > in F39 already though.
> 
> in which version gnome-shell it should be fixed?
> 
> $ gnome-shell --version
> GNOME Shell 45.rc
> 
> # rpm -q gnome-shell
> gnome-shell-45~rc-2.fc40.x86_64
> 
> Today at the morning gnome-shell crashed again with same symptoms (computer
> was locked).

It should be fixed in 45.rc. We need to see a backtrace for the crash you hit. If ABRT can't do it, try taking it manually with 'coredumpctl gdb'.

Comment 35 Mikhail 2023-09-10 21:45:53 UTC
The backtrace already attached in the comment 32

Comment 36 Michael Catanzaro 2023-09-11 01:18:28 UTC
The crash you are hitting is different. Please report a separate bug.

Comment 37 Mikhail 2023-09-12 05:49:09 UTC
(In reply to Michael Catanzaro from comment #36)
> The crash you are hitting is different. Please report a separate bug.

Done https://bugzilla.redhat.com/show_bug.cgi?id=2238475


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