Bug 1154171

Summary: [abrt] gnome-initial-setup: strcmp(): gnome-initial-setup killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: gnome-initial-setupAssignee: Rui Matos <tiagomatos>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: jstpierr, mcatanzaro, rmatos, tiagomatos
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/124c4d3e6ed40a8f21938a0d1be5efa336f0e633
Whiteboard: abrt_hash:ef5594db0355adcd6b3f5c048bae3f1a02612698 https://fedoraproject.org/wiki/Common_F21_bugs#gis-keyboard-crash
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-08 00:32:24 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: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Adam Williamson 2014-10-17 18:09:44 UTC
Description of problem:
Install from a Workstation live image with Canada as the location. Don't create a user in anaconda. On the installed system, gnome-initial-setup will run. On the keyboard layout spoke, a weird selection of keyboards is shown, with none pre-selected. Don't select any keyboard layout from the list, just click Next. g-i-s crashes.

The 'weird list' bug is bgo #729210. I believe this bug will only reproduce when you hit a case of this, such that the systemwide layout set by anaconda is not in the small initial list of layouts g-i-s presents. When it *is* in that list it gets automatically pre-selected, but when that list does not contain the current systemwide layout, no layout is pre-selected, and I guess something in g-i-s assumes a layout will have been selected when Next is clicked, and crashes because it wasn't.

Version-Release number of selected component:
gnome-initial-setup-3.14.0-1.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/libexec/gnome-initial-setup
crash_function: strcmp
executable:     /usr/libexec/gnome-initial-setup
kernel:         3.17.0-301.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            988

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 strcmp at ../sysdeps/x86_64/strcmp.S:209
 #1 g_str_equal at ghash.c:1776
 #2 get_layout at cc-input-chooser.c:139
 #3 set_localed_input at gis-keyboard-page.c:93
 #4 update_input at gis-keyboard-page.c:133
 #5 gis_keyboard_page_apply at gis-keyboard-page.c:147
 #6 gis_page_apply_begin at gis-page.c:303
 #7 _g_closure_invoke_va at gclosure.c:831
 #10 gtk_button_do_release at gtkbutton.c:1890
 #11 gtk_real_button_released at gtkbutton.c:2008

Comment 1 Adam Williamson 2014-10-17 18:09:47 UTC
Created attachment 947988 [details]
File: backtrace

Comment 2 Adam Williamson 2014-10-17 18:09:48 UTC
Created attachment 947989 [details]
File: cgroup

Comment 3 Adam Williamson 2014-10-17 18:09:49 UTC
Created attachment 947990 [details]
File: core_backtrace

Comment 4 Adam Williamson 2014-10-17 18:09:50 UTC
Created attachment 947991 [details]
File: dso_list

Comment 5 Adam Williamson 2014-10-17 18:09:51 UTC
Created attachment 947992 [details]
File: environ

Comment 6 Adam Williamson 2014-10-17 18:09:51 UTC
Created attachment 947993 [details]
File: exploitable

Comment 7 Adam Williamson 2014-10-17 18:09:52 UTC
Created attachment 947994 [details]
File: limits

Comment 8 Adam Williamson 2014-10-17 18:09:54 UTC
Created attachment 947995 [details]
File: maps

Comment 9 Adam Williamson 2014-10-17 18:09:54 UTC
Created attachment 947996 [details]
File: open_fds

Comment 10 Adam Williamson 2014-10-17 18:09:55 UTC
Created attachment 947997 [details]
File: proc_pid_status

Comment 11 Adam Williamson 2014-10-17 18:09:56 UTC
Created attachment 947998 [details]
File: var_log_messages

Comment 12 Adam Williamson 2014-10-17 20:40:01 UTC
I'm not sure if it's worth breaking freeze to fix this for Beta, but it's at least worth documenting.