You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/01 13:47:19 UTC

[GitHub] [arrow] westonpace commented on issue #12527: [C++] how to run arrow::StringArray::GetString in parallel?

westonpace commented on issue #12527:
URL: https://github.com/apache/arrow/issues/12527#issuecomment-1055459002


   If that code is hanging then I don't think it is due to `a->GetString(i)`.  At a glance it would seem that method call is thread safe.
   
   I do not think it is thread safe to call `UniqueStrings.insert` from multiple threads although I would generally expect a segmentation fault and not a deadlock/hang.
   
   I have no idea what `doSomethingElse` might be doing but it could also be contributing to this deadlock.
   
   Why don't you run this in the debugger and then run `thread apply all bt` when you reach the deadlock?


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