On Sun, Oct 18, 2009 at 1:04 PM, Stefan Behnel <[email protected]> wrote: > Hi, > > while working on the Py3 exception code, I discovered that something in the > tree transformation or tree assertion code makes the Python interpreter > crash during the test suite run.
As I routinely test from 2.3 to 3.2 with debug Python builds (and UCS2, just because I always forget to use UCS4), I got these two: <...> Running tests against Cython 0.11.3 Python 3.1.1 (r311:74480, Sep 9 2009, 10:27:39) [GCC 4.4.1 20090725 (Red Hat 4.4.1-2)] compiling (c) first_assignment ... HIER1 python3.1: Objects/unicodeobject.c:839: PyUnicodeUCS2_FromFormatV: Assertion `obj' failed. Aborted <...> Running tests against Cython 0.11.3 Python 3.2a0 (py3k:75400, Oct 14 2009, 11:53:23) [GCC 4.4.1 20090725 (Red Hat 4.4.1-2)] compiling (c) first_assignment ... HIER1 python3.2: Objects/unicodeobject.c:839: PyUnicodeUCS2_FromFormatV: Assertion `obj' failed. Aborted So it it seems that PyUnicode_FromFormat (perhaps from PyErr_Format()) is called with %R format and a NULL PyObject*. > > This will run a single compile test and crashes reliably for me during the > tree-assertions phase. You may have to re-run step 2) as the first run will > 2to3-ify the source and then run the test without crashing. Only the > subsequent runs will crash reliably. > > Thanks, > > Stefan > > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev > > -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
