runtime: traceback throw from VDSO reachable via raw asmcgocall #50504
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
This split from #49182 (comment).
On 386,
__kernel_vsyscall
is reachable fromcgo_start_thread
, which is called viaasmcgocall
.The signal handler won't properly detect raw
asmcgocall
calls as cgo calls becausesighandler
checksg.m.incgo
, which is only set incgocall
.I believe the correct approach here is to push
g.m.incgo
(and probablyg.m.ncgo
) adjustments fromcgocall
toasmcgocall
.The text was updated successfully, but these errors were encountered: