Opened 2 years ago

Closed 16 months ago

#20725 closed Bug (fixed)

Oracle+Python3: Django test suite segfaults

Reported by: shai Owned by: shai
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 2 years ago by timo

  • Component changed from Uncategorized to Testing framework
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 2 years ago by shai

  • Component changed from Testing framework to Database layer (models, ORM)

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

comment:3 Changed 16 months ago by timo

  • Resolution set to fixed
  • Status changed from new to closed

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