Skip to content

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

Description

@sigmonsays

Running go install managed to catch reflex of guard, Perhaps replacing the binary by go install is not atomic. The short period between the executable being removed and updated caused this.

[00] Starting service
[00] exec: "build-and-run-workerd": executable file not found in $PATH
[00] Killing service
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4f5c28]

goroutine 25 [running]:
main.(*Reflex).terminate(0xc000051180)
        /home/sig/go/pkg/mod/github.com/cespare/reflex@v0.3.1/reflex.go:235 +0x1c8
main.(*Reflex).runEach(0xc000051180, 0xc00011e380)
        /home/sig/go/pkg/mod/github.com/cespare/reflex@v0.3.1/reflex.go:196 +0xaf
created by main.(*Reflex).Start in goroutine 1
        /home/sig/go/pkg/mod/github.com/cespare/reflex@v0.3.1/reflex.go:328 +0x153

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