Ticket #1119 (closed defect: wontfix)

Opened 6 years ago

Last modified 6 years ago

Contacts with Evolution addressbook.db does not start

Reported by: cayco@… Owned by: chris@…
Priority: high Milestone:
Component: openmoko-contacts Version: 2007.2
Severity: normal Keywords:
Cc: buglog@…, ross@…, erin_yueh@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

When I uploaded my evolution addressbook.db to openmoko I noticed that contacts stopped starting at
all. On terminal I got message:

* glibc detected * openmoko-contacts: munmap_chunk(): invalid pointer: 0x0002c3960 *
Aborted

I'd like to help solving this issue but how can I do that without exposing you my addressbook? :)

Attachments

ab.tar.gz (948 bytes) - added by cayco@… 6 years ago.
This file contains addressbook that sig faults openmoko-contacts

Change History

comment:1 Changed 6 years ago by ross@…

  • Cc ross@… added

Did you close and kill evolution and evolution-data-server before copying the
file from your desktop?

comment:2 Changed 6 years ago by ross@…

Oh, and the way to help debug this is to run contacts in gdb and get a stack
trace so we know what is breaking. My money is on libdb, which implies a
corrupted addressbook.

comment:3 Changed 6 years ago by cayco@…

I only close evolution front-end, evolution data server is still running.

comment:4 Changed 6 years ago by ross@…

Kill evolution-data-server and try again. If the db file is open it could be in
an inconsistent state.

comment:5 Changed 6 years ago by cayco@…

Killing evoltion do not helps.

I noticed that when I uploaded other address book, openmoko-contacts were starting ok and contacts
were visible.

Here's how I made my addressbook.db:

1) On my Mac (10.5) I exported all contacts to vcf file
2) On my Ubuntu Linux PC I imported contacts to Evolution - all contacts are visible, editable etc
3) I quit evolution and killed evolution server
3) I copied addressbook.* from ~/.evolution/addressbook/local/1197370925.584.1@cayco-desktop
into /home/root/.evolution/addressbook/local/system

How can I help? I do not have gdb on my phone...
This results

comment:6 Changed 6 years ago by ross@…

Just copy the .db file, don't copy the summary file.

If you don't have gdb available and can't install it, then you'll have to give
us your addressbook. If you can replicate with a test addressbook with only one
dummy contact, even better.

Changed 6 years ago by cayco@…

This file contains addressbook that sig faults openmoko-contacts

comment:7 Changed 6 years ago by cayco@…

Oh, and I'm quite sure that Jabber field breaks it :)

comment:8 Changed 6 years ago by ross@…

I haven't loaded it into EDS yet, but strings doesn't show a Jabber field...

It does show some very strange fields, I guess this is exported from MacOS?

comment:9 Changed 6 years ago by cayco@…

I did not say it is ;)

I just noticed another contact that has JabberID inside and makes the same error.

comment:10 Changed 6 years ago by erin_yueh@…

  • Cc erin_yueh@… added
  • Owner changed from thomas@… to chris@…

hi Chris, please help to check this issue, when you are done with all other
requirements. Thanks!

comment:11 Changed 6 years ago by chris@…

  • Status changed from new to closed
  • Resolution set to wontfix

I don't think it's realistic to support copying an evolution database from a
desktop to the neo, which runs a completely different version of eds. Using this
.db file, I don't get any segfaults (in either e-addressbook-factory or
openmoko-contacts), contacts is just unable to open the addressbook (and reports
as such).

Please file this upstream: http://bugzilla.openedhand.com/

Note: See TracTickets for help on using tickets.