#24080: Sqlite segmentation fault regression when running tests (since 1.7.2)
-------------------------------+--------------------
Reporter: stevejalim | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.7
Severity: Normal | Keywords: sqlite
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
A project has a reasonably large number of tests (~1600). As part of our
dev workflow, we run tests against sqlite first, then against postgres
before checkin.
On 1.7.1 all tests pass on sqlite, bar some deliberate DB-specific
exclusions for tests that need specific postgres features. They also all
pass on postgres.
On 1.7.2, all tests still pass on postgres (though the server needed a
restart) but the sqlite test run fails at varying points with
"segmentation fault" (and an exit code of 139, accordingly).
The segmentation fault occurs regardless of whether an in-memory or file-
based database is used. When the file-based run crashes, the DB is around
495k in size.
There is very little output, even at max verbosity, because this is coming
from something lower down than Django itself. However, because it only
started happening with 1.7.2 and goes away when we revert to 1.7.1, I am
assuming a change somewhere caused the regression.
Setup spec:
* Headless Virtualbox + Vagrant with 1GB allocated RAM
* Ubuntu 14.04 LTS, fully up to date
* libsqlite3-0 version: 3.8.2-1ubuntu2 amd64
* Python: 2.7.5 (up-to-date version for 14.04 - unclear which parts, if
any of 2.7.8 have been backported)
--
Ticket URL: <https://code.djangoproject.com/ticket/24080>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.bfd556a097b3ea928e52f014e0453972%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.