Skip to content

runtime: TestStackMem failing #7490

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
gpaul opened this issue Mar 7, 2014 · 4 comments
Closed

runtime: TestStackMem failing #7490

gpaul opened this issue Mar 7, 2014 · 4 comments
Milestone

Comments

@gpaul
Copy link
Contributor

gpaul commented Mar 7, 2014

For all these, GOMAXPROCS=1

This works:
go test -v -cpu 1,1 runtime -test.run=TestStackMem

This succeeds the first time and fails the second time.

go test -v -cpu 1,1 runtime -test.run=TestStack
=== RUN TestStackOverflow
--- PASS: TestStackOverflow (0.15 seconds)
=== RUN TestStackSplit
--- PASS: TestStackSplit (0.01 seconds)
=== RUN TestStackMem
--- PASS: TestStackMem (3.14 seconds)
    stack_test.go:1574: Consumed 2MB for stack mem
    stack_test.go:1580: Inuse 0MB for stack mem
=== RUN TestStackOverflow
--- PASS: TestStackOverflow (0.16 seconds)
=== RUN TestStackSplit
--- PASS: TestStackSplit (0.01 seconds)
=== RUN TestStackMem
--- FAIL: TestStackMem (3.14 seconds)
    stack_test.go:1574: Consumed 0MB for stack mem
    stack_test.go:1580: Inuse 17592186044415MB for stack mem
    stack_test.go:1582: Stack inuse: want 4194304, got 18446744073709547520
FAIL
exit status 1
FAIL    runtime 6.606s


uname -a
Linux build 3.6.11-4.fc16.x86_64 #1 SMP Tue Jan 8 20:57:42 UTC 2013 x86_64 x86_64 x86_64
GNU/Linux

go version
[tip] +72b4b258b09b Fri Mar 07 16:02:25 2014 +1100 linux/amd64
@gpaul
Copy link
Contributor Author

gpaul commented Mar 7, 2014

Comment 1:

Maybe this should just reopen issue #5034

@dvyukov
Copy link
Member

dvyukov commented Mar 7, 2014

Comment 2:

cl/72440043 must fix it

Labels changed: added release-go1.3, repo-main.

Owner changed to @dvyukov.

Status changed to Started.

@dvyukov
Copy link
Member

dvyukov commented Mar 7, 2014

Comment 3:

This issue was closed by revision 1a89e63.

Status changed to Fixed.

@gpaul
Copy link
Contributor Author

gpaul commented Mar 10, 2014

Comment 4:

This still fails.
go test -v runtime -test.run=Stack
=== RUN TestStackOverflow
--- PASS: TestStackOverflow (0.20 seconds)
=== RUN TestLFStack
--- PASS: TestLFStack (0.00 seconds)
=== RUN TestLFStackStress
--- PASS: TestLFStackStress (0.04 seconds)
=== RUN TestStackSplit
--- PASS: TestStackSplit (0.01 seconds)
=== RUN TestStackMem
--- FAIL: TestStackMem (3.14 seconds)
    stack_test.go:1574: Consumed 2MB for stack mem
    stack_test.go:1580: Inuse 17592186044415MB for stack mem
    stack_test.go:1582: Stack inuse: want 4194304, got 18446744073709543424
FAIL
exit status 1
FAIL    runtime 3.397s

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@rsc rsc removed the release-go1.3 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

4 participants