You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/08/16 06:19:15 UTC

[GitHub] [incubator-mxnet] leeyeetonn opened a new issue #18941: Segmentation fault in mxnet.contrib.autograd.mark_variables

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


   ## Description
   (A clear and concise description of what the bug is.)
   It seems random ndarray can trigger `mxnet.contrib.autograd.mark_variables` to have segfault. Please see the provided code for example.
   ### Error Message
   (Paste the complete error message. Please also include stack trace by setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=10` before running your script.)
   >Segmentation fault: 11
   Stack trace:
     [bt] (0) /root/miniconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3c27360) [0x7efea4dda360]
   ## To Reproduce
   (If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
   ```python
   import mxnet
   import numpy as np
   grads = mxnet.nd.array(np.random.rand(1))
   vars = mxnet.nd.array(np.random.rand(1))
   mxnet.contrib.autograd.mark_variables(gradients=grads, variables=vars)
   ```
   ### Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1. run the provided code in python interpreter or as a script
   2.
   
   ## What have you tried to solve it?
   
   1.
   2.
   
   ## Environment
   
   We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
   ```
   curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python
   
   # paste outputs here
   ```
   Got 404 when trying to get the script.
   
   Some environment information:
   
   * OS: ubuntu 18.04
   * Python: 3.7.6
   * pip: 20.0.2
   * numpy: 1.18.5
   * mxnet: 1.6.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



[GitHub] [incubator-mxnet] leeyeetonn closed issue #18941: Segmentation fault in mxnet.contrib.autograd.mark_variables

Posted by GitBox <gi...@apache.org>.
leeyeetonn closed issue #18941:
URL: https://github.com/apache/incubator-mxnet/issues/18941


   


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



[GitHub] [incubator-mxnet] leeyeetonn commented on issue #18941: Segmentation fault in mxnet.contrib.autograd.mark_variables

Posted by GitBox <gi...@apache.org>.
leeyeetonn commented on issue #18941:
URL: https://github.com/apache/incubator-mxnet/issues/18941#issuecomment-674572092


   doesn't seem to be able to reproduce the provided example in the nightly version. Closing this one in favor of #18944.


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