You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2024/05/29 14:41:23 UTC

Re: [I] Thread deadlock in ObjectOutputStream [arrow]

pitrou commented on issue #41862:
URL: https://github.com/apache/arrow/issues/41862#issuecomment-2137587950

   Copying the temptative diagnosis I initially [posted](https://lists.apache.org/thread/d5gymtc6kj0d102k37xck8yywsyvpn7y) on the dev ML:
   
   It seems the problem lies here:
   https://github.com/apache/arrow/blob/9f5899019d23b2b1eae2fedb9f6be8827885d843/cpp/src/arrow/filesystem/s3fs.cc#L1858
   
   The Future is marked finished with the ObjectOutputStream's mutex taken, 
   and the Future's callback then triggers a chain of event which leads to 
   calling the ObjectOutputStream destructor, which in turn tries to take 
   the lock.
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org