Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: run time crash calling Windows functions #23533
What did you do?
I use cgo to work with Microsoft Direct2D API. All looks ok until I call
Call to any of these functions causes runtime crash (reproduced each time). Following errors I get with Go 1.10 beta2 (with 1.9.3 there is less information, but them is the of same kind - "stack split at bad time" & "Exception" with registers).
I expect no panic.
Code for reproduce (checked on Windows 10 amd64):
Your code appears to be converting Windows
I'm going to close this since it looks like that is the problem here. Please comment if you disagree.