commit | 28c515f40faba1cd1589dcc3f6f0fe3e2f5f6325 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri May 02 13:06:58 2014 -0400 |
committer | Alan Donovan <adonovan@google.com> | Fri May 02 13:06:58 2014 -0400 |
tree | d96ff06430c2ed9938f1af84e2a2e0a217624352 | |
parent | 8afa086ce67b44abb9c9639efca214db7acf7b3f [diff] |
runtime: fix bug in GOTRACEBACK=crash causing suppression of core dumps. Because gotraceback is called early and often, its cache commits to the value of getenv("GOTRACEBACK") before getenv is even ready. So now we reset its cache once getenv becomes ready. Panicking programs now dump core again. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/97800045