DNXie commented on issue #20049:
URL: 
https://github.com/apache/incubator-mxnet/issues/20049#issuecomment-805342975


   Btw,  `mxnet.ndarray.op.sample_gamma` and `mxnet.ndarray.op.sample_normal` 
have similar crash
   
   
   ~~~python
   mxnet.ndarray.op.sample_gamma(alpha=mxnet.nd.ones((4,)), 
beta=mxnet.nd.array(np.ones((0,))))
   ~~~
   Error Message:
   ~~~python
   Segmentation fault: 11
   
   Stack trace:
     [bt] (0) 
/root/miniconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3c27360) 
[0x7f159d475360]
   terminate called after throwing an instance of 'std::system_error'
     what():  Resource deadlock avoided
   Aborted (core dumped)
   ~~~
   
   ~~~python
   mxnet.ndarray.op.sample_normal(mu=mxnet.nd.ones((4,)) 
sigma=mxnet.nd.array(np.ones((0,))))
   ~~~
   
   Error Message:
   ~~~python
   
   Segmentation fault: 11
   
   Stack trace:
     [bt] (0) 
/root/miniconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3c27360) 
[0x7fc7f27cb360]
   terminate called after throwing an instance of 'std::system_error'
     what():  Resource deadlock avoided
   Aborted (core dumped)
   ~~~


-- 
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