alinaliBQ commented on issue #48714:
URL: https://github.com/apache/arrow/issues/48714#issuecomment-3712558239

   Thanks both for your insights. @lidavidm If Arrow doesn't use `absl::Mutex` 
directly then I think it's likely not an issue with Arrow itself. @pitrou I 
think you are right that deadlock detection might be enabled in C++ 20, because 
Arrow didn't have deadlock errors before (to my knowledge). 
   The fix I found for Flight SQL ODBC 
(https://github.com/apache/arrow/issues/48637) was to disable the deadlock 
detection with
   
   ```
   absl::SetMutexDeadlockDetectionMode(absl::OnDeadlockCycle::kIgnore);
   ```
   
   Other things I checked:
   - [compile with same option] tried rebuilding the project from scratch but 
still get same deadlock error. 
   - [backtrace] couldn't get a backtrace as the error is from upstream. Visual 
Studio code doesn't report a stack for this either.
   
   It's a good learning experience for me as `absl` is new to me. I am glad 
there is a workaround for this issue. Thanks!


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