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 2020/09/08 12:21:02 UTC

[GitHub] [incubator-mxnet] r3stl355 opened a new issue #19101: [v1.x] [MAC] test_operator.test_index_copy causes `bus error`, possible segfault

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


   ## Description
   This only happens on my Mac on v1.x. The same test on v2.0 runs and passes. I can also see that the same test succeeds on  `centos-cpu` CI. 
   Other posts for this type error i found online suggest possible segfault as an underlying problem.
   
   ## To reproduce
   `nosetests tests/python/unittest/test_operator.py:test_index_copy`
   
   ## Environment
   OS: Catalina: 10.15.6 
   
   `clang --version`:
   Apple clang version 12.0.0 (clang-1200.0.31.1)
   Target: x86_64-apple-darwin19.6.0
   Thread model: posix
   
   ## What have you tried to solve it?
   
   Commenting out https://github.com/apache/incubator-mxnet/blob/8dbed966e35b979d8f770b0d5b0ec9f707b3a2f1/tests/python/unittest/test_operator.py#L5709 prevents the error but test fails 2 lines later when comparing gradents. The same is for line 5717 and subsequent assertions
   
   
   


----------------------------------------------------------------
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] r3stl355 closed issue #19101: [v1.x] [MAC] test_operator.test_index_copy causes `bus error`, possible segfault

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


   


----------------------------------------------------------------
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 #19101: [v1.x] [MAC] test_operator.test_index_copy causes `bus error`, possible segfault

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


   @r3stl355 it forces the execution to be synchronous, and if it resolves the issue it means there's a race condition that needs to be resolved.


----------------------------------------------------------------
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] r3stl355 commented on issue #19101: [v1.x] [MAC] test_operator.test_index_copy causes `bus error`, possible segfault

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


   Thank you @szha , `MXNET_ENGINE_TYPE=NaiveEngine` did the trick, no more errors, I'm now going to read-up to understand what it does


----------------------------------------------------------------
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] github-actions[bot] commented on issue #19101: [v1.x] [MAC] test_operator.test_index_copy causes `bus error`, possible segfault

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #19101:
URL: https://github.com/apache/incubator-mxnet/issues/19101#issuecomment-688830553


   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


----------------------------------------------------------------
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 #19101: [v1.x] [MAC] test_operator.test_index_copy causes `bus error`, possible segfault

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


   @r3stl355 thanks for reporting the issue. Could you set environment variables `DMLC_LOG_STACK_TRACE_DEPTH=150 MXNET_ENGINE_TYPE=NaiveEngine` and run the same program again and share the stacktrace?


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