GNOME Bugzilla – Bug 742080
Program received signal SIGBUS, Bus error.: __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:144
Last modified: 2015-01-05 11:27:18 UTC
Created attachment 293425 [details] (gdb) set logging on … Using Debian Sid/unstable with Evolution 3.12.9~git20141130.241663-1 and SQLite 3.8.7.4 (libsqlite3-0) Evolution crashed with a bus error. Program received signal SIGBUS, Bus error. [Switching to Thread 0xa8fc0b40 (LWP 12188)] __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:144 144 ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Datei oder Verzeichnis nicht gefunden.
+ Trace 234474
Thread 28 (Thread 0xa8fc0b40 (LWP 12188))
I have no idea if this related to the SQLite upgrade from 3.8.7.2 to 3.8.7.4 or some other problem as I get crashes due to bus errors since at least Evolution 3.4, but was never able to catch it in GDB. Below is some more output from GDB commands I found to run in this case: (gdb) info registers eax 0x9114e4b0 -1860901712 ecx 0x400 1024 edx 0x9b972000 -1684594688 ebx 0xb4042cf8 -1274794760 esp 0xa8fbf2d8 0xa8fbf2d8 ebp 0x0 0x0 esi 0x400 1024 edi 0x0 0 eip 0xb51e54f9 0xb51e54f9 <__memcpy_ssse3+73> eflags 0x210202 [ IF RF ID ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) x/i $pc => 0xb51e54f9 <__memcpy_ssse3+73>: movlpd %xmm0,(%edx) (gdb) p/x $edx $1 = 0x9b972000 (gdb) p/t $eax & (sizeof(int) - 1) $2 = 0 So the problem is not unaligned access.
I am able to reproduce this the second time. Program received signal SIGBUS, Bus error.
+ Trace 234475
Thread 2759457600 (LWP 30155)
Downgrading to libsqlite3-0 3.8.7.1 from Debian Jessie/testing solves this problem for me.
(In reply to comment #2) > Downgrading to libsqlite3-0 3.8.7.1 from Debian Jessie/testing solves this > problem for me. At least I was unable to reproduce it.
For the record, I am using a 32-bit Linux kernel (3.16.x) and user space.
Richard, thank you for your reply on the sqlite-users list [1]. I am currently unable to reply via email, so I am using this medium. Sorry for that. The Debian Sources service has the exact source of the package, including `camel-db.c`, I am using [2]. [1] https://www.mail-archive.com/sqlite-users@sqlite.org/msg87897.html [2] http://sources.debian.net/src/evolution-data-server/3.12.9~git20141128.5242b0-2/camel/camel-db.c/
Can someone please test and verify that adding -DSQLITE_MAX_MMAP_SIZE=0 to the SQLite build clears this problem?
This [1] evolution threads ends with a note about the SQLite working properly when there is enough /var space, thus I close this as NotGnome. [1] https://mail.gnome.org/archives/evolution-list/2014-December/msg00135.html