Skip to content

runtime: crash during runtime tests #8513

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

Closed
davecheney opened this issue Aug 11, 2014 · 2 comments
Closed

runtime: crash during runtime tests #8513

davecheney opened this issue Aug 11, 2014 · 2 comments
Milestone

Comments

@davecheney
Copy link
Contributor

What steps will reproduce the problem?

http://build.golang.org/log/fa67e2c7a0df4dab72f84cdd12a86f78736aed89

# GOMAXPROCS=2 runtime -cpu=1,2,4
runtime: newstack called from g=run.bash: line 61: 23954 Segmentation fault     
GOMAXPROCS=2 go test runtime -short -timeout=$(expr 300 \* $timeout_scale)s -cpu=1,2,4
Build complete, duration 16m52.523040772s. Result: error: exit status 139

There also appears to be a second segfault printing the value of g which terminates the
program completely.

Please use labels and text to provide additional information.
@davecheney
Copy link
Contributor Author

Comment 1:

There was a question if this isolated to pandaboards, and I do not believe this is the
case,
I've run this loop on a pandaboard and you get after 10 minutes a failure
+ go test runtime -short -timeout=300s -cpu=1,2,4
runtime: newstack called from g=stress.bash: line 7:  9635 Segmentation fault      go
test runtime -short -timeout=300s -cpu=1,2,4
However, on a quad core imx6 machine the same test will result in 
+ go test runtime -short -timeout=300s -cpu=1,2,4
--- FAIL: TestCgoCrashHandler-2 (0.81s)
        crash_test.go:86: output:
                wanted:
                main: recovered done
                new-thread: recovered done
                second-new-thread: recovered done
                main-again: recovered done
FAIL
FAIL    runtime 101.198s
It is interesting to note that the pandaboard is a dual core host, and the imx6 fails
with -cpus=2

@rsc
Copy link
Contributor

rsc commented Sep 18, 2014

Comment 2:

Haven't seen this in a while. Assuming it's gone.

Status changed to TimedOut.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015
@rsc rsc removed the release-go1.4 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 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

3 participants