GNOME Bugzilla – Bug 335961
Evolution/Evolution-Data-Server crashes with failure dialog.
Last modified: 2006-05-10 09:03:29 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 ()
+ Trace 67232
Thread 2 (Thread -1242989664 (LWP 3538))
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!
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
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
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.
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!
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
+ Trace 67290
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
+ Trace 67291
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.
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.
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!
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.
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.
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!
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
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
*** Bug 338732 has been marked as a duplicate of this bug. ***
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.
Created attachment 64023 [details] [review] Patch
The Patch has been committed to head. closing this as resolved fixed.
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
*** Bug 339387 has been marked as a duplicate of this bug. ***
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.