• Russ Cox's avatar
    runtime: fix 386 signal handler bug · 53a529ab
    Russ Cox authored
    Cannot assume that g == m->curg at time of signal.
    Must save actual g and restore.
    
    Fixes flaky crashes with messages like
    
    throw: malloc mlookup
    throw: malloc/free - deadlock
    throw: unwindstack on self
    throw: free mlookup
    
    (and probably others) when running cgo.
    
    R=iant
    CC=golang-dev
    https://golang.org/cl/1648043
    53a529ab
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libcgo Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.386 Loading commit data...
Make.amd64 Loading commit data...
Make.arm Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.conf Loading commit data...
Make.pkg Loading commit data...
all-arm.bash Loading commit data...
all-nacl.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...