[Numpy-discussion] Unreliable crash when converting using numpy.asarray via C buffer interface
lev.maximov at gmail.com
Mon Mar 29 04:10:34 EDT 2021
I'm glad you sorted it out as the subject line sounded quite horrifying )
On Mon, Mar 29, 2021 at 2:54 PM Friedrich Romstedt <
friedrichromstedt at gmail.com> wrote:
> 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,
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion