e-addressbook-factory crashes if I try to add new contacts to the ubuntu one address book

Bug #731903 reported by PeterPall
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
evolution-couchdb (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: evolution-data-server

What happened: Finally got evolution-couchdb to sync contacts to ubuntuone on natty even if it still gets me loads of warnings per contact of the type:
e-addressbook-factory:5794): Couchdb-GLib-CRITICAL **: couchdb_document_contact_get_job_title: assertion `COUCHDB_IS_DOCUMENT_CONTACT (document)' failed

(e-addressbook-factory:5794): GLib-GObject-WARNING **: invalid cast from `CouchdbDocument' to `CouchdbDocumentContact'

(e-addressbook-factory:5794): Couchdb-GLib-CRITICAL **: couchdb_document_contact_get_manager_name: assertion `COUCHDB_IS_DOCUMENT_CONTACT (document)' failed

To be able to sync contacts I had to basically set up a completely new account:
 - delete ~/.local/evolution (Don't do this at home: It will delete you all mails from evolution's storage)
 - delete ~/.cache/evolution
 - Unset all evolution keys in gconf-editor
 - kill beam.smp
 - Deleted all couchdb-related and ubuntuone related passwords in system/preferences/passwords
 - deleted ~/.cache/desktop-couch
 - Unset all couchdb keys for tomboy in gconf-editor since the above step means that the authentication token for tomboy has to be regenerated.
 - deleted my machine in https://one.ubuntu.com/account/machines/
 - and used ubuntuone-preferences-gtk to authenticate to ubuntuone again

If I try to add a contact to the ubuntu one addressbook e-addressbook-factory still crashes, though, leaving me with at least one of the following three error messages:
1.) Error adding contact
file e-book.c: line 516 (e_book_add_contact_async): assertion `book->priv->gdbus_book' failed
2.) Error adding contact
GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
3.) The Evolution Address book has quit unexpectedly
Your contacts for local:system will not be available until Evolution is restarted.

Console log:
gunter@book:~$ /usr/lib/evolution/e-addressbook-factory
e-data-server-Message: adding type `EBookBackendGoogleFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `EBookBackendWebdavFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `EBookBackendCouchDBFactory'
Server is up and running...
Speicherzugriffsfehler (Speicherabzug geschrieben)

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: evolution-data-server 2.32.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Wed Mar 9 09:05:03 2011
ExecutablePath: /usr/lib/evolution/e-addressbook-factory
ProcCmdline: /usr/lib/evolution/e-addressbook-factory
ProcCwd: /home/gunter
SegvAnalysis:
 Segfault happened at: 0x831ee7a: mov (%ecx),%eax
 PC (0x0831ee7a) ok
 source "(%ecx)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: evolution-data-server
StacktraceTop:
 ?? () from /lib/libdbus-1.so.3
 ?? () from /lib/libdbus-1.so.3
 ?? () from /lib/libdbus-1.so.3
 ?? () from /lib/libdbus-1.so.3
 dbus_pending_call_block () from /lib/libdbus-1.so.3
Title: e-addressbook-factory crashed with SIGSEGV in dbus_pending_call_block()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
PeterPall (peterpall) wrote :
PeterPall (peterpall)
summary: - Evolution won't sync with ubuntuone in natty.
+ e-addressbook-factory crashes if .local/share/evolution/addressbook/ is
+ no more existent
PeterPall (peterpall)
description: updated
PeterPall (peterpall)
summary: - e-addressbook-factory crashes if .local/share/evolution/addressbook/ is
- no more existent
+ e-addressbook-factory crashes if I try to add new contacts to the ubuntu
+ one address book
PeterPall (peterpall)
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 remove_entry (table=0x9b910f8, bucket=0x9b91100, entry=0x9b9189c) at dbus-hash.c:487
 _dbus_hash_iter_remove_entry (iter=0xb6dfee58) at dbus-hash.c:616
 connection_timeout_and_complete_all_pending_calls_unlocked (connection=0x9b91160) at dbus-connection.c:2290
 notify_disconnected_and_dispatch_complete_unlocked (connection=0x9b91160) at dbus-connection.c:4202
 _dbus_connection_get_dispatch_status_unlocked (connection=0x9b91160) at dbus-connection.c:4253

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in evolution-data-server (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
PeterPall (peterpall)
visibility: private → public
affects: evolution-data-server (Ubuntu) → evolution-couchdb (Ubuntu)
Revision history for this message
dino99 (9d9) wrote :

This version has expired long ago; no more supported

Changed in evolution-couchdb (Ubuntu):
status: New → Invalid
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.