Bug 455 - Contacts doesn't work well on RC1 image
Summary: Contacts doesn't work well on RC1 image
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 0.9 M4
Assignee: Edwin Zhai
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-13 19:28 UTC by Edwin Zhai
Modified: 2010-12-21 06:07 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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