You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/04 18:13:14 UTC
[GitHub] bhavinthaker commented on issue #7335: Exception in threads kills entire process
bhavinthaker commented on issue #7335: Exception in threads kills entire process
URL: https://github.com/apache/incubator-mxnet/issues/7335#issuecomment-320317571
**Comments from Mu Li:**
Hi Cliff,
Thank you for your summary. We thought to fix it before. One solution is using C++11 execption_ptr (http://en.cppreference.com/w/cpp/error/exception_ptr) to pass all exceptions to the main thread, so that we can catch all of them at the python frontend.
This feature is not on our team roadmap now, it will be great if you can work on it.
Thanks
Mu
**Comments from Junyuan Xie:**
One problem with this is that once an operator fails inside engine it will never be complete and all subsequent operations will hang.
It?s unclear how one should recover from this.
**Comments from Junru Shao:**
Will it be a good try to
print out related operands to some log file
pass the exception to main thread
kill the operators depending on the operator that throws the exception?
Thanks,
Junru
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services