gnome-control-center crashes on fill_contact_info_grid: assertion failed: (spec != NULL) after few seconds after opening online accounts

Bug #1177285 reported by Vincas Dargis
312
This bug affects 98 people
Affects Status Importance Assigned to Milestone
empathy (Ubuntu)
Fix Released
High
Brian
Raring
Fix Released
High
Unassigned
gnome-online-accounts (Ubuntu)
Invalid
High
Unassigned
Raring
Invalid
High
Unassigned

Bug Description

* Impact:
empathy segfault sometimes on receiving invalid vcard informations

* Test Case:
not sure, some users seem to be getting that when opening the online accounts configuration dialog

* Regression potential:
limited, that's only addind an extra check to the code

----

Ubuntu 13.04 x86_64

Open system settings, click on online accounts. Accounts window appears for about a second, and then closes.

Ran with gdb (with empathy-dbg) to get this:

ERROR:empathy-user-info.c:252:fill_contact_info_grid: assertion failed: (spec != NULL)

Backtrace:
#0 0x00007ffff5873037 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff5876698 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff61c63b6 in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff61c6914 in g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fffba276359 in fill_contact_info_grid (self=0x555555dee1b0) at empathy-user-info.c:252
#5 request_contact_info_cb (object=<optimized out>, res=<optimized out>, user_data=0x555555dee1b0) at empathy-user-info.c:343
#6 0x00007ffff67171d7 in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007ffff67172d9 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8 0x00007ffff61a3f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff61a4248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff61a4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff674452c in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x000055555555b2ba in main ()

Had no problems before upgrade.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Changed in gnome-online-accounts (Ubuntu):
status: New → Confirmed
Revision history for this message
Milen Dyankov (milendyankov) wrote :

Don't how to link bug reports but this seams to be related to (or may be duplicate of) https://bugs.launchpad.net/ubuntu/+source/gnome-control-center-signon/+bug/1174936

The workaround from the other report (https://bugs.launchpad.net/ubuntu/+source/gnome-control-center-signon/+bug/1174936/comments/5) is to set the status to "Offline", manage accounts than change status back to "Available"

Revision history for this message
Tomek Bury (tomek-bury) wrote :

Marking as a duplicate of 1174740 - it's the only duplicate with importance set.

Revision history for this message
Raymond Wells (rfw2nd) wrote :

Affects me also on 13.10 amd64

Revision history for this message
Henrique Ferreira (henriqueferreira2009) wrote :

Affects me too on Ubuntu 13.04 64 bits.

affects: gnome-control-center (Ubuntu) → empathy (Ubuntu)
Changed in empathy (Ubuntu):
importance: Undecided → High
status: Confirmed → In Progress
Changed in gnome-online-accounts (Ubuntu):
importance: Undecided → High
status: Confirmed → Invalid
Changed in gnome-online-accounts (Ubuntu Raring):
importance: Undecided → High
Changed in empathy (Ubuntu Raring):
importance: Undecided → High
Changed in gnome-online-accounts (Ubuntu Raring):
status: New → Invalid
Changed in empathy (Ubuntu Raring):
status: New → Triaged
description: updated
Changed in empathy (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package empathy - 3.6.4-0ubuntu5

---------------
empathy (3.6.4-0ubuntu5) saucy; urgency=low

  * debian/patches/git_vcard_doesnt_segfault.patch: don't segfault when
    receiving a vcard with a field that shouldn't be included (lp: #1177285)
 -- Sebastien Bacher <email address hidden> Mon, 13 May 2013 15:34:01 +0200

Changed in empathy (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Adar Dembo (adembo) wrote :

Will someone be backporting this into raring? #1174936 and #1174740 are possible duplicates.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

This was uploaded to raring, and is awaiting processing by the SRU team.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

The package for raring currently in the upload queue solves the problem for me.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Vincas, or anyone else affected,

Accepted empathy into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/empathy/3.6.4-0ubuntu4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in empathy (Ubuntu Raring):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Julien Olivier (julo) wrote :

I'm using Ubuntu GNOME with the staging PPA, so I have Empathy 3.8.1, which crashes the control center. I guess this fix should be ported to this version too.

Revision history for this message
Akila Wajirasena (akila-wajirasena) wrote :

I can confirm "empathy 3.6.4-0ubuntu4.1" fixes the bug. I can open online accounts turn on and off settings without a issue. I am using two factor authentication.

Additional info:
There was a update for online accounts too in proposed repository, but I did not update that.

Revision history for this message
Michael Brunner (sm0x) wrote :

it is working for me too, thank you!

Revision history for this message
Joshua Taillon (jat255) wrote :

the update in the proposed repo fixed the problem for me too. Thanks!

Tim Lunn (darkxst)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Kibi Hofmann (kibi-hofmann) wrote :

Won't allow me to install
I have raring-proposed enabled when I do sudo apt-get update I get
Reading package lists... Done
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/main amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/restricted amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Then I run sudo apt-get install empathy/raring-proposed and i get this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '3.6.4-0ubuntu4.1' (Ubuntu:13.04/raring-proposed [amd64]) for 'empathy'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 empathy : Depends: empathy-common (= 3.6.4-0ubuntu4.1) but 3.6.4-0ubuntu4 is to be installed
           Recommends: nautilus-sendto-empathy but it is not going to be installed
           Recommends: mcp-account-manager-uoa but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Any suggestions?

Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package empathy - 3.6.4-0ubuntu4.1

---------------
empathy (3.6.4-0ubuntu4.1) raring; urgency=low

  * debian/patches/git_vcard_doesnt_segfault.patch: don't segfault when
    receiving a vcard with a field that shouldn't be included (lp: #1177285)
 -- Sebastien Bacher <email address hidden> Mon, 13 May 2013 15:34:01 +0200

Changed in empathy (Ubuntu Raring):
status: Fix Committed → Fix Released
Brian (brianlovelace128)
Changed in empathy (Ubuntu):
assignee: nobody → Brian (brianlovelace128)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.