Bug 1172363

Summary: [abrt] gnome-initial-setup: strcmp(): gnome-initial-setup killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Aleksey <am3lurker>
Component: gnome-initial-setupAssignee: Rui Matos <tiagomatos>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: agriyudis19, buchparth, francoisdjf, gpvprasad, irmimia110195, jstpierr, kdubrick, luispetitt, mclasen, milan.jankovic, negra.vivec, tiagomatos, yonatan.el.amigo
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/99d90f528154b06ea9542dfa389a9e6c8e3ac402
Whiteboard: abrt_hash:264931aaa0a0b3a3710cc85e9e1662ee07fc0de9
Fixed In Version: gnome-initial-setup-3.14.2.1-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-27 09:23: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:
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 Aleksey 2014-12-09 22:13:32 UTC
Version-Release number of selected component:
gnome-initial-setup-3.14.2.1-1.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/libexec/gnome-initial-setup --existing-user
crash_function: strcmp
executable:     /usr/libexec/gnome-initial-setup
kernel:         3.17.4-301.fc21.i686
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 strcmp at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:240
 #1 g_strcmp0 at gtestutils.c:2420
 #2 add_rows_to_list at cc-input-chooser.c:371
 #3 get_locale_infos at cc-input-chooser.c:416
 #4 cc_input_chooser_constructed at cc-input-chooser.c:753
 #5 g_object_new_internal at gobject.c:1814
 #7 _gtk_builder_construct at gtkbuilder.c:708
 #8 builder_construct at gtkbuilderparser.c:197
 #9 end_element at gtkbuilderparser.c:1198
 #10 emit_end_element at gmarkup.c:1084

Comment 1 Aleksey 2014-12-09 22:13:36 UTC
Created attachment 966526 [details]
File: backtrace

Comment 2 Aleksey 2014-12-09 22:13:37 UTC
Created attachment 966527 [details]
File: cgroup

Comment 3 Aleksey 2014-12-09 22:13:39 UTC
Created attachment 966528 [details]
File: core_backtrace

Comment 4 Aleksey 2014-12-09 22:13:40 UTC
Created attachment 966529 [details]
File: dso_list

Comment 5 Aleksey 2014-12-09 22:13:42 UTC
Created attachment 966530 [details]
File: environ

Comment 6 Aleksey 2014-12-09 22:13:43 UTC
Created attachment 966531 [details]
File: exploitable

Comment 7 Aleksey 2014-12-09 22:13:45 UTC
Created attachment 966532 [details]
File: limits

Comment 8 Aleksey 2014-12-09 22:13:47 UTC
Created attachment 966533 [details]
File: maps

Comment 9 Aleksey 2014-12-09 22:13:48 UTC
Created attachment 966534 [details]
File: open_fds

Comment 10 Aleksey 2014-12-09 22:13:49 UTC
Created attachment 966535 [details]
File: proc_pid_status

Comment 11 Aleksey 2014-12-09 22:13:51 UTC
Created attachment 966536 [details]
File: var_log_messages

Comment 12 Matthias Clasen 2014-12-10 19:47:27 UTC
Whats happening here:

static void
get_locale_infos (CcInputChooser *chooser)
{
        CcInputChooserPrivate *priv = cc_input_chooser_get_instance_private (chooser);
        const gchar *type, *id;

id is not initialized here ^

        gchar *lang, *country;
        GList *list;

        if (gnome_get_input_source_from_locale (priv->locale, &type, &id)) {

this call returns FALSE and never sets type or id ^

                add_row_to_list (chooser, type, id);
                if (!priv->id) {
                        priv->id = g_strdup (id);
                        priv->type = g_strdup (type);
                }
        }

        if (!gnome_parse_locale (priv->locale, &lang, &country, NULL, NULL))
                goto out;

        list = gnome_xkb_info_get_layouts_for_language (priv->xkb_info, lang);
        add_rows_to_list (chooser, list, INPUT_SOURCE_TYPE_XKB, id);

here id gets used anyway ^

        g_list_free (list);

        list = gnome_xkb_info_get_layouts_for_country (priv->xkb_info, country);
        add_rows_to_list (chooser, list, INPUT_SOURCE_TYPE_XKB, id);
        g_list_free (list);

Comment 13 Fedora Update System 2014-12-16 17:18:47 UTC
gnome-initial-setup-3.14.2.1-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gnome-initial-setup-3.14.2.1-2.fc21

Comment 14 Rui Matos 2014-12-16 17:29:58 UTC
(In reply to Matthias Clasen from comment #12)
> Whats happening here:

Thanks Matthias, I think that's exactly what was wrong here. Interestingly this seems to happen only on i686[1] which, I think, is why it went unnoticed until now.


[1] https://retrace.fedoraproject.org/faf/problems/496638/

Comment 15 Fedora Update System 2014-12-18 06:07:58 UTC
Package gnome-initial-setup-3.14.2.1-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-initial-setup-3.14.2.1-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17163/gnome-initial-setup-3.14.2.1-2.fc21
then log in and leave karma (feedback).

Comment 16 Fedora Update System 2014-12-27 09:23:03 UTC
gnome-initial-setup-3.14.2.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.