-
Notifications
You must be signed in to change notification settings - Fork 884
Closed
Description
I ran into a panic when I was trying to reproduce the problem reported in moby/moby#15341.
Test code: https://gist.github.com/mountkin/a3b9fb04380b1ee76a10
The test program will panic after 30 seconds or so.
backtrace:
WARN[0000] Running modprobe bridge nf_nat br_netfilter failed with message: modprobe: WARNING: Module br_netfilter not found.
, error: exit status 1
INFO[0000] Firewalld running: false
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0xc0 pc=0x4734ac]
goroutine 136 [running]:
github.com/docker/libnetwork.epHeap.Less(0xc20812df00, 0x4, 0x4, 0x3, 0x1, 0xc208069c00)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:29 +0x17c
github.com/docker/libnetwork.(*epHeap).Less(0xc20810b0d8, 0x3, 0x1, 0x4)
<autogenerated>:38 +0xb5
container/heap.up(0x7f0687403788, 0xc20810b0d8, 0x3)
/usr/local/go/src/container/heap/heap.go:93 +0x5f
container/heap.Push(0x7f0687403788, 0xc20810b0d8, 0x9e8040, 0xc208069c20)
/usr/local/go/src/container/heap/heap.go:54 +0x7e
github.com/docker/libnetwork.(*sandboxData).addEndpoint(0xc20810b0c0, 0xc208069c20, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:107 +0xa0b
github.com/docker/libnetwork.(*controller).sandboxAdd(0xc208037d80, 0xc20811ddd0, 0x22, 0xc208125c01, 0xc208069c20, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:203 +0x443
github.com/docker/libnetwork.(*endpoint).Join(0xc208069c20, 0xc2081eec00, 0xd, 0xc2081eec60, 0x2, 0x2, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:440 +0x9b8
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:58 +0x586
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 1 [runnable]:
main.main()
/root/go/src/github.com/docker/net-debug/main.go:42 +0x8cb
goroutine 6 [syscall]:
os/signal.loop()
/usr/local/go1.4.2/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/local/go1.4.2/src/os/signal/signal_unix.go:27 +0x35
goroutine 8 [IO wait]:
net.(*pollDesc).Wait(0xc208080610, 0x72, 0x0, 0x0)
/usr/local/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208080610, 0x0, 0x0)
/usr/local/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).readMsg(0xc2080805b0, 0xc2080e4ab0, 0x10, 0x10, 0xc2080dd220, 0x1000, 0x1000, 0xffffffffffffffff, 0x0, 0x0, ...)
/usr/local/go1.4.2/src/net/fd_unix.go:296 +0x54e
net.(*UnixConn).ReadMsgUnix(0xc208038128, 0xc2080e4ab0, 0x10, 0x10, 0xc2080dd220, 0x1000, 0x1000, 0x51, 0xc2080e4854, 0x4, ...)
/usr/local/go1.4.2/src/net/unixsock_posix.go:147 +0x167
github.com/godbus/dbus.(*oobReader).Read(0xc2080dd200, 0xc2080e4ab0, 0x10, 0x10, 0xc2080dd200, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/godbus/dbus/transport_unix.go:21 +0xc5
io.ReadAtLeast(0x7f0687400b60, 0xc2080dd200, 0xc2080e4ab0, 0x10, 0x10, 0x10, 0x0, 0x0, 0x0)
/usr/local/go1.4.2/src/io/io.go:298 +0xf1
io.ReadFull(0x7f0687400b60, 0xc2080dd200, 0xc2080e4ab0, 0x10, 0x10, 0x51, 0x0, 0x0)
/usr/local/go1.4.2/src/io/io.go:316 +0x6d
github.com/godbus/dbus.(*unixTransport).ReadMessage(0xc2080e4620, 0xc2080e3e00, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/godbus/dbus/transport_unix.go:85 +0x1bf
github.com/godbus/dbus.(*Conn).inWorker(0xc2080706c0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/godbus/dbus/conn.go:248 +0x58
created by github.com/godbus/dbus.(*Conn).Auth
/root/go/src/github.com/docker/docker/vendor/src/github.com/godbus/dbus/auth.go:118 +0xe84
goroutine 9 [chan receive]:
github.com/godbus/dbus.(*Conn).outWorker(0xc2080706c0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/godbus/dbus/conn.go:370 +0x58
created by github.com/godbus/dbus.(*Conn).Auth
/root/go/src/github.com/docker/docker/vendor/src/github.com/godbus/dbus/auth.go:119 +0xea1
goroutine 10 [chan receive]:
github.com/docker/libnetwork/iptables.signalHandler()
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/iptables/firewalld.go:92 +0x57
created by github.com/docker/libnetwork/iptables.FirewalldInit
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/iptables/firewalld.go:48 +0x185
goroutine 139 [syscall, locked to thread]:
syscall.Syscall6(0x2c, 0xb, 0xc2080fc030, 0x30, 0x0, 0xc2081073d4, 0xc, 0x2, 0x2, 0xc2080fc030)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:46 +0x5
syscall.sendto(0xb, 0xc2080fc030, 0x30, 0x30, 0x0, 0xc2081073d4, 0xc20000000c, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/zsyscall_linux_amd64.go:1923 +0x9a
syscall.Sendto(0xb, 0xc2080fc030, 0x30, 0x30, 0x0, 0x7f0687402f00, 0xc2081073c8, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/syscall_unix.go:234 +0xb6
github.com/vishvananda/netlink/nl.(*NetlinkSocket).Send(0xc2081073c0, 0xc208063f80, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:326 +0xdd
github.com/vishvananda/netlink/nl.(*NetlinkRequest).Execute(0xc208063f80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:212 +0x126
github.com/vishvananda/netlink.LinkSetName(0x7f0687403160, 0xc2080ff080, 0xc20800b310, 0xb, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/link_linux.go:109 +0x53e
github.com/docker/libnetwork/sandbox.func·002(0x15, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:126 +0x15c
github.com/docker/libnetwork/sandbox.nsInvoke(0xc208062bd0, 0x22, 0xb34210, 0xc20815fba8, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:275 +0x487
github.com/docker/libnetwork/sandbox.(*nwIface).Remove(0xc208117e80, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:155 +0x121
github.com/docker/libnetwork.(*sandboxData).rmEndpoint(0xc20810b0c0, 0xc2080f2120)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:129 +0x1c2
github.com/docker/libnetwork.(*controller).sandboxRm(0xc208037d80, 0xc208062bd0, 0x22, 0xc2080f2120)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:215 +0xb3
github.com/docker/libnetwork.(*endpoint).Leave(0xc2080f2120, 0xc20800ac70, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:511 +0x3a7
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:63 +0x733
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 135 [syscall, locked to thread]:
syscall.Syscall(0x134, 0x11, 0x40000000, 0x0, 0x414a8e, 0xb344b8, 0xc208135940)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:21 +0x5
github.com/vishvananda/netns.Setns(0x11, 0x40000000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:29 +0x56
github.com/vishvananda/netns.Set(0x11, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:39 +0x43
github.com/docker/libnetwork/sandbox.nsInvoke(0xc2080fc870, 0x22, 0xb34238, 0xc208135a60, 0x7f06873fab40, 0xc208120120)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:275 +0x4b2
github.com/docker/libnetwork/sandbox.programGateway(0xc2080fc870, 0x22, 0xc2080e5f18, 0x4, 0x4, 0xc208012000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:100 +0x7f
github.com/docker/libnetwork/sandbox.(*networkNamespace).UnsetGateway(0xc2081c7a40, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:72 +0xe5
github.com/docker/libnetwork.(*sandboxData).updateGateway(0xc20810a3c0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:53 +0x6c
github.com/docker/libnetwork.(*sandboxData).rmEndpoint(0xc20810a3c0, 0xc2080a1170)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:170 +0x712
github.com/docker/libnetwork.(*controller).sandboxRm(0xc208037d80, 0xc2080fc870, 0x22, 0xc2080a1170)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:215 +0xb3
github.com/docker/libnetwork.(*endpoint).Leave(0xc2080a1170, 0xc2080e5f20, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:511 +0x3a7
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:63 +0x733
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 142 [syscall]:
syscall.Syscall6(0x2c, 0x7, 0xc208063f20, 0x30, 0x0, 0xc208107354, 0xc, 0x2, 0x2, 0xc208063f20)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:46 +0x5
syscall.sendto(0x7, 0xc208063f20, 0x30, 0x30, 0x0, 0xc208107354, 0xc20000000c, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/zsyscall_linux_amd64.go:1923 +0x9a
syscall.Sendto(0x7, 0xc208063f20, 0x30, 0x30, 0x0, 0x7f0687402f00, 0xc208107348, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/syscall_unix.go:234 +0xb6
github.com/vishvananda/netlink/nl.(*NetlinkSocket).Send(0xc208107340, 0xc208063e90, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:326 +0xdd
github.com/vishvananda/netlink/nl.(*NetlinkRequest).Execute(0xc208063e90, 0x0, 0xc208100000, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:212 +0x126
github.com/vishvananda/netlink.execGetLink(0xc208063e90, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/link_linux.go:461 +0x65
github.com/vishvananda/netlink.LinkByName(0xc20800b0f0, 0xb, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/link_linux.go:438 +0x547
github.com/vishvananda/netlink.ensureIndex(0xc2080fef00)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/link_linux.go:27 +0x46
github.com/vishvananda/netlink.LinkAdd(0x7f0687403160, 0xc2080fef00, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/link_linux.go:382 +0x178a
github.com/docker/libnetwork/drivers/bridge.(*driver).CreateEndpoint(0xc20801ecc0, 0xc20810aa40, 0x40, 0xc2081cbf00, 0x40, 0x7f0687403130, 0xc2080a1440, 0xc2080fbd10, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/drivers/bridge/bridge.go:901 +0xb1e
github.com/docker/libnetwork.(*network).addEndpoint(0xc208069050, 0xc2080a1440, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/network.go:288 +0x22c
github.com/docker/libnetwork.(*network).CreateEndpoint(0xc208069050, 0xc20800b0d0, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/network.go:330 +0x5db
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:50 +0x1f2
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 134 [syscall, locked to thread]:
syscall.Syscall(0x134, 0x6, 0x40000000, 0x0, 0x414a8e, 0xb344b8, 0xc208151940)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:21 +0x5
github.com/vishvananda/netns.Setns(0x6, 0x40000000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:29 +0x56
github.com/vishvananda/netns.Set(0x6, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:39 +0x43
github.com/docker/libnetwork/sandbox.nsInvoke(0xc20811ccf0, 0x22, 0xb34238, 0xc208151a60, 0x7f06873fab40, 0xc208120940)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:275 +0x4b2
github.com/docker/libnetwork/sandbox.programGateway(0xc20811ccf0, 0x22, 0xc2080e4b28, 0x4, 0x4, 0xc208012000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:100 +0x7f
github.com/docker/libnetwork/sandbox.(*networkNamespace).UnsetGateway(0xc2081c7ae0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:72 +0xe5
github.com/docker/libnetwork.(*sandboxData).updateGateway(0xc20810a440, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:53 +0x6c
github.com/docker/libnetwork.(*sandboxData).rmEndpoint(0xc20810a440, 0xc2080a06c0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:170 +0x712
github.com/docker/libnetwork.(*controller).sandboxRm(0xc208037d80, 0xc20811ccf0, 0x22, 0xc2080a06c0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:215 +0xb3
github.com/docker/libnetwork.(*endpoint).Leave(0xc2080a06c0, 0xc2080e4be0, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:511 +0x3a7
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:63 +0x733
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 140 [syscall, locked to thread]:
syscall.Syscall6(0x2c, 0x10, 0xc2081072c0, 0x20, 0x0, 0xc208107294, 0xc, 0x1, 0x1, 0xc2081072c0)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:46 +0x5
syscall.sendto(0x10, 0xc2081072c0, 0x20, 0x20, 0x0, 0xc208107294, 0xc20000000c, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/zsyscall_linux_amd64.go:1923 +0x9a
syscall.Sendto(0x10, 0xc2081072c0, 0x20, 0x20, 0x0, 0x7f0687402f00, 0xc208107288, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/syscall_unix.go:234 +0xb6
github.com/vishvananda/netlink/nl.(*NetlinkSocket).Send(0xc208107280, 0xc208063d70, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:326 +0xdd
github.com/vishvananda/netlink/nl.(*NetlinkRequest).Execute(0xc208063d70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:212 +0x126
github.com/vishvananda/netlink.LinkSetDown(0x7f0687403160, 0xc2080ff200, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/link_linux.go:64 +0x25f
github.com/docker/libnetwork/sandbox.func·002(0xd, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:122 +0xdd
github.com/docker/libnetwork/sandbox.nsInvoke(0xc208062bd0, 0x22, 0xb34210, 0xc208163ba8, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:275 +0x487
github.com/docker/libnetwork/sandbox.(*nwIface).Remove(0xc2080ffe00, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:155 +0x121
github.com/docker/libnetwork.(*sandboxData).rmEndpoint(0xc20810b0c0, 0xc2080a1050)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:129 +0x1c2
github.com/docker/libnetwork.(*controller).sandboxRm(0xc208037d80, 0xc208062bd0, 0x22, 0xc2080a1050)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:215 +0xb3
github.com/docker/libnetwork.(*endpoint).Leave(0xc2080a1050, 0xc2081ef920, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:511 +0x3a7
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:63 +0x733
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 141 [syscall]:
syscall.Syscall6(0x2d, 0xc, 0xc20811a000, 0x1000, 0x0, 0xc208153268, 0xc208153264, 0x1000, 0x857e80, 0xc20811a000)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:46 +0x5
syscall.recvfrom(0xc, 0xc20811a000, 0x1000, 0x1000, 0x0, 0xc208153268, 0xc208153264, 0x11, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/zsyscall_linux_amd64.go:1906 +0x9b
syscall.Recvfrom(0xc, 0xc20811a000, 0x1000, 0x1000, 0x0, 0x1000, 0x0, 0x0, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/syscall_unix.go:220 +0xbf
syscall.NetlinkRIB(0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/netlink_linux.go:71 +0x3dd
net.interfaceTable(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go1.4.2/src/net/interface_linux.go:17 +0x86
net.InterfaceByName(0xc20800b0c0, 0xb, 0x7, 0x0, 0x0)
/usr/local/go1.4.2/src/net/interface.go:116 +0x87
github.com/docker/libnetwork/netutils.GenerateIfaceName(0xa11070, 0x4, 0x7, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/netutils/utils.go:164 +0x148
github.com/docker/libnetwork/drivers/bridge.(*driver).CreateEndpoint(0xc20801ecc0, 0xc20810aa40, 0x40, 0xc2081cbd00, 0x40, 0x7f0687403130, 0xc2080a0fc0, 0xc2080fbcb0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/drivers/bridge/bridge.go:886 +0x946
github.com/docker/libnetwork.(*network).addEndpoint(0xc208069050, 0xc2080a0fc0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/network.go:288 +0x22c
github.com/docker/libnetwork.(*network).CreateEndpoint(0xc208069050, 0xc20800b0a0, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/network.go:330 +0x5db
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:50 +0x1f2
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 133 [syscall, locked to thread]:
syscall.Syscall(0x134, 0xa, 0x40000000, 0x0, 0xc20811cc90, 0x22, 0x41435a)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:21 +0x5
github.com/vishvananda/netns.Setns(0xa, 0x40000000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:29 +0x56
github.com/vishvananda/netns.Set(0xa, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:39 +0x43
github.com/docker/libnetwork/sandbox.nsInvoke(0xc20811cc90, 0x22, 0xb34238, 0xc208137a60, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:269 +0x41a
github.com/docker/libnetwork/sandbox.programGateway(0xc20811cc90, 0x22, 0xc2080e4b48, 0x4, 0x4, 0xc208012000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:100 +0x7f
github.com/docker/libnetwork/sandbox.(*networkNamespace).UnsetGateway(0xc2081c74a0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:72 +0xe5
github.com/docker/libnetwork.(*sandboxData).updateGateway(0xc208125140, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:53 +0x6c
github.com/docker/libnetwork.(*sandboxData).rmEndpoint(0xc208125140, 0xc20811f710)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:170 +0x712
github.com/docker/libnetwork.(*controller).sandboxRm(0xc208037d80, 0xc20811cc90, 0x22, 0xc20811f710)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:215 +0xb3
github.com/docker/libnetwork.(*endpoint).Leave(0xc20811f710, 0xc2080e4b60, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:511 +0x3a7
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:63 +0x733
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 137 [syscall, locked to thread]:
syscall.Syscall6(0x2c, 0xf, 0xc208062f00, 0x28, 0x0, 0xc208106254, 0xc, 0x2, 0x2, 0xc208062f00)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:46 +0x5
syscall.sendto(0xf, 0xc208062f00, 0x28, 0x28, 0x0, 0xc208106254, 0xc20000000c, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/zsyscall_linux_amd64.go:1923 +0x9a
syscall.Sendto(0xf, 0xc208062f00, 0x28, 0x28, 0x0, 0x7f0687402f00, 0xc208106248, 0x0, 0x0)
/usr/local/go1.4.2/src/syscall/syscall_unix.go:234 +0xb6
github.com/vishvananda/netlink/nl.(*NetlinkSocket).Send(0xc208106240, 0xc208062e70, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:326 +0xdd
github.com/vishvananda/netlink/nl.(*NetlinkRequest).Execute(0xc208062e70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/nl/nl_linux.go:212 +0x126
github.com/vishvananda/netlink.LinkSetName(0x7f0687403160, 0xc208117380, 0xc208121db0, 0x4, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netlink/link_linux.go:109 +0x53e
github.com/docker/libnetwork/sandbox.setInterfaceName(0x7f0687403160, 0xc208117380, 0xc208116880, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:330 +0x70
github.com/docker/libnetwork/sandbox.configureInterface(0x7f0687403160, 0xc208117380, 0xc208116880, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:296 +0xa8f
github.com/docker/libnetwork/sandbox.func·006(0x1e, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:265 +0x596
github.com/docker/libnetwork/sandbox.nsInvoke(0xc208062bd0, 0x22, 0xc208161848, 0xc208161880, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:275 +0x487
github.com/docker/libnetwork/sandbox.(*networkNamespace).AddInterface(0xc20816cdc0, 0xc20800bad0, 0xb, 0xa021b0, 0x3, 0xc208121d90, 0x2, 0x2, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/interface_linux.go:279 +0x5c9
github.com/docker/libnetwork.(*sandboxData).addEndpoint(0xc20810b0c0, 0xc208069ef0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:92 +0x544
github.com/docker/libnetwork.(*controller).sandboxAdd(0xc208037d80, 0xc2080621b0, 0x22, 0xc208125e01, 0xc208069ef0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:203 +0x443
github.com/docker/libnetwork.(*endpoint).Join(0xc208069ef0, 0xc2081211f0, 0xd, 0xc208121250, 0x2, 0x2, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:440 +0x9b8
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:58 +0x586
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 138 [syscall, locked to thread]:
syscall.Syscall(0x134, 0x14, 0x40000000, 0x0, 0x414a8e, 0xb344b8, 0xc20814f638)
/usr/local/go1.4.2/src/syscall/asm_linux_amd64.s:21 +0x5
github.com/vishvananda/netns.Setns(0x14, 0x40000000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:29 +0x56
github.com/vishvananda/netns.Set(0x14, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/vishvananda/netns/netns_linux.go:39 +0x43
github.com/docker/libnetwork/sandbox.nsInvoke(0xc208062bd0, 0x22, 0xb34238, 0xc20814f758, 0x7f06873fee78, 0xc208120140)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:275 +0x4b2
github.com/docker/libnetwork/sandbox.programGateway(0xc208062bd0, 0x22, 0xc2081206bc, 0x4, 0x4, 0xc208012000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:100 +0x7f
github.com/docker/libnetwork/sandbox.(*networkNamespace).UnsetGateway(0xc20816cdc0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/route_linux.go:72 +0xe5
github.com/docker/libnetwork.(*sandboxData).updateGateway(0xc20810b0c0, 0xc2080f2000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:53 +0x6c
github.com/docker/libnetwork.(*sandboxData).addEndpoint(0xc20810b0c0, 0xc2080f2000, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:112 +0xa96
github.com/docker/libnetwork.(*controller).sandboxAdd(0xc208037d80, 0xc2080633e0, 0x22, 0xc208125f01, 0xc2080f2000, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandboxdata.go:203 +0x443
github.com/docker/libnetwork.(*endpoint).Join(0xc2080f2000, 0xc208120fd0, 0xd, 0xc2081210a0, 0x2, 0x2, 0x0, 0x0)
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/endpoint.go:440 +0x9b8
main.func·002()
/root/go/src/github.com/docker/net-debug/main.go:58 +0x586
created by main.main
/root/go/src/github.com/docker/net-debug/main.go:69 +0x995
goroutine 44 [select]:
github.com/docker/libnetwork/sandbox.removeUnusedPaths()
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:71 +0x48b
created by github.com/docker/libnetwork/sandbox.createBasePath
/root/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox/namespace_linux.go:56 +0xc9
Reactions are currently unavailable