Alibaba Cloud Observability
Jan 27, 2025 · Backend Development
Why Does go build -race Crash with Auto‑Instrumentation? Inside Go’s Runtime
The article analyzes why using the auto‑instrumentation command `otel go build -race` causes a crash, tracing the failure to the injected runtime code, the Go‑C calling conventions, and a zeroed race context, and then presents practical fixes to prevent the crash.
DebuggingRace DetectorRuntime
0 likes · 10 min read
