#24080: Sqlite segmentation fault regression when running tests (since 1.7.2)
-----------------------------------+------------------------------------
     Reporter:  stevejalim         |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Testing framework  |                  Version:  master
     Severity:  Normal             |               Resolution:
     Keywords:  sqlite             |             Triage Stage:  Accepted
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------
Changes (by davidszotten):

 * status:  closed => new
 * resolution:  invalid =>


Comment:

 i can reproduce on 2.7.9

 {{{
 $ python --version
 Python 2.7.9

 $ python ./tests/runtests.py -v2  admin_views.tests.AdminViewBasicTest
 # [snip]
 ...
 test_sort_indicators_admin_order (admin_views.tests.AdminViewBasicTest)
 ... ok
 Segmentation fault: 11
 }}}

 with `faulthandler`:

 {{{
 $  python ./tests/runtests.py -v2  admin_views.tests.AdminViewBasicTest
 [snip]

 Current thread 0x00007fff791a1300 (most recent call first):
   File "/Users/david/dev/django/django/db/backends/sqlite3/base.py", line
 316 in execute
   File "/Users/david/dev/django/django/db/backends/utils.py", line 62 in
 execute
   File "/Users/david/dev/django/django/db/backends/base/base.py", line 214
 in _savepoint_rollback
   File "/Users/david/dev/django/django/db/backends/base/base.py", line 254
 in savepoint_rollback
   File "/Users/david/dev/django/django/db/transaction.py", line 252 in
 __exit__
   File "/Users/david/dev/django/django/test/testcases.py", line 950 in
 _rollback_atomics
   File "/Users/david/dev/django/django/test/testcases.py", line 1003 in
 _fixture_teardown
   File "/Users/david/dev/django/django/test/testcases.py", line 862 in
 _post_teardown
   File "/Users/david/dev/django/django/test/testcases.py", line 190 in
 __call__
   File
 "/Users/david/.pythonz/pythons/CPython-2.7.9/lib/python2.7/unittest/suite.py",
 line 108 in run
   File
 "/Users/david/.pythonz/pythons/CPython-2.7.9/lib/python2.7/unittest/suite.py",
 line 70 in __call__
   File
 "/Users/david/.pythonz/pythons/CPython-2.7.9/lib/python2.7/unittest/runner.py",
 line 151 in run
   File "/Users/david/dev/django/django/test/runner.py", line 178 in
 run_suite
   File "/Users/david/dev/django/django/test/runner.py", line 211 in
 run_tests
   File "./tests/runtests.py", line 256 in django_tests
   File "./tests/runtests.py", line 434 in <module>
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24080#comment:14>
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/068.be87b16e0bf692cdbb7bdc631e68a48c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to