-
Notifications
You must be signed in to change notification settings - Fork 105
Test segfault with Golang 1.12.5 #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am not sure why this is happening. Based on my testing, this issue appeared with Go 1.12. It seems related to memory mapping as the same test passes if I load the database into memory instead. It would be interesting to bisect Go to see which commit caused the issue. |
The bisect of |
Aha, the real issue seems to be the use of |
This is to ensure that the finalizer does not run before verifications finishes. Closes #55.
This turned out to be fairly easy to fix. From the Go 1.12 release notes:
I added a |
Golang 1.12.5, on Fedora Rawhide x86_64, maxminddb 1.3.0:
The text was updated successfully, but these errors were encountered: