[New-bugs-announce] [issue22373] PyArray_FromAny tries to deallocate double: 12 (d)

Riccardo report at bugs.python.org
Tue Sep 9 20:28:41 CEST 2014


New submission from Riccardo:

Hi,
I found this strange behaviour of PyArray_FromAny that manifest only inside a parallel region of openmp.
I am using python 2.7.4 and numpy 1.8.0

*** Reference count error detected
an attempt was made to deallocate 12 (d) ***
and this is due to the PyArray_FromAny function that apparently does something also to the reference of NPY_DOUBLE or invisibly uses some kind of global variable generating race condition in a parallel implementation?
If i insert PyArray_FromAny in a critical region the error never pops up.

Best Regards,
Riccardo

P.s. i tried to send you more details and a piece of code but some characters are not accepted by your e-mail, ask me if you want more details

----------
messages: 226655
nosy: Il_Fox
priority: normal
severity: normal
status: open
title: PyArray_FromAny tries to deallocate double: 12 (d)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22373>
_______________________________________


More information about the New-bugs-announce mailing list