Skip to content

probe crashes immediately on Darwin #696

Closed
@peterbourgon

Description

$ cd probe
$ go build
$ ./probe
ugh ~/src/github.com/weaveworks/scope/probe (master …1) ./probe
<probe> 2015/11/25 10:34:21 warning: -process=true, but that requires root to find everything
<probe> 2015/11/25 10:34:21 probe starting, version dev, ID ugh
<probe> 2015/11/25 10:34:21 publishing to: localhost:4040, scope.weave.local:4040

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0xc5fc7]

goroutine 28 [running]:
github.com/weaveworks/scope/probe/endpoint.NATMapper.ApplyNAT(0x0, 0x0, 0xc820270030, 0xc820270060, 0xc820270090, 0xc8202700c0, 0xc820270150, 0xc820270180, 0xc8202700f0, 0xc820270120, ...)
        /Users/peter/src/github.com/weaveworks/scope/probe/endpoint/nat.go:70 +0xc7
github.com/weaveworks/scope/probe/endpoint.(*Reporter).Report(0xc820163540, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/peter/src/github.com/weaveworks/scope/probe/endpoint/reporter.go:143 +0xb23
main.doReport.func1(0xc82022c840, 0x1d65c40, 0xc820163540)
        /Users/peter/src/github.com/weaveworks/scope/probe/main.go:238 +0x4e
created by main.doReport
        /Users/peter/src/github.com/weaveworks/scope/probe/main.go:244 +0x119

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

    bugBroken end user or developer functionality; not working as the developers intended it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions