Package: docker.io
Version: 18.06.1+dfsg1-2
Severity: important

I am using docker on my workstation to develop some applications. Every
few hours, I see that the docker deamon gets restarted because of a
segmentation violation. All my docker containers are then restartet too.

Using journalctl, I see the following error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x564a9d3a2158]
goroutine 439 [running]:
github.com/armon/go-radix.recursiveWalk(0x0, 0xc4212bddb8, 0xc4212bdc00)
        
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:477
 +0x28

Attached is a file with the full stack trace.
Also attached is the output of the "docker info" command.

Regards,
Vincent

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.utf8, LC_CTYPE=nl_NL.utf8 (charmap=UTF-8), 
LANGUAGE=nl_NL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages docker.io depends on:
ii  adduser             3.118
ii  iptables            1.8.2-3
ii  libc6               2.28-2
ii  libdevmapper1.02.1  2:1.02.155-1
ii  libltdl7            2.4.6-6
ii  libnspr4            2:4.20-1
ii  libnss3             2:3.41-1
ii  libseccomp2         2.3.3-3
ii  libsystemd0         240-2
ii  lsb-base            10.2018112800
ii  runc                1.0.0~rc5+dfsg1-4
ii  tini                0.18.0-1

Versions of packages docker.io recommends:
ii  ca-certificates  20170717
ii  cgroupfs-mount   1.4
ii  git              1:2.20.1-1
ii  needrestart      3.3-2
ii  xz-utils         5.2.2-1.3

Versions of packages docker.io suggests:
pn  aufs-tools           <none>
ii  btrfs-progs          4.19.1-1
ii  debootstrap          1.0.112
pn  docker-doc           <none>
ii  e2fsprogs            1.44.5-1
pn  rinse                <none>
ii  xfsprogs             4.15.1-1
pn  zfs-fuse | zfsutils  <none>

-- no debconf information
jan 05 10:35:55 PC-Vincent dockerd[954]: 
time="2019-01-05T10:35:55.637063206+01:00" level=warning msg="failed to 
retrieve docker-runc version: unknown output format: runc version spec: 1.0.1\n"
jan 05 10:36:12 PC-Vincent dockerd[954]: 
time="2019-01-05T10:36:12.550205129+01:00" level=warning msg="failed to 
retrieve docker-runc version: unknown output format: runc version spec: 1.0.1\n"
jan 05 10:36:18 PC-Vincent dockerd[954]: panic: runtime error: invalid memory 
address or nil pointer dereference
jan 05 10:36:18 PC-Vincent dockerd[954]: [signal SIGSEGV: segmentation 
violation code=0x1 addr=0x0 pc=0x564a9d3a2158]
jan 05 10:36:18 PC-Vincent dockerd[954]: goroutine 439 [running]:
jan 05 10:36:18 PC-Vincent dockerd[954]: 
github.com/armon/go-radix.recursiveWalk(0x0, 0xc4212bddb8, 0xc4212bdc00)
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:477
 +0x28
jan 05 10:36:18 PC-Vincent dockerd[954]: 
github.com/armon/go-radix.recursiveWalk(0xc4214e6870, 0xc4212bddb8, 0x19)
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:483
 +0x7e
jan 05 10:36:18 PC-Vincent dockerd[954]: 
github.com/armon/go-radix.(*Tree).WalkPrefix(0xc4213bf460, 0xc421975420, 0x1a, 
0xc4212bddb8)
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/armon/go-radix/radix.go:431
 +0xdb
jan 05 10:36:18 PC-Vincent dockerd[954]: 
github.com/docker/libnetwork/networkdb.(*NetworkDB).reapTableEntries(0xc42149be60)
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:396
 +0x3ad
jan 05 10:36:18 PC-Vincent dockerd[954]: 
github.com/docker/libnetwork/networkdb.(*NetworkDB).reapState(0xc42149be60)
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:362
 +0x2d
jan 05 10:36:18 PC-Vincent dockerd[954]: 
github.com/docker/libnetwork/networkdb.(*NetworkDB).(github.com/docker/libnetwork/networkdb.reapState)-fm()
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:170
 +0x2c
jan 05 10:36:18 PC-Vincent dockerd[954]: 
github.com/docker/libnetwork/networkdb.(*NetworkDB).triggerFunc(0xc42149be60, 
0x12a05f200, 0xc420c9fe60, 0xc4213bf8f0)
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:256
 +0x134
jan 05 10:36:18 PC-Vincent dockerd[954]: created by 
github.com/docker/libnetwork/networkdb.(*NetworkDB).clusterInit
jan 05 10:36:18 PC-Vincent dockerd[954]:         
/build/docker.io-18.06.1+dfsg1/.gopath/src/github.com/docker/libnetwork/networkdb/cluster.go:178
 +0x8e9
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Main process exited, 
code=exited, status=2/INVALIDARGUMENT
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Failed with result 
'exit-code'.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Service RestartSec=100ms 
expired, scheduling restart.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Scheduled restart job, 
restart counter is at 1.
jan 05 10:36:18 PC-Vincent systemd[1]: Stopped Docker Application Container 
Engine.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.socket: Succeeded.
jan 05 10:36:18 PC-Vincent systemd[1]: Closed Docker Socket for the API.
jan 05 10:36:18 PC-Vincent systemd[1]: Stopping Docker Socket for the API.
jan 05 10:36:18 PC-Vincent systemd[1]: Starting Docker Socket for the API.
jan 05 10:36:18 PC-Vincent systemd[1]: Listening on Docker Socket for the API.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2455 (docker-containe) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2533 (docker-containe) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2671 (docker-containe) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2793 (docker-containe) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2485 (tini) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2781 (beam.smp) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
4113 (sh) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
4181 (memsup) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
4897 (inet_gethost) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
4924 (inet_gethost) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2557 (java) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: docker.service: Found left-over process 
2850 (registry) in control group while starting unit. Ignoring.
jan 05 10:36:18 PC-Vincent systemd[1]: This usually indicates unclean 
termination of a previous run, or service implementation deficiencies.
jan 05 10:36:18 PC-Vincent systemd[1]: Starting Docker Application Container 
Engine...
jan 05 10:36:18 PC-Vincent dockerd[18723]: 
time="2019-01-05T10:36:18.853941580+01:00" level=info msg="libcontainerd: 
started new docker-containerd process" pid=18731
jan 05 10:36:18 PC-Vincent dockerd[18723]: time="2019-01-05T10:36:18+01:00" 
level=info msg="starting containerd" 
revision=b41633746ed4833f52c3c071e8edcfa2713e5677 version=18.06.1-ce
Containers: 40
 Running: 5
 Paused: 0
 Stopped: 35
Images: 7
Server Version: 18.06.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
 NodeID: 20wnl2i0ehd4hc4nlezohh4uc
 Is Manager: true
 ClusterID: 2d8t2hi1ofmpocy4tzygrdfdi
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 10
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
  Force Rotate: 0
 Autolock Managers: false
 Root Rotation In Progress: false
 Node Address: 192.168.7.208
 Manager Addresses:
  192.168.7.208:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: b41633746ed4833f52c3c071e8edcfa2713e5677 (expected: 
468a545b9edcd5932818eb9de8e72413e616e86e)
runc version: N/A (expected: 69663f0bd4b60df09991c08812a60108003fa340)
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.19.0-1-amd64
Operating System: Debian GNU/Linux buster/sid
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.59GiB
Name: PC-Vincent
ID: 2ZUW:JZFI:PAP5:WPCJ:PTRH:ZTOW:CTKM:L2PZ:MKTN:ZFGW:PFDJ:7OYQ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: vsmeets
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

Reply via email to