Nautilus crashes when addressbook contains contacts without names (e.g. Google)

Bug #566747 reported by Roman Yepishev on 2010-04-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Rodrigo Moya
ubuntuone-client (Ubuntu)

Bug Description

Google Addressbook allows contacts contains only e-mails (w/o any name)
The code in ubuntuone picker does not handle such contacts and nautilus crashes:

#0 IA__g_str_hash (v=0x0) at /build/buildd/glib2.0-2.24.0/glib/gstring.c:134
#1 0x00b724f8 in g_hash_table_lookup_node (hash_table=0x80b6c90, key=0x0) at /build/buildd/glib2.0-2.24.0/glib/ghash.c:309
#2 IA__g_hash_table_lookup (hash_table=0x80b6c90, key=0x0) at /build/buildd/glib2.0-2.24.0/glib/ghash.c:898
#3 0x0804b8c9 in add_contacts (cv=<value optimized out>, contacts=0x8210f60, selection_hash=<value optimized out>) at contacts-view.c:325
#4 0x0804c1bf in book_opened_cb (book=0x809ea90, status=E_BOOK_ERROR_OK, user_data=0x80e2000) at contacts-view.c:374
#5 0x007a7753 in emit_async_open_response (data=0x80fb598) at e-book.c:2814
#6 0x00b7f661 in g_idle_dispatch (source=0xb7401190, callback=0, user_data=0x80fb598) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:4065
#7 0x00b815e5 in g_main_dispatch (context=0x807d738) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#8 IA__g_main_context_dispatch (context=0x807d738) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#9 0x00b852d8 in g_main_context_iterate (context=0x807d738, block=<value optimized out>, dispatch=1, self=0x8054ba0)
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#10 0x00b85817 in IA__g_main_loop_run (loop=0x80ffea8) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2799
#11 0x0026e299 in IA__gtk_main () at /build/buildd/gtk+2.0-2.20.0/gtk/gtkmain.c:1219
#12 0x0804b232 in main (argc=1, argv=0xbffff2f4) at test-contacts-picker.c:95

Related branches

Roman Yepishev (rye) on 2010-04-19
Changed in ubuntuone-client:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Rodrigo Moya (rodrigo-moya)
tags: added: desktop+ nautilus
Changed in ubuntuone-client:
status: Confirmed → In Progress
John Lenton (chipaca) on 2010-04-19
Changed in ubuntuone-client:
importance: Medium → High
tags: added: crash u1-lucid
dobey (dobey) on 2010-04-19
Changed in ubuntuone-client:
milestone: none → 1.2.1
status: In Progress → Fix Committed
Changed in ubuntuone-client (Ubuntu):
status: New → In Progress
milestone: none → ubuntu-10.04
importance: Undecided → High
assignee: nobody → Rodney Dawes (dobey)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 1.2.1-0ubuntu1

ubuntuone-client (1.2.1-0ubuntu1) lucid; urgency=low

  * New upstream release.
    - GetPublicFiles loop when unsuccessful (LP: #562443)
    - Local rescan deletse file on interrupted downloads (LP: #564774)
    - Unable to share with both existing and new contacts (LP: #563677)
    - Nautilus crash when contact has no name (LP: #566747)
  * Remove the string change reversion patch; merged upstream.
 -- Rodney Dawes <email address hidden> Mon, 19 Apr 2010 17:16:50 -0400

Changed in ubuntuone-client (Ubuntu):
status: In Progress → Fix Released
dobey (dobey) on 2010-04-26
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers