Opened 9 months ago

Last modified 9 months ago

#20725 new Bug

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

Attachments (0)

Change History (2)

comment:1 Changed 9 months 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 9 months 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
as new
The owner will be changed from shai to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.