mirror of
https://github.com/golang/go
synced 2024-11-14 19:50:21 -07:00
runtime: set gp.syscallbp from entersyscallblock_handoff
This was an oversight and is causing a few failures, most notably on Solaris and Illumos, but also occasionally on the Linux builders. Change-Id: I38bd28537ad01d955675f61f9b1d42b9ecdd1ef0 Reviewed-on: https://go-review.googlesource.com/c/go/+/580875 Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
1f4bcee2cd
commit
6737f4cee5
@ -4428,6 +4428,7 @@ func entersyscallblock() {
|
||||
save(pc, sp, bp)
|
||||
gp.syscallsp = gp.sched.sp
|
||||
gp.syscallpc = gp.sched.pc
|
||||
gp.syscallbp = gp.sched.bp
|
||||
if gp.syscallsp < gp.stack.lo || gp.stack.hi < gp.syscallsp {
|
||||
sp1 := sp
|
||||
sp2 := gp.sched.sp
|
||||
|
Loading…
Reference in New Issue
Block a user