Bug 455

Summary: Contacts doesn't work well on RC1 image
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Edwin Zhai <edwin.zhai>
Component: meta-yoctoAssignee: Edwin Zhai <edwin.zhai>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Edwin Zhai 2010-10-13 19:28:47 UTC
In RC1 image, contacts starts with an error dialog "Error opening address book
Got error 20 when opening book". When adding new contact, sometimes pop up one error dialog "Cannot add contact: file e-book.c: line 342 (e_book_add_contacct):assertion 'book->priv->proxy' failed".
Comment 1 Edwin Zhai 2010-10-22 01:54:29 UTC
It's strange that this bug only happen when start contacts for the 1st time on new created image. After that, everything runs well.

/usr/libexec/e-addressbook-factory(from eds-dbus) will be executed via Dbus when contacts started to handle addressbook. I found when this bug happend, there is a seg fault from e-addressbook-factory.

e-addressbook-factory would try to open a data named ~/.evolution/addressbook/local/system/addressbook.db and create the data base if not exist(for the 1st time), then add openhand as 1st contact.

The root cause is that after creation the DB handler is not saved properly, so that a NULL pointer reference happen when add openhand as contact.

Fix will be out soon.
Comment 2 Edwin Zhai 2010-10-22 01:56:08 UTC
Pls. see e_book_backend_file_load_source @ addressbook/backends/file/e-book-backend-file.c