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/01/27 17:14:26 UTC

[GitHub] [incubator-mxnet] DNXie opened a new issue #19798: floating point exception in mxnet.ndarray.depth_to_space when block_size is negative large number

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


   ## Description
   floating point exception in `mxnet.ndarray.depth_to_space` when `block_size` is negative large number
   
   ### Error Message
   ~~~python
   Floating point exception (core dumped)
   ~~~
   
   ## To Reproduce
   
   ~~~python
   import mxnet
   mxnet.ndarray.depth_to_space(data=mxnet.nd.ones((1,1,1,1)), block_size=-2147483648)
   ~~~
   
   ## 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] access2rohit edited a comment on issue #19798: floating point exception in mxnet.ndarray.depth_to_space when block_size is negative large number

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


   @DNXie it should have failed gracefully and given an error for -ve block size as an invalid parameter. This needs to be fixed.


-- 
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] szha commented on issue #19798: floating point exception in mxnet.ndarray.depth_to_space when block_size is negative large number

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


   I can reproduce on master too.
   ```
   Fatal Error: Segmentation fault: 11
   Stack trace:
     4   ???                                 0x0000000000000000 0x0 + 0
     5   libstdc++.6.dylib                   0x0000000111455d5a _ZL16get_adjusted_ptrPKSt9type_infoS1_PPv + 74
   [1]    59428 segmentation fault  ipython
   ```
   
   @access2rohit would you mind taking a look?


----------------------------------------------------------------
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] access2rohit commented on issue #19798: floating point exception in mxnet.ndarray.depth_to_space when block_size is negative large number

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


   @DNXie it should have failed gracefully and given an error for -ve block size and invalid parameter. This needs to be fixed.


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