/ go Public
cmd/compile: segfault in
_tsan_enter_func from systemstack when called in race mode from a generic function
Issues related to the Go compiler and/or runtime.
The path to resolution is known, but the work has not been done.
This came when trying to write some runtime test code that called
systemstackfrom a generic function. It's possible this is just not allowed for some reason, but it was surprising to me.
Here's a patch for reproducing the issue.
I can produce the failure by running this command, with the above patch applied.
Here's the failure:
When I poke at the faulting thread in
gdb, it segfaults when calling
_tsan_enter_funcat entry to the function passed to
The text was updated successfully, but these errors were encountered: