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/03/19 03:21:42 UTC

[GitHub] [incubator-mxnet] DNXie opened a new issue #20049: mxnet.ndarray.op.sample_negative_binomial aborts

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


   ## Description
   mxnet.ndarray.op.sample_negative_binomial  crashes(aborts)
   
   ### Error Message
   ~~~python
   
   Segmentation fault: 11
   
   terminate called without an active exception
   Aborted (core dumped)
   ~~~
   
   ## To Reproduce
   The reproducing code can be found in this [gist](https://colab.research.google.com/drive/1oxewROcHxXvuRw45eFQ8c4MSXutGnZ_I?usp=sharing)
   ~~~python
   import mxnet
   import numpy as np
   mxnet.ndarray.op.sample_negative_binomial(p=mxnet.nd.array(np.ones((0,))),k=mxnet.nd.ones((3)))
   ~~~
   
   
   ## 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


[GitHub] [incubator-mxnet] DNXie edited a comment on issue #20049: mxnet.ndarray.op.sample_negative_binomial aborts

Posted by GitBox <gi...@apache.org>.
DNXie edited a comment on issue #20049:
URL: https://github.com/apache/incubator-mxnet/issues/20049#issuecomment-805342975


   Btw,  `mxnet.ndarray.op.sample_gamma`,  `mxnet.ndarray.op.sample_normal` and `mxnet.ndarray.sample_generalized_negative_binomial` 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)
   ~~~
   
   ~~~python
   import mxnet
   import numpy as np
   mxnet.ndarray.sample_generalized_negative_binomial(alpha=mxnet.nd.array(np.ones((0,))), mu=mxnet.nd.ones((4,)))
   ~~~
   
   Error Message:
   ~~~python
   
   Segmentation fault: 11
   
   Stack trace:
     [bt] (0) /root/miniconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3c27360) [0x7f37260e7360]
   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:
users@infra.apache.org



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


[GitHub] [incubator-mxnet] DNXie commented on issue #20049: mxnet.ndarray.op.sample_negative_binomial aborts

Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org



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