Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime/cgo: -extldflags=-stack_size=NNN does not set stack size used by runtime/cgo #28024
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Not my exact problem (still trying to isolate it into a sample, cannot make "preparePanic" lock) but one showing setting the stack size does not help (note stack size returned by pthread):
First attempt: calling Go callback causes a crash
Second attempt with no callback showing a clean execution (comment out in repro.h last printf calling goCallback):