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 638189 - Evolution failed to start (GLib-ERROR ....failed to allocate xxxxxx bytes) after having imported email folder
Evolution failed to start (GLib-ERROR ....failed to allocate xxxxxx bytes) af...
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.28.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-12-28 14:43 UTC by Marco Pallotta
Modified: 2010-12-29 10:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evolution --debug (1.47 KB, text/plain)
2010-12-28 14:52 UTC, Marco Pallotta
Details

Description Marco Pallotta 2010-12-28 14:43:35 UTC
After having imported my old evolution emails (2.22.3.1 in Ubuntu 8.04) into evolution 2.28.3-1 (Ubuntu 10.04), via backup and restore settings feature, evolution itself doesn't start anymore but it crashes with the message 

"
Evolution:7195): camel-WARNING **: camel_exception_get_id called with NULL parameter.

GLib-ERROR **: /build/buildd/glib2.0-2.24.1/glib/gmem.c:137: failed to allocate 3790181772 bytes
aborting...
Aborted
"

My email account is about 2GB.
Comment 1 Marco Pallotta 2010-12-28 14:52:07 UTC
Created attachment 177139 [details]
evolution --debug
Comment 2 Akhil Laddha 2010-12-28 15:18:20 UTC
Are you trying to import data from i586 (32 bit) system to x86_64 (64 bit) ?

Please keep copy of your back up file, close evolution and remove folder.db under ~/.evolution/ and then restart evolution, it will recreate folder.db
Comment 3 Marco Pallotta 2010-12-28 15:52:49 UTC
I'm trying to import data from x86_64 (Ubuntu 8.04 with evo 2.22) to x86 system (Ubuntu 10.04 with evo 2.28-3).

Unfortunately I have no folder.db file under ~/.evolution after the import.
The only db files that I have are: secmod.db, key3.db, cert8.db, camel-cert.db
Comment 4 Matthew Barnes 2010-12-28 16:35:17 UTC
This has been fixed already in later releases.  It was related to largefile support, and E-D-S and Evo having different ideas for sizeof(off_t).  Closing as obsolete.
Comment 5 Marco Pallotta 2010-12-29 06:59:51 UTC
Ok Matthew, but do you have a workaround (without updating evolution as it's quite integrated into gnome version of many distro like Ubuntu) for those like me that have this issue?

Many Thanks.
Comment 6 Marco Pallotta 2010-12-29 10:48:23 UTC
I confirm that the issue happens when converting from different evolution versions and from different architectures (from x86 to x86_64)
Comment 7 Marco Pallotta 2010-12-29 10:50:58 UTC
pardon ...from x86_64 to x86
from x86_64 to x86_64 (and from evo 2.22 to evo 2.28) the migration went ok even if with another error (but it's not related to this one)