evolution crashes with GSlice: assertion failed: sinfo->n_allocated > 0

Bug #1169694 reported by Norbert Kiesel
84
This bug affects 18 people
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This happens within a few minutes, but not really sure what triggers it. I'm using 2 IMAP+ connections (to gmail and to mail.office365.com).

***MEMORY-ERROR***: evolution[27334]: GSlice: assertion failed: sinfo->n_allocated > 0

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffb3baf700 (LWP 27473)]
0x00007ffff3c81037 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff3c81037 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff3c84698 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff42496b0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff429247b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ffff42927be in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff42928f2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007ffff4019d92 in __nptl_deallocate_tsd () from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007ffff4019f9c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8 0x00007ffff3d43e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) info thr
  Id Target Id Frame
  86 Thread 0x7fffb13aa700 (LWP 27475) "pool" 0x00007ffff401e05e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  85 Thread 0x7fff37dd8700 (LWP 27474) "pool" 0x00007ffff402082c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
* 84 Thread 0x7fffb3baf700 (LWP 27473) "pool" 0x00007ffff3c81037 in raise () from /lib/x86_64-linux-gnu/libc.so.6
  83 Thread 0x7fffb2bad700 (LWP 27472) "pool" 0x00007ffff401e05e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  81 Thread 0x7fff36dd6700 (LWP 27470) "pool" 0x00007ffff401e05e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  59 Thread 0x7fffb33ae700 (LWP 27447) "pool" 0x00007ffff401dca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  55 Thread 0x7fff375d7700 (LWP 27443) "pool" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
  25 Thread 0x7fffb23ac700 (LWP 27408) "evolution" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
  24 Thread 0x7fffb43b0700 (LWP 27407) "pool" 0x00007ffff401dca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  19 Thread 0x7fff45b55700 (LWP 27402) "pool" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
  18 Thread 0x7fff46756700 (LWP 27401) "evolution" 0x00007ffff401e05e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  16 Thread 0x7fff9bfff700 (LWP 27389) "evolution" 0x00007ffff401dca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  15 Thread 0x7fffb0ba9700 (LWP 27388) "evolution" 0x00007ffff401dca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
  5 Thread 0x7fffda9e6700 (LWP 27373) "evolution" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
  4 Thread 0x7fffdb3ed700 (LWP 27372) "gmain" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
  3 Thread 0x7fffdbbee700 (LWP 27371) "dconf worker" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
  2 Thread 0x7fffe092f700 (LWP 27370) "gdbus" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
  1 Thread 0x7ffff7f99a00 (LWP 27334) "evolution" 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread 1
[Switching to thread 1 (Thread 0x7ffff7f99a00 (LWP 27334))]
#0 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff3d373cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff42781dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff42786ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff4c624a5 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#4 0x0000555555557299 in main (argc=1, argv=0x7fffffffe568) at main.c:711

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: evolution 3.6.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
Uname: Linux 3.8.0-18-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Tue Apr 16 12:04:30 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-02-04 (437 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
ProcEnviron:
 TERM=gnome-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: evolution
UpgradeStatus: Upgraded to raring on 2013-04-14 (2 days ago)

Revision history for this message
Norbert Kiesel (nk-iname) wrote :
Revision history for this message
lammrag (lammrag) wrote :

I have the same error: Evolution crashes randomly. When starting it in a terminal window, I get the following message there when it crashes:

***MEMORY-ERROR***: evolution[7848]: GSlice: assertion failed: sinfo->n_allocated > 0

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evolution (Ubuntu):
status: New → Confirmed
Revision history for this message
mailwurm (seni0014) wrote :

I have the same problem.

Revision history for this message
Charles Willams (chuck-itadmins) wrote :

same here

Revision history for this message
Jase Whipp (jason-whipp) wrote :

Experiencing the same issue:

***MEMORY-ERROR***: evolution[25331]: GSlice: assertion failed: sinfo->n_allocated > 0

Ubuntu 13.04

Revision history for this message
step5 (metamorph) wrote :

Same error here:

***MEMORY-ERROR***: evolution[6662]: GSlice: assertion failed: sinfo->n_allocated > 0

Evolution crashes randomly.

I am using Evolution 3.6.4 with MAPI Plugin against an Exchange 2010 Server on Ubuntu 13.04

Revision history for this message
Tom Slominski (tomslominski) wrote :

***MEMORY-ERROR***: evolution[12803]: GSlice: assertion failed: sinfo->n_allocated > 0
Aborted (core dumped)

Evolution 3.6.4 on Ubuntu 13.04. Using a custom domain IMAP server.

Revision history for this message
Peter Clifton (pcjc2) wrote :

Likewise, buggy buggy evolution...

If you want to use the program, a workaround might be starting from a terminal with:

G_SLICE=always-malloc evolution

Its a bandaid, but if it works, the cause might be somewhere in evolution (or one of its many libraries) calling g_free() on memory acquired with the g_slice mechanism.

Finding it might be like looking for a needle in a haystack though!

Another possibility, valgrind is showing some use-after free invalid reads in webkit's renderer. These might be causing issues.

Revision history for this message
Peter Clifton (pcjc2) wrote :

Try starting evolution with:
G_SLICE=debug-blocks evolution

If it crashes out somewhere repeatable, repeat under gdb:
G_SLICE=debug-blocks gdb evolution

Then type "run" (enter), and get a backtrace with "bt" (enter) if it crashes.

I tracked my problem down to the evolution-indicator package plugin, which I crudely "fixed" with:
sudo apt-get remove evolution-indicator

Revision history for this message
manuscle (manuscle) wrote :

after removing evolution-indicator, it seems evolution is not crashing anymore.
I'm using xubuntu 13.04, evolution 3.8.2

Revision history for this message
Andres Gomez (Tanty) (tanty) wrote :

Same experience than in comment #11. After removing the evolution-indicator, the problem is not reproducible at the same rate.

Evolution keeps crashing but not that often, as it always has :(

I think this report should be moved to the "evolution-indicator" plugin if this behavior is consistent.

Revision history for this message
Brian Neltner (neltnerb) wrote :

Oh my gosh, thank you so much for this.

I've been experiencing this problem for six months, and removing evolution-indicator finally fixed it!

It was randomly crashing every few minutes with no explanation, and no where else have I seen any suggestion for a solution.

Revision history for this message
Richard Idiens (idiens) wrote :

Evolution (3.2.3) under Ubuntu 12.04 has started crashing when I try to modify an entry in the contacts list.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.