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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
