Pranav2612000 opened a new pull request, #3844: URL: https://github.com/apache/arrow-adbc/pull/3844
According to https://github.com/golang/go/issues/11100#issuecomment-932638093, the `-Wl,-z,nodelete` does not work on macos. This causes dlclose to be called when the shared library is dropped, which results in unexpected behaviour ( I've observed the program hangs because Go cannot kill the goroutines and so waits for them to close ) On linux, since the `-Wl,-z,nodelete` is respected, we do not see this issue. This PR fixes the problem by ensuring that we explicitly open the library with `RTLD_NODELETE` flag which ensures that `dlclose` is not called during unload Fixes #3840 -- 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]
