After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 335961 - Evolution/Evolution-Data-Server crashes with failure dialog.
Evolution/Evolution-Data-Server crashes with failure dialog.
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.6.x (obsolete)
Other Linux
: High critical
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
: 338732 339387 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-25 15:11 UTC by Simon Pischniok
Modified: 2006-05-10 09:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
stacktrace (4.78 KB, text/plain)
2006-03-29 18:29 UTC, Keith Iosso
  Details
Patch (2.25 KB, patch)
2006-04-21 09:58 UTC, Devashish Sharma
none Details | Review

Description Simon Pischniok 2006-03-25 15:11:07 UTC
Steps to reproduce:
1. Start Evolution
2. First failure dialog appears and suggests to restart the application
3. After change to contacts the second failure dialog appears with the same content


Stack trace:
Debugging Information:

Backtrace was generated from '/usr/libexec/evolution-data-server-1.6'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`shared object read from target memory' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208645968 (LWP 3509)]
[New Thread -1242989664 (LWP 3538)]
[New Thread -1221731424 (LWP 3536)]
[New Thread -1210971232 (LWP 3510)]
0x00432402 in __kernel_vsyscall ()

Thread 2 (Thread -1242989664 (LWP 3538))

  • #0 __kernel_vsyscall
  • #1 __lll_mutex_lock_wait
    from /lib/libpthread.so.0
  • #2 _L_mutex_lock_70
    from /lib/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #4 POA_GNOME_Evolution_DataServer_InterfaceCheck__init
  • #5 <signal handler called>
  • #6 g_str_hash
    from /usr/lib/libglib-2.0.so.0
  • #7 g_hash_table_lookup
    from /usr/lib/libglib-2.0.so.0
  • #8 e_data_book_view_notify_update_vcard
    from /usr/lib/libedata-book-1.2.so.2
  • #9 e_book_backend_file_get_type
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendfile.so
  • #10 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #11 start_thread
    from /lib/libpthread.so.0
  • #12 clone
    from /lib/libc.so.6

Other information:
How often does this happen?
Every time I start Evolution !!!

Additional Information:
Evolution newest version included in Fedora Core 5:

rpm -qa | grep -i evolution

evolution-data-server-1.5.92-1
evolution-2.6.0-1
evolution-webcal-2.4.1-3.2

The faulure description in German:

Die Anwendung »/usr/libexec/evolution-data-server-1.6« wurde
unerwartet
beendet.

Sie können die Entwickler darüber informieren, was passiert ist und
ihnen so
dabei helfen, das Problem in den Griff zu kriegen, oder die Anwendung
jetzt neu
starten.

After this I don't have any access to my contacts, so I can't sent
mails.

Please help!
Comment 1 Simon Pischniok 2006-03-25 15:31:08 UTC
Today I installed an update of evolution-data-server, so now I have this release stand:

rpm -qa | grep -i evolution

evolution-2.6.0-1
evolution-webcal-2.4.1-3.2
evolution-data-server-1.6.0-1
Comment 2 Simon Pischniok 2006-03-25 16:43:45 UTC
I've tried something out and so I've narrowed the bug source.

At first I stopped evolution with "evolution --force-shutdown", then renamed the old .evolution directory in my profile. After this I launched evolution again. Now no failure dialog appeared and data-server worked fine.

I stopped evolution again and copied everything, without addressbook.db from the old evolution directory into the new, which has been automatically created. After launching Evolution again everything worked fine.

So now there can be only one problem, the addressbook.db file. Again, I fully stopped Evolution and copied the adressbook.db file from the old directory into the new. Now, after launching Evolution, the failure occured as mentioned above, so there is no doubt that, the addressbook file is corrupted or damaged somehow.

It is funny because I imported my addresbook from Outlook to Evolution as I started with FC3 three years ago. I upgraded from FC3 to FC4 last year without any problems. As far as I can see there is no import druid that could import my address book from any older Evolution releases. So now I am without any idea how to solve the problem.

Thanks for suggestions and help
Comment 3 Christian Kirbach 2006-03-26 01:19:47 UTC
unique stack trace

Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 4 Simon Pischniok 2006-03-27 17:32:25 UTC
Hi Christian,

I generated the stack trace with a gnome-included tool named bug-buddy-2.14.0-1, but I'll try to give you more facts as you suggested in your comment. I'll give you my comments asap! 
Comment 5 Simon Pischniok 2006-03-28 08:10:20 UTC
Hi Christian,

I followed the instructions on the page, you suggested and here comes the new stack trace:

$ gdb /usr/bin/evolution
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 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 "i386-redhat-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/evolution
Reading symbols from shared object read from target memory...(no debugging symbols found)...done.
Loaded system supplied DSO at 0xf7d000
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208371008 (LWP 3036)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
CalDAV Eplugin starting up ...
evolution-shell-Message: Killing old version of evolution-data-server...
Detaching after fork from child process 3042.
Detaching after fork from child process 3044.
Detaching after fork from child process 3046.
Detaching after fork from child process 3048.
Detaching after fork from child process 3050.
Detaching after fork from child process 3052.
Detaching after fork from child process 3054.
[New Thread -1255359584 (LWP 3055)]
[New Thread -1266250848 (LWP 3056)]
[Thread -1255359584 (LWP 3055) exited]
[New Thread -1255359584 (LWP 3057)]
[New Thread -1321829472 (LWP 3074)]
[New Thread -1332323424 (LWP 3075)]
[New Thread -1343206496 (LWP 3085)]
Detaching after fork from child process 3086.
Detaching after fork from child process 3087.
Detaching after fork from child process 3088.

(evolution:3036): Gtk-CRITICAL **: gtk_toggle_button_get_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

(evolution:3036): e-utils-WARNING **: Cannot resolve symbol 'org_gnome_new_mail_config' in plugin '/usr/lib/evolution/2.6/plugins/liborg-gnome-new-mail-notify.so' (not exported?)
BBDB spinning up...

(evolution:3036): Gtk-WARNING **: Failed to set label from markup due to error parsing markup: Fehler in Zeile 1, Zeichen 38: Element »markup« wurde geschlossen, aber das derzeit offene Element ist »b«

Program received signal SIGINT, Interrupt.
[Switching to Thread -1208371008 (LWP 3036)]
0x00f7d402 in __kernel_vsyscall ()
(gdb) thread apply all bt


Comment 6 Simon Pischniok 2006-03-28 08:21:27 UTC
Hi again,

the same procedure, but with "bt full"

$gdb /usr/bin/evolution
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 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 "i386-redhat-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/evolution
Reading symbols from shared object read from target memory...(no debugging symbols found)...done.
Loaded system supplied DSO at 0x6bd000
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208674112 (LWP 3490)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
CalDAV Eplugin starting up ...
evolution-shell-Message: Killing old version of evolution-data-server...
Detaching after fork from child process 3496.
Detaching after fork from child process 3498.
Detaching after fork from child process 3500.
Detaching after fork from child process 3502.
Detaching after fork from child process 3504.
Detaching after fork from child process 3506.
Detaching after fork from child process 3508.
[New Thread -1255662688 (LWP 3509)]
[New Thread -1266553952 (LWP 3510)]
[Thread -1255662688 (LWP 3509) exited]
[New Thread -1255662688 (LWP 3511)]
[New Thread -1323304032 (LWP 3526)]
[New Thread -1334187104 (LWP 3527)]
[New Thread -1344676960 (LWP 3529)]
[New Thread -1355166816 (LWP 3533)]
[New Thread -1355433056 (LWP 3536)]
[Thread -1355433056 (LWP 3536) exited]
[New Thread -1355433056 (LWP 3544)]
[New Thread -1365922912 (LWP 3545)]

(evolution:3490): calendar-gui-CRITICAL **: gnome_calendar_add_source: assertion `E_IS_SOURCE (source)' failed
[New Thread -1376412768 (LWP 3549)]
[New Thread -1386902624 (LWP 3550)]
[Thread -1386902624 (LWP 3550) exited]
[Thread -1365922912 (LWP 3545) exited]
[Thread -1355433056 (LWP 3544) exited]
[Thread -1376412768 (LWP 3549) exited]
calendar-gui-Message: Check if default client matches (1143473535.2808.14@sion 1143473535.2808.11@sion)
[New Thread -1376412768 (LWP 3554)]
[New Thread -1355433056 (LWP 3555)]
[Thread -1355433056 (LWP 3555) exited]
[Thread -1376412768 (LWP 3554) exited]
calendar-gui-Message: Check if default client matches (1143473535.2808.14@sion 1143473535.2808.14@sion)
[New Thread -1376412768 (LWP 3560)]
[Thread -1376412768 (LWP 3560) exited]

Program received signal SIGINT, Interrupt.
[Switching to Thread -1208674112 (LWP 3490)]
0x006bd402 in __kernel_vsyscall ()
(gdb) thread apply all bt full


Comment 7 Simon Pischniok 2006-03-28 10:50:07 UTC
Hi Christian,

I switched back to FC 4 and for verification, there are no problems with Evolution  or Evolution-Data-Server. Everything just works fine.

I'm looking foword for your comments.
Comment 8 Christian Kirbach 2006-03-28 14:46:29 UTC
thanks for responding.
hmm this trace is really odd. or corrupt, as the crash happens when
Evo is doing some Linux kernel calls. I have no ideas what to do now.
some evolution programmer will have a look at this.
Comment 9 Keith Iosso 2006-03-29 16:20:34 UTC
I am getting very much the same problem.  Without my old addressbook, no problem.  With it, immediate E-D-S crash.  New FC5 install.  With mine, when I start from the terminal, I see "CalDAV Eplugin starting up ...
libnm_glib_nm_state_cb: dbus returned an error.
  (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files"



I will also attach my stacktrace, in the hope that it will help.  

I could not figure out a way to export my data from the FC4 version of evo that I was using.  Nor could I figure out how to import the .db file into evo.  Help!
Comment 10 Simon Pischniok 2006-03-29 16:49:24 UTC
Hi Keith,

the problem as you mentioned above is already solved. There are two services which have to be switched on: NeworkManager and NetworkManagerDispatcher.
As root type:
chkconfig NetworkManager on
chkconfig NetworkManagerDispatcher on

If you switch them on then the problem should be solved.
But still, Evolution has problems with the old adressbook.db file.
Comment 11 Keith Iosso 2006-03-29 18:29:53 UTC
Created attachment 62316 [details]
stacktrace

Thanks Simon, I did as you suggested and the terminal messages about missing services went away, but E-D-S still barfed on my addressbook.  This is the stacktrace.  Please let me know if there is anything I can do to help.
Comment 12 Simon Pischniok 2006-03-29 21:12:41 UTC
Helo Maintainers,

why do I need the services "NeworkManager and NetworkManagerDispatcher" running with Evolution in FC5. In FC4, which I use now as a workaround for the bug, this is not necessary because Evolution is still runing without errors. I would like to know what is the reason to using this services?

Thanks!
Comment 13 Keith Iosso 2006-03-30 10:21:00 UTC
Hi Simon,
Looking around, I discovered a couple of options, the first of which worked for me.  
1. save entire address book as vcard on your working FC4 installation: go to address book, edit->select all, file->save as vcard, copy vcard file to fc5, rename crashing file, start fc5 evo, file->import...

2. rumor has it that there is a command line utility called evolution-addressbook-export whch can be used as:
evolution-addressbook-export --format=csv >filename

cheers,
Keith
Comment 14 Simon Pischniok 2006-04-02 19:42:15 UTC
Hi Keith :-),

ok, this is fine and works for me too. I did as you suggested first. Now I have FC5 with working Evolution installation. Many thanks for your tip !!!

It's a pitty that nobody from the developer site is able/ready to answer our questions, isn't it :-((

Cheers,
Simon
Comment 15 Sushma Rai 2006-04-19 09:11:00 UTC
*** Bug 338732 has been marked as a duplicate of this bug. ***
Comment 16 Devashish Sharma 2006-04-21 09:51:40 UTC
This was due to one of your contacts having an invalid utf-8 character.
Here is the patch which fixes this problem by converting the string representation of the contact into a valid utf-8 string.
Comment 17 Devashish Sharma 2006-04-21 09:58:27 UTC
Created attachment 64023 [details] [review]
Patch
Comment 18 Devashish Sharma 2006-04-21 09:59:21 UTC
The Patch has been committed to head.
closing this as resolved fixed.
Comment 19 Dean Brettle 2006-04-26 02:47:10 UTC
Is this fix in the evolution-data-server-1.6 branch?  If not, is there any reason not to fix it there?

Many thanks to Keith for the workaround.  FWIW, I didn't need a working FC4 installation to use the evolution-addressbook-export method.  Also, I chose to output in vcard format figuring that would minimize the chances of data loss/corruption since vcard seems to be the native format.  Lastly, I suspect that using this workaround (at least on a system with this bug) will cause loss of some or all of the data associated with contacts containing an invalid utf-8 character.  In my case, that was probably 2 contacts.

Anyway, here is the exact workaround I used:

1. Quit evolution
2. /usr/libexec/evolution/2.6/evolution-addressbook-export --format=vcard > ~/addressbook.vcard
3. mv ~/.evolution/addressbook/local/system/* ~
4. Start evolution
5. File > Import > Import a Single File > ~/addressbook.vcard


Comment 20 Lionel Dricot 2006-04-26 09:00:27 UTC
*** Bug 339387 has been marked as a duplicate of this bug. ***
Comment 21 Frederic Crozat 2006-05-10 09:03:29 UTC
Could somebody commit this fix to gnome-2-14 branch ?

I've got report (http://qa.mandriva.com/show_bug.cgi?id=22261 ) of crash which was fixed with this patch.