evolution segmentation fault

Hi all, have a friend that is using evolution 2.32 and he was shutting down suse 11.4 and did have his evolution email open, and then as the machine was shutting down, there was a powercut. Upon restarting, evolution would not launch. went to command line and tried launching evolution for more output, this is what follows

evolution-shell-Message: Network disconnected. Forced offline.

(evolution:21039): evolution-mail-CRITICAL **: e_mail_store_foreach: assertion `store_table != NULL’ failed
Migrating cached data
Migrating config data
Migrating local user data
mv /home/thomas/.evolution/mail/local/folders.db /home/thomas/.local/share/evolution/mail/local/folders.db
FAILED: Destination file already exists
rmdir /home/thomas/.evolution/mail/local
FAILED: Directory not empty (contents follows)
folders.db
rmdir /home/thomas/.evolution/mail
FAILED: Directory not empty (contents follows)
ztfr-sort
BrianTracy
aPTS
Drafts
local
Junk E-mail
aPBS
NewsLets
aaFLF-recd
aCurrent
Data
aPersonal
rmdir /home/thomas/.evolution/templates
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/addressbook
FAILED: Directory not empty (contents follows)
views
rmdir /home/thomas/.evolution/tasks
FAILED: Directory not empty (contents follows)
tasks
views
rmdir /home/thomas/.evolution/inbox
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/calendar
FAILED: Directory not empty (contents follows)
views
rmdir /home/thomas/.evolution/drafts
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/memos
FAILED: Directory not empty (contents follows)
views
rmdir /home/thomas/.evolution/outbox
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/trash
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/sent-mail
FAILED: Directory not empty (contents follows)
new
tmp
cur
Segmentation fault

also when i look at the size of his .evolution folder where emails should be stored, the size is 8.9mb but this folder should be way over a gb of data! What is going on, where have the emails gone?? Is is possible that these can just be lost after a powercut? Anyone know how to solve this one?

On 02/08/2012 08:26 AM, firestomper412 wrote:
> What is going on, where have the emails gone?? Is is
> possible that these can just be lost after a powercut?

sure it could happen, would depend on the file system in use on /home
(do you know what that is?) and exactly what was going inside
evolution when the power was cut and what consequently what got messed
up…

i think the more you (or your friend) does with that machine until you
find an evolution expert, the more likely you will have data loss…if
you have not already…

if it were my machine, and i had important data in evolution i would not
try to start it again until i had found assistance of an evolution experts…

note: there may be several here, but i guess there are many experts in
openSUSE have never used evolution…so, i suggest you are in the wrong
forum…

so, while you hang out here waiting for an evolution expert [that is
sure not me] i strongly suggest you find an evolution/gnome forum…

and, i wonder if your friend has a good backup?

> Anyone know how
> to solve this one?

not me, and if it were my data i would not try until i found someone who
understood why evolution started up moving files around…apparently
trying to move data base folders (probably/maybe containing emails and
address books) around to places they already existed…

and, tried and tried and tried to do an impossible task until it crashed
the machine (i guess it tied up so much RAM it couldn’t continue)

hang around there are lots here smarter than me. (but find a second,
expert opinion)


DD http://tinyurl.com/DD-Caveat
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

First, create a backup of your /home/thomas.
No, first start posting output between CODE tags. There’s a howto about it on the forums.

From what you post, it looks like Evolution thinks it needs to migrate it’s data to a new place, or finds data folders in two places, i.e. ~/.evolution and ~/.local/share/evolution. It may have been working on that when you shut down the machine, not being able to cleanly shut this process down.
There’s a couple of things you could try,after backing up /home/thomas !!

  1. Assume that the migration already has completed, so remove what triggers it:

mkdir ~/SAVED_EVOLUTION
cd ~/SAVED_EVOLUTION
cp -r ~/.evolution .
cp -r ~/.local/share/evolution .
mv ~/.evolution ~/.evolution.orig

then start Evolution and see what happens. If this doesn’t work, we assume that all still is in the old place, and try to use that, thus forcing a new migration:


rm -rf ~/.evolution    ### if created by test above
cp -r  ~/.evolution.orig ~/.evolution
mv ~/.local/share/evolution ~/.local/share/evolution.orig

then start Evolution and see what happens.

Mind, this way you have a copy of the Evolution folders as they were in ~/SAVED_EVOLUTION.

That’s what I can think of right now.

hi there, many thanks for the reply, will give this ago and post back, but if anyone has any other solutions, please post.

ok so i tried the steps that you gave me, this is what resulted from part 1:

(evolution:5231): evolution-mail-CRITICAL **: e_mail_store_foreach: assertion `store_table != NULL’ failed
Segmentation fault

evolution did not start, then did second part, resulted in this:

(evolution:5307): evolution-mail-CRITICAL **: e_mail_store_foreach: assertion `store_table != NULL’ failed
Migrating cached data
Migrating config data
Migrating local user data
mv /home/thomas/.evolution/mail/local/folders.db /home/thomas/.local/share/evolution/mail/local/folders.db
rmdir /home/thomas/.evolution/mail/local
rmdir /home/thomas/.evolution/mail
FAILED: Directory not empty (contents follows)
ztfr-sort
BrianTracy
aPTS
Drafts
Junk E-mail
aPBS
NewsLets
aaFLF-recd
aCurrent
Data
aPersonal
rmdir /home/thomas/.evolution/templates
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/addressbook
FAILED: Directory not empty (contents follows)
views
rmdir /home/thomas/.evolution/tasks
FAILED: Directory not empty (contents follows)
tasks
views
rmdir /home/thomas/.evolution/inbox
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/calendar
FAILED: Directory not empty (contents follows)
views
rmdir /home/thomas/.evolution/drafts
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/memos
FAILED: Directory not empty (contents follows)
views
rmdir /home/thomas/.evolution/outbox
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/trash
FAILED: Directory not empty (contents follows)
new
tmp
cur
rmdir /home/thomas/.evolution/sent-mail
FAILED: Directory not empty (contents follows)
new
tmp
cur

(evolution:5307): GLib-GObject-CRITICAL **: Object class EMFolderTree doesn’t implement property ‘paste-target-list’ from interface ‘ESelectable’

(evolution:5307): GLib-GObject-CRITICAL **: Object class EMFolderTree doesn’t implement property ‘copy-target-list’ from interface ‘ESelectable’

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL’ failed

(evolution:5307): camel-WARNING **: CamelMboxFolder::sync() set its GError but then reported success

(evolution:5307): camel-WARNING **: Error message was: no such table: Sent

(evolution:5307): camel-WARNING **: CamelMboxFolder::sync() set its GError but then reported success

(evolution:5307): camel-WARNING **: Error message was: no such table: Inbox

(evolution:5307): camel-WARNING **: CamelMboxFolder::sync() set its GError but then reported success

(evolution:5307): camel-WARNING **: Error message was: no such table: Drafts

(evolution:5307): camel-WARNING **: CamelMboxFolder::sync() set its GError but then reported success

(evolution:5307): camel-WARNING **: Error message was: no such table: Templates

(evolution:5307): camel-WARNING **: CamelMboxFolder::sync() set its GError but then reported success

(evolution:5307): camel-WARNING **: Error message was: no such table: Outbox

evolution loaded, but no emails, so just took what it had backed up and put that in the /.evolution folder and relaunched and all the folders with their emails are there, except no messages in inbox, no sent items and no address book (but found backup of address book). I also think that evolution trimmed the size of certain folders, as am sure this guy had a lot of emails in certain folders which dated back to 2009, but in certain folders (which looked important and might have lots of data) there were only emails dating back to middle of last year.

So i think for the most part evolution is sorted. thanks for the help.