Bug 2180277 - gnome-shell crashes and sysops happens when users logout
Summary: gnome-shell crashes and sysops happens when users logout
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: GNOME SIG Unassigned
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker AcceptedFreezeExcepti...
Depends On:
Blocks: F38FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2023-03-21 05:36 UTC by lnie
Modified: 2024-05-07 17:41 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-07 17:41:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screencast (1.07 MB, video/webm)
2023-03-21 05:36 UTC, lnie
no flags Details
backtrace (26.12 KB, text/plain)
2023-03-21 05:39 UTC, lnie
no flags Details
journal (857.97 KB, text/plain)
2023-03-21 05:42 UTC, lnie
no flags Details
backtrace (5.72 KB, text/plain)
2023-03-22 01:04 UTC, lnie
no flags Details
my backtrace (56.63 KB, text/plain)
2023-03-23 17:29 UTC, Adam Williamson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gjs merge_requests 834 0 None merged context: Clear all vectors of JS::Heap on dispose 2023-09-14 19:38:20 UTC
GNOME Gitlab GNOME gnome-shell merge_requests 2722 0 None merged Fix crash on exit with open windows 2023-09-14 19:38:21 UTC

Description lnie 2023-03-21 05:36:50 UTC
Created attachment 1952261 [details]
screencast

Description of problem:
As shown in the attached screencast.

Version-Release number of selected component (if applicable):
gnome-shell-44~rc-1.fc38.x86_64

How reproducible:
always

Steps to Reproduce:
1.login to the newly installed system
2.open one app
3.logout 
4.gnome-abrt claims that crash and sysops happens

Actual results:


Expected results:


Additional info:

Comment 1 lnie 2023-03-21 05:39:15 UTC
Created attachment 1952262 [details]
backtrace

Comment 2 lnie 2023-03-21 05:42:32 UTC
Created attachment 1952263 [details]
journal

Comment 3 Fedora Blocker Bugs Application 2023-03-21 05:43:16 UTC
Proposed as a Blocker for 38-final by Fedora user lnie using the blocker tracking app because:

 Shutting down, rebooting, logging in and logging out must work using standard console commands and the mechanisms offered (if any) by all release-blocking desktops

Comment 4 lnie 2023-03-22 01:04:06 UTC
Created attachment 1952621 [details]
backtrace

Comment 5 Adam Williamson 2023-03-23 17:26:10 UTC
I can confirm this, though I get a different backtrace (attached). I tried to reproduce lnie's setup as close as possible - I logged in, ran a terminal, used `sudo su` to become root, and set a password for root with `passwd`. Then I logged out. Things proceeded exactly as in lnie's video. This is with GNOME updated to 44.0 from updates-testing.

Comment 6 Adam Williamson 2023-03-23 17:29:09 UTC
Created attachment 1953206 [details]
my backtrace

Comment 7 Adam Williamson 2023-03-23 17:33:16 UTC
Note I did wonder if this might also happen during user switching (which would be worse), but it doesn't seem like it. I created a second user and switched back and forth several times - no crashes, and the running session for each user was properly preserved through all the switches.

Comment 8 Florian Apolloner 2023-03-23 19:32:52 UTC
I also get a crash on logout: https://retrace.fedoraproject.org/faf/reports/640384/ 

GDB is working since minutes to generate a backtrace, not sure if it ever finishes :D

Comment 9 Kamil Páral 2023-03-24 09:42:55 UTC
I reported 3 different crashes on logout yesterday:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6536
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6535
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6530

I guess some of them might be related to this one.

Comment 11 Jonas Ådahl 2023-03-24 10:40:38 UTC
and now https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6535 too.

Comment 12 Geoffrey Marr 2023-03-28 05:22:58 UTC
Discussed during the 2023-03-27 blocker review meeting: [0]

The decision to classify this bug as a "RejectedBlocker (Final)" and an "AcceptedFreezeException (Final)" was made as this doesn't violate the release criteria, but it's a polish issue you can run into before updating so we agree it deserves an FE.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2023-03-27/f38-blocker-review.2023-03-27-16.00.txt

Comment 13 Adam Williamson 2023-04-12 00:28:47 UTC
There's an MR for this now, but it looks rather large and I'm not super inclined to try and jam it in as a late FE.

Comment 14 Adam Williamson 2023-04-12 00:30:04 UTC
well, two MRs...

Comment 15 Aoife Moloney 2024-05-07 16:01:31 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 16 Adam Williamson 2024-05-07 17:41:07 UTC
OK, so following breadcrumbs, I believe all the fixes for this made it to F38 stable. The gjs fix, "context: Clear all vectors of JS::Heap on dispose", was in gjs 1.76.1 (F38 is at 1.76.3). The mutter fix, "clutter/backend: Allow unsetting input method", was in mutter 44.1 (F38 is at 44.9). And the gnome-shell fixes, starting at "shell/window-tracker: Disconnect signals on disposal", were in gnome-shell 44.1 (F38 is at 44.10). So I think we can call this fixed.

https://bodhi.fedoraproject.org/updates/FEDORA-2023-4609e16886 (mutter and gnome-shell)
https://bodhi.fedoraproject.org/updates/FEDORA-2023-a7a7913609 (gjs)


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