[Bug 1036] New: Contacts crash if addressbook.db is broken

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Wed Nov 28 10:35:53 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1036

           Summary: Contacts crash if addressbook.db is broken
           Product: OpenMoko
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: openmoko-contacts
        AssignedTo: thomas at openedhand.com
        ReportedBy: hrw at openedhand.com
                CC: buglog at lists.openmoko.org


root at fic-gta01:~/.evolution/addressbook/local/system$ echo "12345" >addressbook.db

If Contacts is started with broken storage file then it crash on adding new
contact. Would be nice if it will check own files.


root at fic-gta01:/usr/bin$ DISPLAY=:0 dbus-launch gdb openmoko-contacts
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-angstrom-linux-gnueabi"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/openmoko-contacts
[Thread debugging using libthread_db enabled]
[New Thread 1088205968 (LWP 10512)]
Got path /org/gnome/evolution/dataserver/calendar/file__home_root__moko_journal_
for new calendar

(openmoko-contacts:10512): libebook-WARNING **: e-book.c:99: e-d-s proxy died

(openmoko-contacts:10512): libebook-CRITICAL **: file e-book.c: line 1349
(e_book_async_add_contact): assertion `book->priv->proxy' failed

(openmoko-contacts:10512): libebook-CRITICAL **: file e-book.c: line 997
(e_book_get_contact): assertion `book->priv->proxy' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1088205968 (LWP 10512)]
0x40c2377c in g_atomic_int_exchange_and_add () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0x40c2377c in g_atomic_int_exchange_and_add () from /usr/lib/libglib-2.0.so.0
#1  0x40bf0868 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
#2  0x00010c7c in contacts_set_current_contact ()
#3  0x0001301c in ebook_id_callback ()
#4  0x40030224 in e_book_async_add_contact () from /usr/lib/libebook-1.2.so.5
#5  0x00012fe4 in new_contact_clicked_cb ()
#6  0x40bf73a8 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#7  0x40beef6c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8  0x40bf9004 in ?? () from /usr/lib/libgobject-2.0.so.0
Cannot access memory at address 0x84



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list