Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1199712

Summary: [abrt] gnome-contacts: _gtk_settings_get_style_cascade(): gnome-contacts-search-provider killed by SIGSEGV
Product: [Fedora] Fedora Reporter: miguel rodriguez <bokerones.fritos>
Component: gnome-contactsAssignee: Elad Alfassa <elad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: alexl, c.kirbach, c.thmaddah, duck, elad, ezwen-redhatbugzilla, fedoraparked, giovanni.minutiello, hamed.sako, lray+redhatbugzilla, mcatanzaro+wrong-account-do-not-cc, mclasen, mcrha, smitna, vdanielmo, willymacha13
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9c98f25aae9925bf21a1b2576b5dd6084d2b222c
Whiteboard: abrt_hash:f19ccffd6d19db870a64c35599038b3d903ecbee
Fixed In Version: gnome-contacts-3.16.2-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-10 19:13:47 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: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description miguel rodriguez 2015-03-07 09:45:22 UTC
Description of problem:
I no have yet any account in this app, but i have evolution works fine with 2 accounts. The problem appears radomly in top of clock of gnome-shell, appears pop-up message about fails this app.

Version-Release number of selected component:
gnome-contacts-3.15.90-1.fc22

Additional info:
reporter:       libreport-2.4.0
backtrace_rating: 4
cmdline:        /usr/libexec/gnome-contacts-search-provider
crash_function: _gtk_settings_get_style_cascade
executable:     /usr/libexec/gnome-contacts-search-provider
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 _gtk_settings_get_style_cascade at /lib64/libgtk-3.so.0
 #1 gtk_style_context_init at /lib64/libgtk-3.so.0
 #2 g_type_create_instance at /lib64/libgobject-2.0.so.0
 #3 g_object_new_internal at /lib64/libgobject-2.0.so.0
 #6 _gtk_style_new_for_path at /lib64/libgtk-3.so.0
 #7 gtk_style_new at /lib64/libgtk-3.so.0
 #8 gtk_widget_get_default_style at /lib64/libgtk-3.so.0
 #9 gtk_widget_init at /lib64/libgtk-3.so.0
 #10 g_type_create_instance at /lib64/libgobject-2.0.so.0
 #11 g_object_new_internal at /lib64/libgobject-2.0.so.0

Comment 1 miguel rodriguez 2015-03-07 09:45:26 UTC
Created attachment 999121 [details]
File: backtrace

Comment 2 miguel rodriguez 2015-03-07 09:45:27 UTC
Created attachment 999122 [details]
File: cgroup

Comment 3 miguel rodriguez 2015-03-07 09:45:29 UTC
Created attachment 999123 [details]
File: core_backtrace

Comment 4 miguel rodriguez 2015-03-07 09:45:30 UTC
Created attachment 999124 [details]
File: dso_list

Comment 5 miguel rodriguez 2015-03-07 09:45:32 UTC
Created attachment 999125 [details]
File: environ

Comment 6 miguel rodriguez 2015-03-07 09:45:33 UTC
Created attachment 999126 [details]
File: limits

Comment 7 miguel rodriguez 2015-03-07 09:45:35 UTC
Created attachment 999127 [details]
File: maps

Comment 8 miguel rodriguez 2015-03-07 09:45:36 UTC
Created attachment 999128 [details]
File: open_fds

Comment 9 miguel rodriguez 2015-03-07 09:45:37 UTC
Created attachment 999129 [details]
File: proc_pid_status

Comment 10 miguel rodriguez 2015-03-07 09:45:38 UTC
Created attachment 999130 [details]
File: var_log_messages

Comment 11 lray+redhatbugzilla 2015-05-16 09:26:09 UTC
Another user experienced a similar problem:

restart after dnf upgrade, i guess.

reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        /usr/libexec/gnome-contacts-search-provider
crash_function: _gtk_settings_get_style_cascade
executable:     /usr/libexec/gnome-contacts-search-provider
global_pid:     8443
kernel:         4.0.2-300.fc22.x86_64
package:        gnome-contacts-3.16.2-1.fc22
reason:         gnome-contacts-search-provider killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 12 Matthias Clasen 2015-06-10 16:04:20 UTC
After discussing the stacktrace and the circumstances a bit with Benjamin, we've concluded that this is a case where we end up calling GTK+ api without gtk_init() first. The search provider should probably not try to show dialogs, but if it does, it needs to call gtk_init...

Comment 13 Matthias Clasen 2015-06-10 16:43:15 UTC
Filed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=750724

Comment 14 Fedora Update System 2015-06-11 20:25:45 UTC
gnome-contacts-3.16.2-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/gnome-contacts-3.16.2-3.fc22

Comment 15 Michael Catanzaro 2015-06-11 21:09:50 UTC
FYI: there are actually two different search provider crashes fixed upstream since 3.16.2, and we only have a patch for one of them in 3.16.2-3.

Comment 16 Matthias Clasen 2015-06-12 11:11:00 UTC
we actually have them both; I didn't do that in the cleanest way, but the patch I applied has both changes.

Comment 17 Fedora Update System 2015-06-13 06:38:15 UTC
Package gnome-contacts-3.16.2-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-contacts-3.16.2-3.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9901/gnome-contacts-3.16.2-3.fc22
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2015-06-21 00:08:35 UTC
gnome-contacts-3.16.2-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Michael Catanzaro 2015-06-25 12:42:57 UTC
642 reports of this crash with 3.16.2-3.fc22 in FAF. :(

Comment 20 Michael Catanzaro 2015-06-25 12:43:39 UTC
*** Bug 1231527 has been marked as a duplicate of this bug. ***

Comment 21 Milan Crha 2015-06-29 15:38:51 UTC
(In reply to Michael Catanzaro from comment #19)
> 642 reports of this crash with 3.16.2-3.fc22 in FAF. :(

The update had patch added, but not applied. Somebody should correct it.

Comment 22 Michael Catanzaro 2015-06-30 04:06:59 UTC
(In reply to Milan Crha from comment #21)
> The update had patch added, but not applied. Somebody should correct it.

That would help, thanks.

Comment 23 Fedora Update System 2015-06-30 04:21:47 UTC
gnome-contacts-3.16.2-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/gnome-contacts-3.16.2-4.fc22

Comment 24 Fedora Update System 2015-06-30 20:20:48 UTC
Package gnome-contacts-3.16.2-4.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-contacts-3.16.2-4.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10972/gnome-contacts-3.16.2-4.fc22
then log in and leave karma (feedback).

Comment 25 Fedora Update System 2015-07-10 19:13:47 UTC
gnome-contacts-3.16.2-4.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.