Skip to content

runtime/race: support core dumps in race mode #16527

@patricksuo

Description

@patricksuo

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    go version go1.7beta1 linux/amd64
  2. What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/supei/project/jx3m/Server/go"
GORACE=""
GOROOT="/home/supei/goroot"
GOTOOLDIR="/home/supei/goroot/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build144261612=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
  1. What did you do?
    get or set resource limit via system call.

https://play.golang.org/p/ZEsI1Xxyqi

  1. What did you expect to see?
    same core size limit
  2. What did you see instead?
without -race 
rlimit core: 0 18446744073709551615
with
rlimit core: 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions