golang/go

runtime: crash on 1.14 with unexpected return pc, fatal error: unknown caller pc [1.14 backport]

gopherbot opened this issue · 5 comments

@danscales requested issue #37664 to be considered for backport to the next 1.14 minor release.

@gopherbot please consider this for backport to 1.14, it's a regression (and the fix is quite simple).

This is a regression in defer behavior for 1.14 for programs that do repeated panics, recovers, and re-panics (which could be because of a recursive, interpreter-like function). The actual fix is fairly simple, so it would be good to get this into 1.14.1.

Approving as this is a serious issue without a viable workaround. /cc @toothrot @cagedmantis

Change https://golang.org/cl/222818 mentions this issue: [release-branch.go1.14] runtime: fix problem with repeated panic/recover/re-panics and open-coded defers

Closed by merging fd85ff5 to release-branch.go1.14.