westonpace commented on PR #33858:
URL: https://github.com/apache/arrow/pull/33858#issuecomment-1509009063

   Yes, the R crashes are relevant.  With this fix we ensure that 
`AWS::ShutdownAPI` is the last call we make to AWS.  However, AWS has static 
global objects of its own.  So it is entirely possible that these have been 
destroyed by the time `AWS::ShutdownAPI` is called.  In fact, by prolonging the 
call to `ShutdownAPI` here it seems we are making the R situation worse because 
it is more likely these other static globals have been destroyed.  There is an 
open AWS issue for this at https://github.com/aws/aws-sdk-cpp/issues/1550  .  
However, it does not sound like it will be resolved quickly.  In the meantime 
an R atexit hook of some kind will be required (technically it has always been 
required but we've gotten lucky).


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to