[Numpy-discussion] Testsuite fails with Python 2.7.3rc1 and 3.2.3rc1 (Debian)

Charles R Harris charlesr.harris at gmail.com
Sat Apr 7 21:04:27 EDT 2012


On Sat, Apr 7, 2012 at 6:41 PM, Charles R Harris
<charlesr.harris at gmail.com>wrote:

>
>
> On Sat, Apr 7, 2012 at 5:32 PM, Sandro Tosi <matrixhasu at gmail.com> wrote:
>
>> On Sun, Apr 1, 2012 at 12:25, Ralf Gommers <ralf.gommers at googlemail.com>
>> wrote:
>> > OK, that makes sense. So there are six test runs; for normal and debug
>> > builds of 2.6.7, 2.7.3rc1 and 3.2.3rc2. Only the debug builds of the RCs
>> > have a problem, debug build of 2.6.7 is fine.
>>
>> exactly.
>>
>> > So I'd think that most likely there is a problem with how the debug
>> versions
>> > of the RCs were built.
>>
>> it sounds possible: is there a way to isolate the failing test, so
>> that I can provide a minimal test code for further investigation to
>> python maintainer?
>>
>>
> Possibly related to ticket #1578<http://projects.scipy.org/numpy/ticket/1578>.
>
>

I can reproduce at least one crash with python2.7 debug at arrayobject.c

Program received signal SIGSEGV, Segmentation fault.
0x00000036a5882b94 in free () from /lib64/libc.so.6
(gdb) bt
#0  0x00000036a5882b94 in free () from /lib64/libc.so.6
#1  0x00007ffff12ce399 in array_dealloc (self=0x1bc50d8)
    at numpy/core/src/multiarray/arrayobject.c:408
#2  0x00007ffff12b58dd in PyArray_Return (mp=0x1bc50d8)
    at numpy/core/src/multiarray/scalarapi.c:830
#3  PyArray_Return (mp=0x1bc50d8) at
numpy/core/src/multiarray/scalarapi.c:803
#4  0x00007ffff12b5d68 in array_any (array=0x1b69de8, args=<optimized out>,
    kwds=<optimized out>) at numpy/core/src/multiarray/methods.c

I don't know if it is the same.

Chuck

>
> Chuck
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120407/2340bd1d/attachment.html>


More information about the NumPy-Discussion mailing list