Docker Community Forums

Share and learn in the Docker community.

Docker 17.12.0-ce "invalid memory address or nil pointer dereference" hangs server

docker

(Zzox4) #1

Hello!

Docker hangs my servers (AWS EC2), ubuntu 16 and docker were upgraded (last versions).
I have this in syslog:

dockerd[1050]: level=info msg=“killing and restarting containerd” module=libcontainerd pid=1141
dockerd[1050]: panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1c09b69]

after that server hangs, and required hard restart. it happens on high-loading.
version 17.11 seems has the same problem.

What to do?
Regards.

more details:

docker --version
Docker version 17.12.0-ce, build c97c6d6

cat /etc/issue
Ubuntu 16.04.3 LTS \n \l

uname -a
Linux ip-172-31-23 4.4.0-104-generic #127-Ubuntu SMP Mon Dec 11 12:16:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

syslog:
Jan 8 13:45:53 ip-172-31-23 dockerd[1050]: time=“2018-01-08T13:45:31.293194788+01:00” level=info msg=“killing and restarting containerd” module=libcontainerd pid=1141
Jan 8 13:46:44 ip-172-31-23 dockerd[1050]: panic: runtime error: invalid memory address or nil pointer dereference
Jan 8 13:46:45 ip-172-31-23 dockerd[1050]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1c09b69]
Jan 8 13:46:46 ip-172-31-23 dockerd[1050]: goroutine 370 [running]:
Jan 8 13:46:46 ip-172-31-23 dockerd[1050]: github.com/docker/docker/vendor/github.com/containerd/containerd/dialer.Dialer.func2(0xc4210be0c0)
Jan 8 13:46:46 ip-172-31-23 dockerd[1050]: #011/go/src/github.com/docker/docker/vendor/github.com/containerd/containerd/dialer/dialer.go:46 +0x59
Jan 8 13:46:46 ip-172-31-23 dockerd[1050]: created by github.com/docker/docker/vendor/github.com/containerd/containerd/dialer.Dialer
Jan 8 13:46:46 ip-172-31-23 dockerd[1050]: #011/go/src/github.com/docker/docker/vendor/github.com/containerd/containerd/dialer/dialer.go:43 +0x1c7
Jan 8 13:46:46 ip-172-31-23 systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 8 13:46:51 ip-172-31-23 systemd[1]: docker.service: Unit entered failed state.
Jan 8 13:46:54 ip-172-31-23 systemd[1]: docker.service: Failed with result ‘exit-code’.
Jan 8 13:48:11 ip-172-31-23 systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jan 8 13:50:53 ip-172-31-23 rsyslogd: [origin software=“rsyslogd” swVersion=“8.16.0” x-pid=“1041” x-info="//.rsyslog."] start
Jan 8 13:50:53 ip-172-31-23 rsyslogd-2222: command ‘KLogPermitNonKernelFacility’ is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try ://www.r
syslog./e/2222 ]
Jan 8 13:50:53 ip-172-31-23 rsyslogd: rsyslogd’s groupid changed to 108
Jan 8 13:50:53 ip-172-31-23 rsyslogd: rsyslogd’s userid changed to 104
Jan 8 13:50:53 ip-172-31-23 rsyslogd-2039: Could not open output pipe ‘/dev/xconsole’:: No such file or directory [v8.16.0 try ://www.rsyslog./e/2039 ]
Jan 8 13:50:53 ip-172-31-23 rsyslogd-2007: action ‘action 11’ suspended, next retry is Mon Jan 8 13:51:23 2018 [v8.16.0 try ://www.rsyslog./e/2007 ]


(Dribler) #2

@zzox4 any luck resolving it? Having exactly the same issue with AWS EC2 + ubuntu 16.04 + Docker 17.12.0-ce