[Numpy-discussion] Unreliable crash when converting using numpy.asarray via C buffer interface

Friedrich Romstedt friedrichromstedt at gmail.com
Mon Mar 29 03:52:34 EDT 2021


Hi Matti, Sebastian and Lev,

Am Mo., 15. Feb. 2021 um 18:50 Uhr schrieb Lev Maximov <lev.maximov at gmail.com>:
>
> Try adding
>     view->suboffsets = NULL;
>     view->internal = NULL;
> to Image_getbuffer

finally I got it working easily using Lev's pointer cited above.  I
didn't follow the valgrind approach furthermore, since I found it
likely that it'd produce the same finding.

This is just to let you know; I applied the fix several weeks ago.

Many thanks,
Friedrich


More information about the NumPy-Discussion mailing list