Bug 1172363 - [abrt] gnome-initial-setup: strcmp(): gnome-initial-setup killed by SIGSEGV
Summary: [abrt] gnome-initial-setup: strcmp(): gnome-initial-setup killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-initial-setup
Version: 21
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rui Matos
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:264931aaa0a0b3a3710cc85e9e1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-09 22:13 UTC by Aleksey
Modified: 2015-05-25 06:24 UTC (History)
13 users (show)

Fixed In Version: gnome-initial-setup-3.14.2.1-2.fc21
Clone Of:
Environment:
Last Closed: 2014-12-27 09:23:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (112.56 KB, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: cgroup (177 bytes, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: core_backtrace (28.94 KB, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: dso_list (38.01 KB, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: environ (1.24 KB, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: exploitable (82 bytes, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: limits (1.29 KB, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: maps (106.71 KB, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: open_fds (1.37 KB, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: proc_pid_status (801 bytes, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details
File: var_log_messages (29 bytes, text/plain)
2014-12-09 22:13 UTC, Aleksey
no flags Details

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.


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