Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(750)

Issue 97800045: code review 97800045: runtime: fix bug in GOTRACEBACK=crash causing suppressi... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by adonovan
Modified:
11 years ago
Reviewers:
rsc
CC:
rsc, golang-codereviews
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r e91434717f12 https://code.google.com/p/go/ #

Patch Set 3 : diff -r e91434717f12 https://code.google.com/p/go/ #

Patch Set 4 : diff -r afef4a014b0e https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M src/pkg/runtime/runtime.c View 1 5 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 3
adonovan
Hello rsc@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years ago (2014-04-29 17:19:53 UTC) #1
rsc
LGTM
11 years ago (2014-05-02 15:57:58 UTC) #2
adonovan
11 years ago (2014-05-02 17:07:06 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=59cef24ed471 ***

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://codereview.appspot.com/97800045
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b