-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/cgo: misleading report on crash in cgo code #3797
Labels
Milestone
Comments
The original problem was the my_* calls rely on thread-local state to be initialized. I was not pedantically initializing this thread-local state and a goroutine migrating across threads was leading to this crash. I now pedantically initialize the thread locals in every cgo calls with a special set of wrappers. |
This issue was closed by revision b0a29f3. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: