Opened 11 years ago

Closed 10 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

Description

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 11.2.0.3.0, 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 by Tim Graham, 11 years ago

Component: UncategorizedTesting framework
Triage Stage: UnreviewedAccepted

comment:2 by Shai Berger, 11 years ago

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 by Tim Graham, 10 years ago

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