Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#592276: evolution: Evolution crashes when importing large mbox

100 views
Skip to first unread message

Robert Tomsick

unread,
Aug 8, 2010, 4:50:02 PM8/8/10
to
Package: evolution
Version: 2.30.2-1
Severity: important


I have encountered a reproducible crash in Evolution, triggered by the
attempted import of a large (in this case 359.1 MB) mbox file.

Steps to reproduce:

1) Launch evolution normally.
2) Select File -> Import
3) Click "Forward"
4) Select "Import a single file"
5) Click the drop-down item marked "File:"
6) In the resulting dialog, select the offending mbox.
7) Click "Open"

After step #7, the interface will freeze for approximately 10-15 seconds,
after which evolution will terminate.

The following is written to stdout upon termination:

"
GLib-ERROR **: /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmem.c:176: failed to allocate 536870912 bytes
aborting...
Aborted
"

The machine on which I have encountered this has plenty of free real memory
(3GB total, well over 1GB free at the time of the crash) in addition to 2GB
of unused swap, so I don't think it's an issue of resource exhaustion.

Please let me know if anything else is needed.

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages evolution depends on:
ii dbus 1.2.24-3 simple interprocess messaging syst
ii debconf [debconf-2.0] 1.5.33 Debian configuration management sy
ii evolution-common 2.30.2-1 architecture independent files for
ii evolution-data-server 2.30.2.1-1 evolution database backend server
ii gconf2 2.28.1-3 GNOME configuration database syste
ii gnome-icon-theme 2.30.3-1 GNOME Desktop icon theme
ii libart-2.0-2 2.3.21-1 Library of functions for 2D graphi
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra
ii libcamel1.2-14 2.30.2.1-1 The Evolution MIME message handlin
ii libcanberra-gtk0 0.24-1 Gtk+ helper for playing widget eve
ii libcanberra0 0.24-1 a simple abstract interface for pl
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libdbus-glib-1-2 0.86-1 simple interprocess messaging syst
ii libebackend1.2-0 2.30.2.1-1 Utility library for evolution data
ii libebook1.2-9 2.30.2.1-1 Client library for evolution addre
ii libecal1.2-7 2.30.2.1-1 Client library for evolution calen
ii libedataserver1.2-13 2.30.2.1-1 Utility library for evolution data
ii libedataserverui1.2-8 2.30.2.1-1 GUI utility library for evolution
ii libegroupwise1.2-13 2.30.2.1-1 Client library for accessing group
ii libenchant1c2a 1.6.0-1 a wrapper library for various spel
ii libevolution 2.30.2-1 evolution libraries
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.0-2 FreeType 2 font engine, shared lib
ii libgconf2-4 2.28.1-3 GNOME configuration database syste
ii libgdata-google1.2-1 2.30.2.1-1 Client library for accessing Googl
ii libgdata1.2-1 2.30.2.1-1 Client library for accessing Googl
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgnome-desktop-2-17 2.30.2-1 Utility library for loading .deskt
ii libgnomecanvas2-0 2.30.1-1 A powerful object-oriented display
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libgtkhtml-editor0 3.30.2-1 HTML rendering/editing library - e
ii libgtkhtml3.14-19 3.30.2-1 HTML rendering/editing library - r
ii libgweather1 2.30.2-1 GWeather shared library
ii libical0 0.44-3 iCalendar library implementation i
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libnotify1 [libnotify1- 0.5.0-2 sends desktop notifications to a n
ii libnspr4-0d 4.8.4-2 NetScape Portable Runtime Library
ii libnss3-1d 3.12.6-3 Network Security Service libraries
ii libpango1.0-0 1.28.1-1 Layout and rendering of internatio
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libsoup2.4-1 2.30.2-1 an HTTP library implementation in
ii libsqlite3-0 3.6.23.1-4 SQLite 3 shared library
ii libstartup-notification 0.10-1 library for program launch feedbac
ii libunique-1.0-0 1.1.6-1 Library for writing single instanc
ii libxml2 2.7.7.dfsg-4 GNOME XML library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages evolution recommends:
ii bogofilter 1.2.2-1 a fast Bayesian spam filter (dummy
ii evolution-plugins 2.30.2-1 standard plugins for Evolution
ii evolution-webcal 2.28.1-1 webcal: URL handler for GNOME and
ii gnome-desktop-data 2.30.2-1 Common files for GNOME desktop app
ii yelp 2.30.1+webkit-1 Help browser for GNOME

Versions of packages evolution suggests:
pn bug-buddy <none> (no description available)
pn evolution-dbg <none> (no description available)
pn evolution-exchange <none> (no description available)
pn evolution-plugins-experimenta <none> (no description available)
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii network-manager 0.8.1-1 network management framework daemo

-- debconf information:
evolution/needs_shutdown:

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Yves-Alexis Perez

unread,
Aug 8, 2010, 5:30:02 PM8/8/10
to
On dim., 2010-08-08 at 16:45 -0400, Robert Tomsick wrote:
> Please let me know if anything else is needed.

A backtrace (as reportbug should have told you, did it?). And it will be
really faster if you also report upstream directly.

It might help to provide the relevant mbox, though 350M of private mail
won't exactly be easy to provide I guess.

Cheers,
--
Yves-Alexis

signature.asc

Robert Tomsick

unread,
Aug 8, 2010, 9:30:02 PM8/8/10
to
On Sunday 08 August 2010 17:14:55 Yves-Alexis Perez wrote:
> On dim., 2010-08-08 at 16:45 -0400, Robert Tomsick wrote:
> > Please let me know if anything else is needed.
>
> A backtrace (as reportbug should have told you, did it?). And it will be
> really faster if you also report upstream directly.

Sorry about that. I'm still rather new at bug-reporting. I've attached a
backtrace to this message.

> It might help to provide the relevant mbox, though 350M of private mail
> won't exactly be easy to provide I guess.

You're right -- attaching the mbox in question isn't really an option for a
couple reasons.

Since I can't reproduce the crash with some of the smaller mbox files I have,
I'm assuming it's size-dependent.

Cheers,
Rob

backtrace.log
signature.asc

Yves-Alexis Perez

unread,
Aug 9, 2010, 1:10:01 PM8/9/10
to
On dim., 2010-08-08 at 21:19 -0400, Robert Tomsick wrote:
> On Sunday 08 August 2010 17:14:55 Yves-Alexis Perez wrote:
> > On dim., 2010-08-08 at 16:45 -0400, Robert Tomsick wrote:
> > > Please let me know if anything else is needed.
> >
> > A backtrace (as reportbug should have told you, did it?). And it will be
> > really faster if you also report upstream directly.
>
> Sorry about that. I'm still rather new at bug-reporting. I've attached a
> backtrace to this message.

Hmhm, I see nothing evolution-related in this backtrace. It might be
worth trying something like:

thread apply all backtrace full

in gdb.

>
> > It might help to provide the relevant mbox, though 350M of private mail
> > won't exactly be easy to provide I guess.
>
> You're right -- attaching the mbox in question isn't really an option for a
> couple reasons.
>
> Since I can't reproduce the crash with some of the smaller mbox files I have,
> I'm assuming it's size-dependent.

It might be related to some mail too, thought the errors message seem to
lead to a memory size too large indeed.


--
Yves-Alexis

signature.asc

Robert Tomsick

unread,
Aug 10, 2010, 4:10:01 PM8/10/10
to
On Monday 09 August 2010 12:58:37 Yves-Alexis Perez wrote:
>
> It might be related to some mail too, thought the errors message seem to
> lead to a memory size too large indeed.

I don't think it has anything to do with the contents, as I was able to
reproduce the crash by importing another similarly-sized (but entirely
different) mbox.

signature.asc

tomas k

unread,
Dec 7, 2022, 11:20:03 PM12/7/22
to
Package: evolution
Version: 3.38.3-1
Followup-For: Bug #592276
X-Debbugs-Cc: fore...@wi.rr.com

Dear Maintainer,


I upgraded evolution with a routine system upgrade, to upgrade with new packages.
The upgraded version uses a different mail format. I expected the existing email
tree to be converted to the new format.

No such luck. The upgrade just blew the tree away. But I made a full backup before the upgrade
just in case. The backup is in the old format. When I try to import it, the machine freezes
with a message in the bottom bar that it is scanning a certain directory.

After 2 to 3 minutes, a dialog box pops up saying that evolution has stopped responding.
If I click "Wait", and go do something else for a while, when I come back, the dialog is
back in a few seconds, with the same message in the bottom bar, scanning directory
such and such. But it's the same directory in the message as before.

The laptop is one of the fastest Lenovo from 2016, so processor power
shouldn't be an issue. The drive is a SSD, so it's fast too: 450MB/s

Diagnostics show no problem with memory (memtrester run 10 cycles), or
anything else. I think hardware error is not an issue. If I leave
it running overnight, it's the same the next night.

Never had this problem before. So, I think it can be traced to
the new mail format and the conversion neccesary of the backup
file data. It appears to import the raw data in the backup, but it
fails somewhere after that.

The backup is huge (100-150MB), and I haven't archived anything
ever (5-7years). And, the trash might have been quite loaded, as
I have emptied it only once. I'd say there are at least
20,000 messages in the backup.

I don't know if that matters.

I've tried purging evolution and reinstalling. Same problem.

I'm experienced with Debian, since woody. But I cannot solve
this problem. Thank you for all the help.


-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-0.bpo.1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages evolution depends on:
ii dbus 1.12.20-2
ii evolution-common 3.38.3-1
ii evolution-data-server 3.38.3-1
ii libc6 2.31-13+deb11u4
ii libcamel-1.2-62 3.38.3-1
ii libclutter-gtk-1.0-0 1.8.4-4
ii libecal-2.0-1 3.38.3-1
ii libedataserver-1.2-25 3.38.3-1
ii libevolution 3.38.3-1
ii libglib2.0-0 2.66.8-1
ii libgtk-3-0 3.24.24-4+deb11u2
ii libical3 3.0.9-2
ii libnotify4 0.7.9-3
ii libsoup2.4-1 2.72.0-2
ii libwebkit2gtk-4.0-37 2.36.7-1~deb11u1
ii libxml2 2.9.10+dfsg-6.7+deb11u2
ii psmisc 23.4-2

Versions of packages evolution recommends:
ii evolution-plugin-bogofilter 3.38.3-1
ii evolution-plugin-pstimport 3.38.3-1
ii evolution-plugins 3.38.3-1
ii yelp 3.38.3-1

Versions of packages evolution suggests:
pn evolution-ews <none>
pn evolution-plugins-experimental <none>
ii gnupg 2.2.27-2+deb11u2
ii network-manager 1.30.6-1+deb11u1

-- no debconf information
0 new messages