New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime/race: support core dumps in race mode #16527
Comments
What is the output you get under the race detector. On Thu, Jul 28, 2016 at 11:23 PM, su21 notifications@github.com wrote:
|
without -race with |
strace.txt
|
That code comes from the sanitizer library (see https://github.com/llvm-mirror/compiler-rt/blob/929d23ef5045d955ef2c36f2bbdb3dc61eca518f/lib/sanitizer_common/sanitizer_posix_libcdep.cc#L90) The documentation for that flag says:
Given that comment, it seems like it would be difficult or impossible to fix this. |
It looks like Linux 3.4 added a |
I believe this is WAI. Set GORACE='disable_coredump=0' in your environment if you want coredumps with the race detector: $ cat https://play.golang.org/p/ZEsI1Xxyqi > main.go |
CL https://golang.org/cl/31650 mentions this issue. |
CL https://golang.org/cl/32160 mentions this issue. |
Please answer these questions before submitting your issue. Thanks!
go version
)?go version go1.7beta1 linux/amd64
go env
)?get or set resource limit via system call.
https://play.golang.org/p/ZEsI1Xxyqi
same core size limit
The text was updated successfully, but these errors were encountered: