Related to this bug: https://code.djangoproject.com/ticket/24080
I can reliably duplicate on Ubuntu 14.04 (package details at bottom) but I can't seem to create a stripped codebase to repro the issue. GDB stacktrace and package details are below. This only appears to happen for in-memory databases during a call to read the journal. Program received signal SIGSEGV, Segmentation fault. __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:166 166 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory. (gdb) bt #0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:166 #1 0x00007ffff4355ffb in memcpy (__len=4, __src=<optimized out>, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:51 #2 memjrnlRead (pJfd=0x1e1ad30, zBuf=<optimized out>, iAmt=4, iOfst=98552) at sqlite3.c:9311 #3 0x00007ffff4350fe9 in sqlite3OsRead (offset=<optimized out>, amt=4, pBuf=0x7fffffffb440, id=0x1e1ad30) at sqlite3.c:15352 #4 read32bits (fd=fd at entry=0x1e1ad30, offset=<optimized out>, pRes=pRes at entry=0x7fffffffb480) at sqlite3.c:40161 #5 0x00007ffff43817d1 in pager_playback_one_page (pPager=pPager at entry=0x1e1aad8, pOffset=pOffset at entry=0x1e1ab38, pDone=pDone at entry=0x7749f68, isMainJrnl=isMainJrnl at entry=1, isSavepnt=isSavepnt at entry=1) at sqlite3.c:41289 #6 0x00007ffff4382836 in pagerPlaybackSavepoint (pSavepoint=0x5c998d8, pPager=0x1e1aad8) at sqlite3.c:42417 #7 sqlite3PagerSavepoint (pPager=0x1e1aad8, op=op at entry=2, iSavepoint=iSavepoint at entry=0) at sqlite3.c:45643 #8 0x00007ffff4382deb in sqlite3BtreeSavepoint (p=0x1e1a9d8, op=2, iSavepoint=0) at sqlite3.c:53889 #9 0x00007ffff43af6a0 in sqlite3BtreeSavepoint (iSavepoint=<optimized out>, op=<optimized out>, p=<optimized out>) at sqlite3.c:53884 #10 sqlite3VdbeExec (p=p at entry=0x5006ba8) at sqlite3.c:3850 #11 0x00007ffff43b5ed7 in sqlite3Step (p=0x5006ba8) at sqlite3.c:64828 #12 sqlite3_step (pStmt=pStmt at entry=0x5006ba8) at sqlite3.c:64894 #13 0x00007ffff4607370 in pysqlite_step (statement=0x5006ba8, connection=<optimized out>) at /build/buildd/python2.7-2.7.6/Modules/_sqlite/util.c:37 #14 0x00007ffff4606c58 in _pysqlite_query_execute (self=0x7fffeb9bca68, multiple=<optimized out>, args=<optimized out>) at /build/buildd/python2.7-2.7.6/Modules/_sqlite/cursor.c:641 #15 0x00000000004dc9cb in PyObject_Call (kw=<optimized out>, arg=(u'ROLLBACK TO SAVEPOINT "s140737354057536_x263"',), func=<built-in method execute of SQLiteCursorWrapper object at remote 0x7fffeb9bca68>) at ../Objects/abstract.c:2529 #16 PyEval_CallObjectWithKeywords (func=<built-in method execute of SQLiteCursorWrapper object at remote 0x7fffeb9bca68>, arg=(u'ROLLBACK TO SAVEPOINT "s140737354057536_x263"',), kw=<optimized out>) at ../Python/ceval.c:3889 #17 0x000000000058840c in methoddescr_call.11071 (descr=<optimized out>, args=(u'ROLLBACK TO SAVEPOINT "s140737354057536_x263"',), kwds=0x0) at ../Objects/descrobject.c:247 #18 0x0000000000499be5 in PyObject_Call (kw=0x0, arg=(<SQLiteCursorWrapper at remote 0x7fffeb9bca68>, u'ROLLBACK TO SAVEPOINT "s140737354057536_x263"'), func=<method_descriptor at remote 0x7ffff4825a70>) at ../Objects/abstract.c:2529 Package: libsqlite3-0 Priority: important Section: libs Installed-Size: 838 Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com> Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs at debian.org> Architecture: amd64 Source: sqlite3 Version: 3.8.2-1ubuntu2 Depends: libc6 (>= 2.14) Pre-Depends: multiarch-support Filename: pool/main/s/sqlite3/libsqlite3-0_3.8.2-1ubuntu2_amd64.deb Size: 341822 MD5sum: bea32a06561406a939f10a322c0ed6b8 SHA1: 00c967b0024b6e2b21be53ec5e0c75c445dccb56 SHA256: edd482e586af852b92a1a26c0141fd4dd8959a0e59ce414f8a3ce360d7c4ef36 Description: SQLite 3 shared library Description-md5: 701b171ca60f3c96227ee4783a35419c Multi-Arch: same Homepage: http://www.sqlite.org/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu