Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

panic: runtime error: index out of range #649

Closed
@tomwilkie

Description

@tomwilkie

Seen just now in CI, haven't investigated yet:

panic: runtime error: index out of range

goroutine 1 [running]:
github.com/golang/dep/internal/gps.(*solver).findValidVersion(0xc42020c6c0, 0xc4205220a0, 0xc420211090, 0x1, 0x1, 0x0, 0xc420211090)
	/home/ubuntu/.go_workspace/src/github.com/golang/dep/internal/gps/solver.go:823 +0x562
github.com/golang/dep/internal/gps.(*solver).createVersionQueue(0xc42020c6c0, 0xc4202a8d40, 0x10, 0x0, 0x0, 0xc420211090, 0x1, 0x1, 0x0, 0x0, ...)
	/home/ubuntu/.go_workspace/src/github.com/golang/dep/internal/gps/solver.go:780 +0xafc
github.com/golang/dep/internal/gps.(*solver).solve(0xc42020c6c0, 0x0, 0x0, 0x2a)
	/home/ubuntu/.go_workspace/src/github.com/golang/dep/internal/gps/solver.go:397 +0x471
github.com/golang/dep/internal/gps.(*solver).Solve(0xc42020c6c0, 0x3b, 0xa760c0, 0xac4ab8, 0xc4200180e3)
	/home/ubuntu/.go_workspace/src/github.com/golang/dep/internal/gps/solver.go:348 +0xab
main.(*ensureCommand).Run(0xc420127960, 0xc420129880, 0xc42000c4a0, 0x0, 0x0, 0x0, 0x0)
	/home/ubuntu/.go_workspace/src/github.com/golang/dep/cmd/dep/ensure.go:149 +0x3c8
main.(*Config).Run(0xc42001ef60, 0xc42001ef60)
	/home/ubuntu/.go_workspace/src/github.com/golang/dep/cmd/dep/main.go:159 +0x8b3
main.main()
	/home/ubuntu/.go_workspace/src/github.com/golang/dep/cmd/dep/main.go:44 +0x253

https://circleci.com/gh/weaveworks/common/132

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions