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

Issue 44070046: code review 44070046: runtime: unblock signals when we try to core dump (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by minux1
Modified:
11 years, 7 months ago
Reviewers:
mikio, iant
CC:
golang-dev, iant
Visibility:
Public.

Description

runtime: unblock signals when we try to core dump Fixes issue 6988.

Patch Set 1 #

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

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

Total comments: 1

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

Patch Set 5 : diff -r ecccf07e7f9d https://code.google.com/p/go #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -1 line) Patch
M src/pkg/runtime/os_darwin.h View 1 2 chunks +1 line, -1 line 0 comments Download
M src/pkg/runtime/os_darwin.c View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/os_dragonfly.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/os_dragonfly.c View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/os_freebsd.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/os_freebsd.c View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/os_linux.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/os_linux.c View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/os_netbsd.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/os_netbsd.c View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/runtime/os_openbsd.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/os_openbsd.c View 1 2 3 1 chunk +6 lines, -0 lines 1 comment Download
M src/pkg/runtime/signal_unix.c View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
minux1
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 7 months ago (2013-12-19 22:24:59 UTC) #1
iant
https://codereview.appspot.com/44070046/diff/40001/src/pkg/runtime/os_darwin.c File src/pkg/runtime/os_darwin.c (right): https://codereview.appspot.com/44070046/diff/40001/src/pkg/runtime/os_darwin.c#newcode525 src/pkg/runtime/os_darwin.c:525: runtime·memclr((byte *)&zero, sizeof zero); Use sigset_none. Here and in ...
11 years, 7 months ago (2013-12-19 22:35:27 UTC) #2
minux1
PTAL. On 2013/12/19 22:35:27, iant wrote: > https://codereview.appspot.com/44070046/diff/40001/src/pkg/runtime/os_darwin.c#newcode525 > src/pkg/runtime/os_darwin.c:525: runtime·memclr((byte *)&zero, sizeof zero); > ...
11 years, 7 months ago (2013-12-19 22:39:55 UTC) #3
iant
LGTM Thanks.
11 years, 7 months ago (2013-12-19 22:59:03 UTC) #4
minux1
*** Submitted as https://code.google.com/p/go/source/detail?r=1c0b5e9550c0 *** runtime: unblock signals when we try to core dump Fixes ...
11 years, 7 months ago (2013-12-20 01:45:10 UTC) #5
mikio
leave to minux https://codereview.appspot.com/44070046/diff/80001/src/pkg/runtime/os_openbsd.c File src/pkg/runtime/os_openbsd.c (right): https://codereview.appspot.com/44070046/diff/80001/src/pkg/runtime/os_openbsd.c#newcode307 src/pkg/runtime/os_openbsd.c:307: runtime·sigprocmask(SIG_SETMASK, &sigset_none); ouch
11 years, 7 months ago (2013-12-20 01:57:17 UTC) #6
minux1
11 years, 7 months ago (2013-12-20 02:03:06 UTC) #7
On Thu, Dec 19, 2013 at 8:57 PM, <mikioh.mikioh@gmail.com> wrote:

> https://codereview.appspot.com/44070046/diff/80001/src/
> pkg/runtime/os_openbsd.c#newcode307
> src/pkg/runtime/os_openbsd.c:307: runtime·sigprocmask(SIG_SETMASK,
> &sigset_none);
> ouch
>
oops, thank you for pointing it out.

https://codereview.appspot.com/38030045
Sign in to reply to this message.

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