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


   ## Description
   `mxnet.ndarray.SequenceMask` and `mxnet.ndarray.op.SequenceMask` aborts with 
segfault
   
   ### Error Message
   ~~~Python
   
   Segmentation fault: 11
   
   Stack trace:
     [bt] (0) 
/root/miniconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3c27360) 
[0x7fae3af96360]
   terminate called after throwing an instance of 'std::system_error'
     what():  Resource deadlock avoided
   Aborted (core dumped)
   ~~~
   
   ## To Reproduce
   The reproducing code can be found in this 
[gist](https://colab.research.google.com/drive/15FYBrMcTkyNz80z90tDlX6IHR2qMPlOP?usp=sharing).
   ~~~python
   import mxnet
   mxnet.ndarray.op.SequenceMask(data=mxnet.nd.ones((1,1)), sequence_length = 
mxnet.nd.array([1e+18]), use_sequence_length=True)
   ~~~
   
   
   ## Environment
   
   OS: ubuntu 18.04
   Python: 3.7.6
   pip: 20.0.2
   numpy: 1.18.5
   mxnet: 1.8.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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to