Skip to content

panic: runtime error: invalid memory address or nil pointer dereference #121

Description

@marcuswhybrow

Hi, I'm new to Go. Seeing go install ... suggested for modd, I tried go install github.com/cortesi/devd/cmd/devd@latest however I get this error. I don't get this error when downloading and installing a release directly.

I'm probably doing something unsupported, but should this be happening?
How come go install works for modd, but not for devd?

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

goroutine 1 [running]:
debug/elf.(*Section).ReadAt(0xc000194000?, {0xc000142480?, 0x24?, 0x23?}, 0x23?)
        <autogenerated>:1 +0x26
archive/zip.readDirectoryEnd({0x993760, 0xc00010cd80}, 0x210)
        /usr/local/go/src/archive/zip/reader.go:581 +0xf5
archive/zip.(*Reader).init(0xc000101030, {0x993760?, 0xc00010cd80}, 0x210)
        /usr/local/go/src/archive/zip/reader.go:124 +0x5c
archive/zip.NewReader({0x993760, 0xc00010cd80}, 0x210)
        /usr/local/go/src/archive/zip/reader.go:103 +0x5e
github.com/daaku/go%2ezipexe.zipExeReaderElf({0x9941e0?, 0xc0000cc068}, 0xc2224d)
        /home/marcus/go/pkg/mod/github.com/daaku/go.zipexe@v1.0.1/zipexe.go:128 +0x8b
github.com/daaku/go%2ezipexe.NewReader({0x9941e0, 0xc0000cc068}, 0x0?)
        /home/marcus/go/pkg/mod/github.com/daaku/go.zipexe@v1.0.1/zipexe.go:48 +0x98
github.com/daaku/go%2ezipexe.OpenCloser({0xc0000d8180?, 0xc0000c9be0?})
        /home/marcus/go/pkg/mod/github.com/daaku/go.zipexe@v1.0.1/zipexe.go:30 +0x57
github.com/GeertJohan/go%2erice.init.0()
        /home/marcus/go/pkg/mod/github.com/!geert!johan/go.rice@v1.0.0/appended.go:41 +0x65

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions