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

dep ensure panic when fetching vendor directory #344

Closed
zombiezen opened this issue Mar 21, 2017 · 2 comments
Closed

dep ensure panic when fetching vendor directory #344

zombiezen opened this issue Mar 21, 2017 · 2 comments

Comments

@zombiezen
Copy link

dep version: aaf8a8b

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4dfda8]

goroutine 1 [running]:
panic(0x7ad2c0, 0xc420016060)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).SourceExists(0xc42006acc0, 0xc4201437a0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0)
/workspace/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:438 +0x1a8
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*bridge).SourceExists(0xc4201c9a80, 0xc4201437a0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x1)
/workspace/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/bridge.go:121 +0x93
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).createVersionQueue(0xc4200e82d0, 0xc4201437a0, 0x10, 0x0, 0x0, 0xc4201ce8b0, 0x1, 0x1, 0x0, 0x0, ...)
/workspace/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:643 +0x10a
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).solve(0xc4200e82d0, 0x0, 0x0, 0xc4201f6450)
/workspace/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:366 +0x471
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).Solve(0xc4200e82d0, 0x1c, 0xc42000c053, 0xd, 0xc4201299e0)
/workspace/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:317 +0x8e
main.(*ensureCommand).Run(0xc42012b6e0, 0xc420143650, 0xc42000c120, 0x0, 0x0, 0x0, 0x0)
/workspace/src/github.com/golang/dep/cmd/dep/ensure.go:144 +0x4a2
main.main()
/workspace/src/github.com/golang/dep/cmd/dep/main.go:97 +0x652

manifest.json:

{
    "dependencies": {
        "github.com/mattn/go-sqlite3": {
            "branch": "master"
        },
        "golang.org/x/net": {
            "branch": "master"
        },
        "zombiezen.com/go/capnproto2": {
            "version": "^2.12.0"
        },
        "zombiezen.com/go/log": {
            "revision": "3b3a2ab2e8b57f0097671f4329def9f293020d92"
        }
    }
}

lock.json:

{
    "memo": "7ea12fcf96452b0f673e7445c7ef14ae8dafcb2d5b01a046d71e73c78931f029",
    "projects": [
        {
            "name": "github.com/glycerine/rbtree",
            "branch": "master",
            "revision": "cd7940bb26b149ce2faf398e7c63fff01aa7b394",
            "packages": [
                "."
            ]
        },
        {
            "name": "github.com/mattn/go-sqlite3",
            "branch": "master",
            "revision": "866c3293d9a76aa491e56cc978d0d7fb0e63e121",
            "packages": [
                "."
            ]
        },
        {
            "name": "golang.org/x/net",
            "branch": "master",
            "revision": "a6577fac2d73be281a500b310739095313165611",
            "packages": [
                "context"
            ]
        },
        {
            "name": "zombiezen.com/go/capnproto2",
            "version": "v2.12.4",
            "revision": "a094e8b41eb423fd4114149c55bbbc345aefd1a3",
            "packages": [
                ".",
                "encoding/text",
                "internal/fulfiller",
                "internal/nodemap",
                "internal/packed",
                "internal/queue",
                "rpc",
                "rpc/internal/refcount",
                "schemas",
                "server",
                "std/capnp/rpc",
                "std/capnp/schema"
            ]
        },
        {
            "name": "zombiezen.com/go/log",
            "revision": "3b3a2ab2e8b57f0097671f4329def9f293020d92",
            "packages": [
                "."
            ]
        }
    ]
}

I don't have much more insight than this.

@sdboyer
Copy link
Member

sdboyer commented Mar 21, 2017

This is gonna be the same underlying issue as #250 - we just haven't merged in an updated gps yet. It's taking a little time in part because we're also trying to just fully move it over - #300

@sdboyer
Copy link
Member

sdboyer commented Mar 21, 2017

(closing b/c it's a dupe)

@sdboyer sdboyer closed this as completed Mar 21, 2017
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

2 participants