Bug 2009637

Summary: [abrt] gnome-shell: g_type_check_instance_cast(): gnome-shell killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Mikko Tiihonen <mikko.tiihonen>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: adscvr, awilliam, david.ward, fmuellner, gnome-sig, jadahl, james, otaylor, philip.wyett, rstrode, tamado
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/22dcea837437be717fbd3c5106046e34a163e5ed
Whiteboard: abrt_hash:13ff713b3578c0fed4fa79e3306883d2ddd89d67;VARIANT_ID=workstation; AcceptedFreezeException
Fixed In Version: gnome-shell-41.0-4.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-15 00:50:03 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:
Bug Depends On:    
Bug Blocks: 1891956    
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 Mikko Tiihonen 2021-10-01 06:28:35 UTC
Version-Release number of selected component:
gnome-shell-41.0-1.fc35

Additional info:
reporter:       libreport-2.15.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.Shell
cmdline:        /usr/bin/gnome-shell
crash_function: g_type_check_instance_cast
executable:     /usr/bin/gnome-shell
journald_cursor: s=0f4665ca0fea4318b2919cf2e811e055;i=28f1;b=4b42e370873a4963b89c574f342db17b;m=40a903faa;t=5cc86901a590b;x=c8bd092f52671173
kernel:         5.14.6-300.fc35.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 g_type_check_instance_cast at ../gobject/gtype.c:4122
 #1 ST_PASSWORD_ENTRY at ../src/st/st-password-entry.h:33
 #2 on_disable_show_password_changed at ../src/st/st-password-entry.c:193
 #8 g_object_notify_by_spec_internal at ../gobject/gobject.c:1305
 #9 g_object_notify_by_pspec at ../gobject/gobject.c:1415
 #10 g_cclosure_marshal_VOID__STRINGv at ../gobject/gmarshal.c:1462
 #11 _g_closure_invoke_va at ../gobject/gclosure.c:893
 #14 g_settings_real_change_event at ../gio/gsettings.c:392
 #15 _g_cclosure_marshal_BOOLEAN__POINTER_INTv at ../gio/gmarshal-internal.c:426
 #16 _g_closure_invoke_va at ../gobject/gclosure.c:893

Comment 1 Mikko Tiihonen 2021-10-01 06:28:38 UTC
Created attachment 1827879 [details]
File: backtrace

Comment 2 Mikko Tiihonen 2021-10-01 06:28:39 UTC
Created attachment 1827880 [details]
File: core_backtrace

Comment 3 Mikko Tiihonen 2021-10-01 06:28:41 UTC
Created attachment 1827881 [details]
File: cpuinfo

Comment 4 Mikko Tiihonen 2021-10-01 06:28:42 UTC
Created attachment 1827882 [details]
File: dso_list

Comment 5 Mikko Tiihonen 2021-10-01 06:28:44 UTC
Created attachment 1827883 [details]
File: environ

Comment 6 Mikko Tiihonen 2021-10-01 06:28:45 UTC
Created attachment 1827884 [details]
File: exploitable

Comment 7 Mikko Tiihonen 2021-10-01 06:28:46 UTC
Created attachment 1827885 [details]
File: limits

Comment 8 Mikko Tiihonen 2021-10-01 06:28:48 UTC
Created attachment 1827886 [details]
File: maps

Comment 9 Mikko Tiihonen 2021-10-01 06:28:50 UTC
Created attachment 1827887 [details]
File: mountinfo

Comment 10 Mikko Tiihonen 2021-10-01 06:28:52 UTC
Created attachment 1827888 [details]
File: open_fds

Comment 11 Mikko Tiihonen 2021-10-01 06:28:54 UTC
Created attachment 1827889 [details]
File: proc_pid_status

Comment 12 Mikko Tiihonen 2021-10-01 06:28:55 UTC
Created attachment 1827890 [details]
File: var_log_messages

Comment 13 David Ward 2021-10-11 18:02:07 UTC
This crash occurs for me during the installation of Fedora 35 Workstation, using the latest rc live image (20211011.n.0). It is triggered when Anaconda reaches the "Performing post-installation setup tasks" step. The installer disappears suddenly; then the GDM login screen is displayed instead.

It is fully repeatable on a brand new Dell Latitude 9520. It does not seem to occur on a six-year-old Dell Latitude 7350 though, so I assume this only affects certain hardware.

ABRT consistently indicates that gnome-shell is crashing, and that the backtrace matches the one attached to this bug. (Note: I have to manually start the ABRT daemon in the live image; it is disabled by default.) If Anaconda logs or other logs are relevant though, please let me know and I can attach.

Comment 14 David Ward 2021-10-11 21:34:34 UTC
@rstrode:

From the attached backtrace, it looks like this crash is related to recent upstream commit 8721c5db37c1 ("st/password-entry: Honor disable-show-password key").

https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/8721c5db37c1409dbb806c915e6c077e1c4b8c6b#c42679c2d3b3541819c4593eb034f9de857b83df

Comment 15 Fedora Update System 2021-10-12 19:40:33 UTC
FEDORA-2021-e130fcbdeb has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e130fcbdeb

Comment 16 Adam Williamson 2021-10-12 19:44:42 UTC
We're a little murky on why this happens occasionally but not apparently all the time - Ray's best guess is:

hmm
so he must have been prompted for a password during install
maybe it happens if people lock their screen during a live install ?
or perhaps a polkit dialog came up for some reason
but yea the recipe is probably something like 1) make password dialog come up 2) rebuild schemas or dconf update
well 1.5) dismiss password dialog

but the impact is obviously bad - install crashing near the end - and can't be fixed with an update, so we'd like to ensure it doesn't happen to anyone, thus proposing this as an FE.

Comment 17 David Ward 2021-10-12 19:59:34 UTC
Thanks Adam and Ray!

A password prompt will appear if the user selects disk encryption.

In my case, I was (incorrectly) assuming that this particular installer needed me to connect to a network to download the packages - so when I did that, I was prompted for a Wi-Fi password by GNOME.

Comment 18 Adam Williamson 2021-10-12 20:33:33 UTC
+3 in https://pagure.io/fedora-qa/blocker-review/issue/535 , marking accepted FE.

Comment 19 Fedora Update System 2021-10-13 18:52:41 UTC
FEDORA-2021-e130fcbdeb 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-e130fcbdeb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e130fcbdeb

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

Comment 20 Fedora Update System 2021-10-15 00:50:03 UTC
FEDORA-2021-e130fcbdeb has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.