Skip to content
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

go build running under strace on linux/amd64 blows up sometimes #3115

Closed
alberts opened this issue Feb 23, 2012 · 4 comments
Closed

go build running under strace on linux/amd64 blows up sometimes #3115

alberts opened this issue Feb 23, 2012 · 4 comments

Comments

@alberts
Copy link
Contributor

alberts commented Feb 23, 2012

What steps will reproduce the problem?

strace -f -s1000 -ostrace.log ./make.bash

What is the expected output?

build works

What do you see instead?

sometimes build explodes with stuff like this:

# Building packages and commands for linux/amd64.
runtime
sync/atomic
errors
unicode
math
crypto/subtle
container/list
container/ring
image/color
runtime: split stack overflow: throw: 0xf8400cdaf8entersyscall < 
0x7f6d3478a000

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

linux

Which revision are you using?  (hg identify)

tip

I was trying to get the strace to debug the cgo text file busy problem.
@alberts
Copy link
Contributor Author

alberts commented Feb 23, 2012

Comment 1:

Another example:
crypto/cipher
crypto
crypto/hmac
hash/crc32
hash/adler32
./make.bash: line 96: 16287 Segmentation fault      $GOTOOLDIR/go_bootstrap install -v
std

@rsc
Copy link
Contributor

rsc commented Feb 23, 2012

Comment 2:

This looks like what Devon is seeing on issue #2675.
I wonder if it is related to signals.  If you patch in
CL 5696043 does the problem go away?

@alberts
Copy link
Contributor Author

alberts commented Feb 24, 2012

Comment 3:

Looks fixed. Cool.

@robpike
Copy link
Contributor

robpike commented Feb 26, 2012

Comment 4:

Status changed to Duplicate.

Merged into issue #2675.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants