Hi,
I am experiencing the same problem (I believe not only) on my virtual
Test Server. Im using fully updated Debian Buster and Docker 18.09.1 in
swarm mode with one node.
Im running portainer stack and sentry stack. Dockerd is experiencing
segfault once every hour, contents of the syslog and daemon.log during
the events looks like this:
Mar 14 19:34:27 test dockerd[4919]:
time="2020-03-14T19:34:27.508519337+01:00" level=info msg="NetworkDB
stats test(1ec3864d57d5) - netID:ti6u5zwusxi9k8oj1zgvf7ip9
leaving:false ne
tPeers:1 entries:6 Queue qLen:0 netMsg/s:0"
Mar 14 19:34:27 test dockerd[4919]:
time="2020-03-14T19:34:27.510138528+01:00" level=info msg="NetworkDB
stats test(1ec3864d57d5) - netID:35o2po0o7ocb67lpuspp4z43z
leaving:false ne
tPeers:1 entries:20 Queue qLen:0 netMsg/s:0"
Mar 14 19:34:27 test dockerd[4919]:
time="2020-03-14T19:34:27.510539944+01:00" level=info msg="NetworkDB
stats test(1ec3864d57d5) - netID:b78tw29emwufgr176bfnjpxb4
leaving:false ne
tPeers:1 entries:6 Queue qLen:0 netMsg/s:0"
Mar 14 19:34:31 test dockerd[4919]: panic: runtime error: invalid
memory address or nil pointer dereference
Mar 14 19:34:31 test dockerd[4919]: [signal SIGSEGV: segmentation
violation code=0x1 addr=0x0 pc=0x558bf2785388]
Mar 14 19:34:31 test dockerd[4919]: goroutine 828 [running]:
Mar 14 19:34:31 test dockerd[4919]:
github.com/armon/go-radix.recursiveWalk(0x0, 0xc00160ee08,
0x558bf3929900)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:519
+0x28
Mar 14 19:34:31 test dockerd[4919]:
github.com/armon/go-radix.recursiveWalk(0xc002b5d860, 0xc00160ee08,
0xc00160ec00)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:525
+0x7a
Mar 14 19:34:31 test dockerd[4919]:
github.com/armon/go-radix.recursiveWalk(0xc001145320, 0xc00160ee08,
0xc00160ec00)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:525
+0x7a
Mar 14 19:34:31 test dockerd[4919]:
github.com/armon/go-radix.recursiveWalk(0xc000a81380, 0xc00160ee08,
0x19)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:525
+0x7a
Mar 14 19:34:31 test dockerd[4919]:
github.com/armon/go-radix.(*Tree).WalkPrefix(0xc000ab4e50,
0xc003b6c6a0, 0x1a, 0xc00160ee08)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:473
+0xdb
Mar 14 19:34:31 test dockerd[4919]:
github.com/docker/libnetwork/networkdb.(*NetworkDB).reapTableEntries(0xc0041979e0)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:396
+0x3c5
Mar 14 19:34:31 test dockerd[4919]:
github.com/docker/libnetwork/networkdb.(*NetworkDB).reapState(0xc0041979e0)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:362
+0x2d
Mar 14 19:34:31 test dockerd[4919]:
github.com/docker/libnetwork/networkdb.(*NetworkDB).reapState-fm()
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:170
+0x2c
Mar 14 19:34:31 test dockerd[4919]:
github.com/docker/libnetwork/networkdb.(*NetworkDB).triggerFunc(0xc0041979e0,
0x12a05f200, 0xc001123e60, 0xc000ab52a0)
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:256
+0x10a
Mar 14 19:34:31 test dockerd[4919]: created by
github.com/docker/libnetwork/networkdb.(*NetworkDB).clusterInit
Mar 14 19:34:31 test dockerd[4919]:
#011/build/docker.io-X5uIDh/docker.io-18.09.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:178
+0x830
It's Johny