Opened 10 years ago

Closed 9 years ago

#20725 closed Bug (fixed)

Oracle+Python3: Django test suite segfaults

Reported by: Shai Berger Owned by: Shai Berger
Component: Database layer (models, ORM) Version: 1.6-beta-1
Severity: Normal Keywords: oracle python3
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


A segfault is generated when running the full test select_related_onetoone.tests.ReverseSelectRelatedTestCase. The segfault happens on different tests within this class, depending on details of the invocation (and version of Python3), but the test-case always creates a segfault.

Tested on Debian Testing (amd64), against cx_Oracle 5.1.2 (latest released at this point), Oracle instant client, and Oracle server 11g release 11.2 Enterprise Edition;

Tested on both master and the 1.6 branch;

Tested with:

System's python3:

Python 3.2.4 (default, May  8 2013, 20:55:18) 
[GCC 4.7.3] on linux2

Self-built Python 3.3.1:

Python 3.3.1 (default, May  6 2013, 16:18:33) 
[GCC 4.7.2] on linux

Self-built Python 3.3.2:

Python 3.3.2 (default, Jul 10 2013, 00:09:35) 
[GCC 4.7.3] on linux

Change History (3)

comment:1 Changed 10 years ago by Tim Graham

Component: UncategorizedTesting framework
Triage Stage: UnreviewedAccepted

comment:2 Changed 10 years ago by Shai Berger

Component: Testing frameworkDatabase layer (models, ORM)

It's a problem with the Oracle backend (or, rather, its dependencies), not with the testing framework.

comment:3 Changed 9 years ago by Tim Graham

Resolution: fixed
Status: newclosed

This is fixed with cx_Oracle 5.1.3 per Shai. I have also been able to run the tests on Oracle with Python 3.

Note: See TracTickets for help on using tickets.
Back to Top