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

cmd/link: panic: runtime error: index out of range #10718

Closed
bradfitz opened this issue May 6, 2015 · 2 comments
Closed

cmd/link: panic: runtime error: index out of range #10718

bradfitz opened this issue May 6, 2015 · 2 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented May 6, 2015

Noticed during a trybot run on openbsd-386 at f09a660:

https://storage.googleapis.com/go-build-log/98a8c347/openbsd-386-gce56_e093cb69.log

...
?       cmd/pprof/internal/tempfile [no test files]
?       cmd/trace   [no test files]
?       cmd/yacc    [no test files]

##### GOMAXPROCS=2 runtime -cpu=1,2,4
--- FAIL: TestGcSys-4 (0.58s)
    crash_test.go:92: building source: exit status 2
        # _/tmp/go-build672872450
        panic: runtime error: index out of range

        goroutine 1 [running]:
        cmd/internal/ld.getvarint(0x192adda8, 0x6f)
            /tmp/buildlet-scatch822141721/go/src/cmd/internal/ld/pcln.go:46 +0x11b
        cmd/internal/ld.pciternext(0x192add9c)
            /tmp/buildlet-scatch822141721/go/src/cmd/internal/ld/pcln.go:81 +0xea
        cmd/internal/ld.stkcheck(0x1866a950, 0x0, 0x0)
            /tmp/buildlet-scatch822141721/go/src/cmd/internal/ld/lib.go:1456 +0x437
        cmd/internal/ld.dostkcheck()
            /tmp/buildlet-scatch822141721/go/src/cmd/internal/ld/lib.go:1400 +0x1b9
        cmd/internal/ld.Ldmain()
            /tmp/buildlet-scatch822141721/go/src/cmd/internal/ld/pobj.go:226 +0x17d2
        main.main()
            /tmp/buildlet-scatch822141721/go/src/cmd/8l/obj.go:44 +0x1d
FAIL
FAIL    runtime 109.404s
2015/05/06 09:50:46 Failed: exit status 1

Error: src/all.bash failed: exit status 1
@bradfitz bradfitz added this to the Go1.5 milestone May 6, 2015
@bradfitz

This comment has been minimized.

Copy link
Contributor Author

@bradfitz bradfitz commented May 6, 2015

@rsc rsc changed the title cmd/internal/ld: panic: runtime error: index out of range cmd/link: panic: runtime error: index out of range Jun 8, 2015
@rsc

This comment has been minimized.

Copy link
Contributor

@rsc rsc commented Jun 29, 2015

Unless this keeps happening, ascribing to fixed memory corruption.

@rsc rsc closed this Jun 29, 2015
@golang golang locked and limited conversation to collaborators Jun 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.