aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary
diff options
context:
space:
mode:
authorElias Naur <elias.naur@gmail.com>2017-08-11 19:46:45 +0200
committerElias Naur <elias.naur@gmail.com>2017-08-11 22:30:12 +0000
commit057a34a281a52b474184614ac63b808974e22549 (patch)
tree84210467bc5244367e46b94f2456a8962745c681 /src/encoding/binary
parent51ba2bb81923298f08b8ec6d50d0c579b4b63ef3 (diff)
downloadgo-057a34a281a52b474184614ac63b808974e22549.tar.xz
runtime: fix crashing with foreign signal handlers on Darwin
The dieFromSignal runtime function attempts to forward crashing signals to a signal handler registered before the runtime was initialized, if any. However, on Darwin, a special signal handler trampoline is invoked, even for non-Go signal handlers. Clear the crashing signal's handlingSig entry to ensure sigtramp forwards the signal. Fixes the darwin/386 builder. Updates #20392 Updates #19389 Change-Id: I441a3d30c672cdb21ed6d8f1e1322d7c0e5b9669 Reviewed-on: https://go-review.googlesource.com/55032 Run-TryBot: Elias Naur <elias.naur@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/binary')
0 files changed, 0 insertions, 0 deletions