• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...