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 2017/11/21 17:40:05 UTC

[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:
users@infra.apache.org


With regards,
Apache Git Services