[GitHub] cjolivier01 commented on issue #8388: Exit race condition on library handle usage
cjolivier01 commented on issue #8388: Exit race condition on library handle usage URL: https://github.com/apache/incubator-mxnet/issues/8388#issuecomment-349867455 Please reopen if necessary 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] cjolivier01 commented on issue #8388: Exit race condition on library handle usage
cjolivier01 commented on issue #8388: Exit race condition on library handle usage URL: https://github.com/apache/incubator-mxnet/issues/8388#issuecomment-346104322 yes, I tried reproducing this but could not. However, I think your assessment is correct -- _LIB gets destroyed before data, since 'data' doesn't take the normal 'going out of scope' destruction path and gets destroyed during general cleanup, which appears to not be deterministic in order. It does not appear to be related to the engine shutdown, which was the focus of my previous shutdown fix. I do not know if there is a way to avoid this except to use an exception to exit or something like that (which could be caught near a benign entry point), which will allow scope-destruction to occur in an organized manner. Do you think we can close this issue? 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] cjolivier01 commented on issue #8388: Exit race condition on library handle usage
cjolivier01 commented on issue #8388: Exit race condition on library handle usage URL: https://github.com/apache/incubator-mxnet/issues/8388#issuecomment-338876038 This sort of error doesn?t look familiar. What?s the difference in behavior of just letting the script finish rather than calling exit(0)? I?m not a python expert ? does exit(0) cause a more immediate exit than reaching th end of the script? Is python shutdown procedure different? 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: us...@infra.apache.org With regards, Apache Git Services