Evolution fails to restore from backup after upgrade to Ubuntu 10.04 from 8.04

Asked by David Koch

I backed up my Evolution Email in Hardy using Evolution's backup option under the file menu. I then did a clean install of Lucid. After installing 10.04, I started Evolution, and was asked if I wanted to restore from a backup. I checked the box to do the restore and navigated to my backup file "evolution-backup.tar.gz" (3.3GB).

The hard drive churned for about 10 minutes, after which another dialog box appears saying "Restoring Evolution Data" "Please wait while Evolution is restoring your data. This may take a while depending on the amount of data in your account. Restoring from folder /home/username/evolution-backup.tar.gz".

This lasts for
Another dialog box pops up that says "The summary format of the Evolution mailbox folders has been moved to SQLite since Evolution 2.24. Please be patient while Evolution....." (window disappeared before I could finish reading it). Then the window abruptly disappears due to a Segmentation fault. After that, if I try to start Evolution, it tries to migrate folders again, and suddenly closes.

Here is is the terminal output:

username@mycomputer:~$ evolution
addressbook_migrate (0.0.0)
username@mycomputer:~$ evolution
** Message: First result 0
.evolution/
** Message: Second result 0
.evolution/backup-restore-gconf.xml
** Message: Third result 0
** Message: Sanity check result 1:0 0
** Message: First result 0
.evolution/
** Message: Second result 0
.evolution/backup-restore-gconf.xml
** Message: Third result 0
** Message: evolution --force-shutdown
Shutting down evolution-data-server-2.28 (Evolution Calendar file and webcal backend / Evolution Addressbook file backend)
Shutting down evolution-exchange-storage (Evolution Calendar Exchange backend / Evolution Addressbook Exchange backend)
Shutting down evolution-alarm-notify (Evolution Calendar alarm notification service)
** Message: mv /home/username/.evolution/ /home/username/.evolution-old/
** Message: mv /home/username/.camel_certs ~/.camel_certs_old
** Message: cd /home/username && gzip -cd '/home/username/evolution-backup.tar.gz'| tar xf -
** Message: gconftool-2 --load /home/username/.evolution/backup-restore-gconf.xml
** Message: rm -rf /home/username/.evolution/backup-restore-gconf.xml
** Message: rm -rf /home/username/.evolution-old/
** Message: rm -rf /home/username/.camel_certs_old
** Message: rm /home/username/.evolution/.running
rm: cannot remove `/home/username/.evolution/.running': No such file or directory
** Message: evolution
username@mycomputer:~$
(evolution:2871): camel-WARNING **: camel_exception_get_id called with NULL parameter.
Segmentation fault

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu evolution Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

Maybe test if comment #10 helps.
Websearch found some hints:
http://ubuntuforums.org/showthread.php?s=d6b9af3110c4cba7066cd3daa60d1569&t=1473440&page=3

Revision history for this message
Sam_ (and-sam) said :
#2

Edit:
>> comment #10 in bug report

Revision history for this message
David Koch (simiodk) said :
#3

Thank you, Sam

This did get a little farther, but still seems to have failed.

Here are the terminal messages:

username@mycomputer:~$ evolution
addressbook_migrate (0.0.0)
** Message: First result 0
.evolution/
** Message: Second result 0
.evolution/backup-restore-gconf.xml
** Message: Third result 0
** Message: Sanity check result 1:0 0
** Message: First result 0
.evolution/
** Message: Second result 0
.evolution/backup-restore-gconf.xml
** Message: Third result 0
** Message: evolution --force-shutdown
Shutting down evolution-data-server-2.28 (Evolution Calendar file and webcal backend / Evolution Addressbook file backend)
Shutting down evolution-exchange-storage (Evolution Calendar Exchange backend / Evolution Addressbook Exchange backend)
Shutting down evolution-alarm-notify (Evolution Calendar alarm notification service)
** Message: mv /home/username/.evolution/ /home/username/.evolution-old/
** Message: mv /home/username/.camel_certs ~/.camel_certs_old
** Message: cd /home/username && gzip -cd '/home/username/extrback/evolution-backup/evolution-backup.tar.gz'| tar xf -
** Message: gconftool-2 --load /home/username/.evolution/backup-restore-gconf.xml
** Message: rm -rf /home/username/.evolution/backup-restore-gconf.xml
** Message: rm -rf /home/username/.evolution-old/
** Message: rm -rf /home/username/.camel_certs_old
** Message: rm /home/username/.evolution/.running
rm: cannot remove `/home/username/.evolution/.running': No such file or directory
** Message: evolution
username@mycomputer:~$
(evolution:4040): camel-WARNING **: camel_exception_get_id called with NULL parameter.
*** glibc detected *** evolution: double free or corruption (fasttop): 0xb2f4dac8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x8815591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0x8816de8]
/lib/tls/i686/cmov/libc.so.6(+0x70b11)[0x881ab11]
/lib/tls/i686/cmov/libc.so.6(realloc+0xdd)[0x881af9d]
/lib/libglib-2.0.so.0(g_realloc+0x3f)[0x485e00f]
/usr/lib/libgdk-x11-2.0.so.0(+0x2bc99)[0x3fa7c99]
/usr/lib/libgdk-x11-2.0.so.0(+0x2af34)[0x3fa6f34]
/usr/lib/libgdk-x11-2.0.so.0(gdk_region_union+0x8e)[0x3fa873e]
/usr/lib/libgdk-x11-2.0.so.0(+0x3996c)[0x3fb596c]
/usr/lib/libgdk-x11-2.0.so.0(+0x3a2cc)[0x3fb62cc]
/usr/lib/libgtk-x11-2.0.so.0(+0x26c4eb)[0x13944eb]
/usr/lib/libgtk-x11-2.0.so.0(+0x26c57f)[0x139457f]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_queue_resize+0x7b)[0x13978eb]
/usr/lib/libgtk-x11-2.0.so.0(+0x125cfe)[0x124dcfe]
/usr/lib/libgtk-x11-2.0.so.0(gtk_label_set_text+0xae)[0x1250aae]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x3e633)[0x5952633]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40345)[0x5954345]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40319)[0x5954319]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40319)[0x5954319]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40319)[0x5954319]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40319)[0x5954319]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40319)[0x5954319]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40319)[0x5954319]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40319)[0x5954319]
/usr/lib/evolution/2.28/components/libevolution-mail.so(+0x40406)[0x5954406]
/lib/libglib-2.0.so.0(+0x65def)[0x487fdef]
/lib/tls/i686/cmov/libpthread.so.0(+0x596e)[0x36896e]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0x8877a4e]
======= Memory map: ========
00110000-00181000 r-xp 00000000 08:05 3675831 /usr/lib/evolution/2.28/libetable.so.0.0.0
00181000-00182000 r--p 00070000 08:05 3675831 /usr/lib/evolution/2.28/libetable.so.0.0.0
00182000-00184000 rw-p 00071000 08:05 3675831 /usr/lib/evolution/2.28/libetable.so.0.0.0
00184000-001b3000 r-xp 00000000 08:05 3673774 /usr/lib/libssl3.so
001b3000-001b5000 r--p 0002e000 08:05 3673774 /usr/lib/libssl3.so
001b5000-001b6000 rw-p 00030000 08:05 3673774 /usr/lib/libssl3.so
001b6000-00236000 r-xp 00000000 08:05 3673772 /usr/lib/libsqlite3.so.0.8.6
00236000-00237000 r--p 0007f000 08:05 3673772 /usr/lib/libsqlite3.so.0.8.6
00237000-00238000 rw-p 00080000 08:05 3673772 /usr/lib/libsqlite3.so.0.8.6
00238000-00239000 rw-p 00000000 00:00 0
00239000-0023c000 r-xp 00000000 08:05 3673646 /usr/lib/libplc4.so
0023c000-0023d000 r--p 00002000 08:05 3673646 /usr/lib/libplc4.so
0023d000-0023e000 rw-p 00003000 08:05 3673646 /usr/lib/libplc4.so
0023e000-0024f000 r-xp 00000000 08:05 3673299 /usr/lib/libgpilotd.so.2.2.0
0024f000-00250000 ---p 00011000 08:05 3673299 /usr/lib/libgpilotd.so.2.2.0
00250000-00251000 r--p 00011000 08:05 3673299 /usr/lib/libgpilotd.so.2.2.0
00251000-00253000 rw-p 00012000 08:05 3673299 /usr/lib/libgpilotd.so.2.2.0
00253000-00259000 r-xp 00000000 08:05 2228409 /lib/libusb-0.1.so.4.4.4
00259000-0025a000 r--p 00005000 08:05 2228409 /lib/libusb-0.1.so.4.4.4
0025a000-0025c000 rw-p 00006000 08:05 2228409 /lib/libusb-0.1.so.4.4.4
0025c000-00268000 r-xp 00000000 08:05 3673436 /usr/lib/libicalvcal.so.0.44.0
00268000-0026a000 r--p 0000b000 08:05 3673436 /usr/lib/libicalvcal.so.0.44.0
0026a000-0026b000 rw-p 0000d000 08:05 3673436 /usr/lib/libicalvcal.so.0.44.0
0026b000-0026c000 rw-p 00000000 00:00 0
0026d000-002a9000 r-xp 00000000 08:05 3675837 /usr/lib/evolution/2.28/libeutil.so.0.0.0
002a9000-002aa000 r--p 0003c000 08:05 3675837 /usr/lib/evolution/2.28/libeutil.so.0.0.0
002aa000-002ac000 rw-p 0003d000 08:05 3675837 /usr/lib/evolution/2.28/libeutil.so.0.0.0
002ac000-002b3000 r-xp 00000000 08:05 3673777 /usr/lib/libstartup-notification-1.so.0.0.0
002b3000-002b4000 r--p 00006000 08:05 3673777 /usr/lib/libstartup-notification-1.so.0.0.0
002b4000-002b5000 rw-p 00007000 08:05 3673777 /usr/lib/libstartup-notification-1.so.0.0.0
002b5000-002b6000 r-xp 00000000 08:05 3670459 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
002b6000-002b7000 r--p 00000000 08:05 3670459 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
002b7000-002b8000 rw-p 00001000 08:05 3670459 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
002b8000-002da000 r-xp 00000000 08:05 3673749 /usr/lib/libsmime3.so
002da000-002dc000 r--p 00021000 08:05 3673749 /usr/lib/libsmime3.so
002dc000-002dd000 rw-p 00023000 08:05 3673749 /usr/lib/libsmime3.so
002dd000-0030e000 r-xp 00000000 08:05 3673583 /usr/lib/libnspr4.so
0030e000-0030f000 r--p 00030000 08:05 3673583 /usr/lib/libnspr4.so
0030f000-00310000 rw-p 00031000 08:05 3673583 /usr/lib/libnspr4.so
00310000-00312000 rw-p 00000000 00:00 0
00314000-00316000 r-xp 00000000 08:05 3673648 /usr/lib/libplds4.so
00316000-00317000 r--p 00001000 08:05 3673648 /usr/lib/libplds4.so
00317000-00318000 rw-p 00002000 08:05 3673648 /usr/lib/libplds4.so
00318000-0034c000 r-xp 00000000 08:05 3673641 /usr/lib/libpisock.so.9.0.2
0034c000-0034d000 r--p 00033000 08:05 3673641 /usr/lib/libpisock.so.9.0.2
0034d000-00351000 rw-p 00034000 08:05 3673641 /usr/lib/libpisock.so.9.0.2
00351000-00355000 rw-p 00000000 00:00 0
00355000-00357000 r-xp 00000000 08:05 3673513 /usr/lib/liblpint-bonobo.so.0.0.0
00357000-00358000 r--p 00001000 08:05 3673513 /usr/lib/liblpint-bonobo.so.0.0.0
00358000-00359000 rw-p 00002000 08:05 3673513 /usr/lib/liblpint-bonobo.so.0.0.0
0035a000-00361000 r-xp 00000000 08:05 3673580 /usr/lib/libnotify.so.1.1.3
00361000-00362000 r--p 00006000 08:05 3673580 /usr/lib/libnotify.so.1.1.3
00362000-00363000 rw-p 00007000 08:05 3673580 /usr/lib/libnotify.so.1.1.3
00363000-00378000 r-xp 00000000 08:05 2228381 /lib/tls/i686/cmov/libpthread-2.11.1.so
00378000-00379000 r--p 00014000 08:05 2228381 /lib/tls/i686/cmov/libpthread-2.11.1.so
00379000-0037a000 rw-p 00015000 08:05 2228381 /lib/tls/i686/cmov/libpthread-2.11.1.so
0037a000-0037c000 rw-p 00000000 00:00 0
0037c000-0038f000 r-xp 00000000 08:05 3672985 /usr/lib/libbluetooth.so.3.5.0
0038f000-00390000 r--p 00012000 08:05 3672985 /usr/lib/libbluetooth.so.3.5.0
00390000-00391000 rw-p 00013000 08:05 3672985 /usr/lib/libbluetooth.so.3.5.0
00391000-00398000 r-xp 00000000 08:05 3672868 /usr/lib/libSM.so.6.0.1
00398000-00399000 r--p 00006000 08:05 3672868 /usr/lib/libSM.so.6.0.1
00399000-0039a000 rw-p 00007000 08:05 3672868 /usr/lib/libSM.so.6.0.1
0039a000-0039e000 r-xp 00000000 08:05 3670065 /usr/lib/libgthread-2.0.so.0.2400.1
0039e000-0039f000 r--p 00003000 08:05 3670065 /usr/lib/libgthread-2.0.so.0.2400.1
0039f000-003a0000 rw-p 00004000 08:05 3670065 /usr/lib/libgthread-2.0.so.0.2400.1
Aborted

Revision history for this message
David Koch (simiodk) said :
#4

Ok, for my emails (the most important part of Evolution for me), this is my slow and sluggish work-around.

First, I reset Evolution by running "gconftool-2 --recursive-unset /apps/evolution"
Next, I started Evolution, which now starts as if it were the first time, and attempted to restore from backup. It makes it most of the way through, but then fails. At this point, Evolution will not start.

Next, I deleted the .evolution folder from my home directory.

At this point, I created a new folder (corresponding to one of my backed-up folders from the old system).

Now, using tar (or the graphical compression program), I extracted one of my folders to the desktop, started Evolution (which does start now), and *IMPORTED* my old folder as if it were a Berkley mbox file (which it really is) into Evolution (File -> Import), putting it into the folder I just created.

That succeeded.

Now I am going to restore each of the other folders and inboxes the same way. Tedious, but it gets me up and running at least for mailboxes.

Then I will need to figure out how to do the same for Calendar, Contacts, etc. if they have not been correctly imported.

Revision history for this message
David Koch (simiodk) said :
#5

Fail... Small folders and mailboxes with just a few megabytes worth of data are importing fine. But when a large folder is imported (1GB or more), Evolution crashes.

Can you help with this problem?

Provide an answer of your own, or ask David Koch for more information if necessary.

To post a message you must log in.