You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/04/16 01:59:55 UTC

[GitHub] [incubator-mxnet] DNXie opened a new issue #20181: `mxnet.ndarray.pick` crashes(segfault) when `index` is a empty tensor

DNXie opened a new issue #20181:
URL: https://github.com/apache/incubator-mxnet/issues/20181


   ## Description
   `mxnet.ndarray.pick` crashes(segfault) when `index` is a empty tensor
   
   ### Error Message
   ~~~Python
   Fatal Error: Segmentation fault
   Stack trace:
   Segmentation fault (core dumped)
   ~~~
   
   ## To Reproduce
   
   Check out the [gist](https://colab.research.google.com/drive/1W0B3mgIkMcV44-GAOyEEPaIIkudXzRFL?usp=sharing)
   ~~~python
   import numpy as np
   import mxnet
   
   mxnet.ndarray.pick(data=mxnet.nd.ones((1,1)),index=mxnet.nd.array(np.ones((0,))))
   ~~~
   
   
   ## Environment
   
   OS: ubuntu 18.04
   Python: 3.7.6
   pip: 20.0.2
   numpy: 1.18.5
   mxnet: 1.7.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org