Looks like this failed in reading the finalizer goroutine's status. I'm guessing the finalizer goroutine just never got queued up to run (note that the finalizer goroutine is just created by the first SetFinalizer call).
I think the goroutine profile code may need to read its status and check its properties more carefully.
changed the title
runtime: SIGSEGV in readgstatus via goroutineProfileWithLabels on openbsd-arm-jsingMay 10, 2022