Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56729 - [docker] Crashes with panic with 17.11.0-ce

Attached to Project: Community Packages
Opened by Bodo Junglas (untoldwind) - Friday, 15 December 2017, 11:20 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 31 December 2017, 18:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The current version of the daemon crashes regularly and leaves all containers in a kind of zombie state (i.e. not running, cannot be removed or killed).
In the logs I see this trace:

Dec 15 12:05:21 Hyperion dockerd[15337]: fatal error: concurrent map writes
Dec 15 12:05:21 Hyperion dockerd[15337]: goroutine 10056 [running]:
Dec 15 12:05:21 Hyperion dockerd[15337]: runtime.throw(0x5635474d5bb4, 0x15)
Dec 15 12:05:21 Hyperion dockerd[15337]: /usr/lib/go/src/runtime/panic.go:605 +0x97 fp=0xc422211820 sp=0xc422211800 pc=0x5635461005f7
Dec 15 12:05:21 Hyperion dockerd[15337]: runtime.mapassign_fast64(0x563547c54ac0, 0xc42069edb0, 0x6dc4, 0x40)
Dec 15 12:05:21 Hyperion dockerd[15337]: /usr/lib/go/src/runtime/hashmap_fast.go:519 +0x3d4 fp=0xc422211880 sp=0xc422211820 pc=0x5635460e10e4
Dec 15 12:05:21 Hyperion dockerd[15337]: github.com/docker/docker/daemon/exec.(*Store).SetPidUnlocked(...)
Dec 15 12:05:21 Hyperion dockerd[15337]: /build/docker/src/src/github.com/docker/docker/daemon/exec/exec.go:126
Dec 15 12:05:21 Hyperion dockerd[15337]: github.com/docker/docker/daemon.(*Daemon).registerExecPidUnlocked(0xc4203ec600, 0xc42054c900, 0xc421956a80)
Dec 15 12:05:21 Hyperion dockerd[15337]: /build/docker/src/src/github.com/docker/docker/daemon/exec.go:39 +0x1fd fp=0xc422211910 sp=0xc422211880 pc=0x5635473f12cd
Dec 15 12:05:21 Hyperion dockerd[15337]: github.com/docker/docker/daemon.(*Daemon).ContainerExecStart(0xc4203ec600, 0x7ff8bf246440, 0xc422061920, 0xc421456400, 0x40, 0x0, 0x0, 0x563548979880, 0xc4202fe600, 0x563548979880, ...)
Dec 15 12:05:21 Hyperion dockerd[15337]: /build/docker/src/src/github.com/docker/docker/daemon/exec.go:256 +0xa2d fp=0xc422211d60 sp=0xc422211910 pc=0x5635473f2bed
Dec 15 12:05:21 Hyperion dockerd[15337]: github.com/docker/docker/daemon.(*cmdProbe).run(0xc42110af89, 0x7ff8bf246440, 0xc422061920, 0xc4203ec600, 0xc42054c900, 0x1, 0x1, 0x0)
Dec 15 12:05:21 Hyperion dockerd[15337]: /build/docker/src/src/github.com/docker/docker/daemon/health.go:94 +0x582 fp=0xc422211ea8 sp=0xc422211d60 pc=0x5635473f5b52
Dec 15 12:05:21 Hyperion dockerd[15337]: github.com/docker/docker/daemon.monitor.func1(0x563548979800, 0xc42110af89, 0x7ff8bf246440, 0xc422061920, 0xc4203ec600, 0xc42054c900, 0xc422061980, 0xbe8508fc5915bfe4, 0x48245ec956, 0x5635489f7440)
Dec 15 12:05:21 Hyperion dockerd[15337]: /build/docker/src/src/github.com/docker/docker/daemon/health.go:198 +0xb2 fp=0xc422211f90 sp=0xc422211ea8 pc=0x56354743eb52
Dec 15 12:05:21 Hyperion dockerd[15337]: runtime.goexit()
Dec 15 12:05:21 Hyperion dockerd[15337]: /usr/lib/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc422211f98 sp=0xc422211f90 pc=0x563546131ec1
Dec 15 12:05:21 Hyperion dockerd[15337]: created by github.com/docker/docker/daemon.monitor
Dec 15 12:05:21 Hyperion dockerd[15337]: /build/docker/src/src/github.com/docker/docker/daemon/health.go:196 +0x338
... and a ton more ...

This seems to be related to (or the same as): https://github.com/moby/moby/issues/35588


Steps to reproduce:
Not sure ... probably start enough containers. It happens to me after about 5 mins when I have about 20 running containers
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Sunday, 31 December 2017, 18:13 GMT
Reason for closing:  Upstream
Comment by Sébastien Luttringer (seblu) - Friday, 29 December 2017, 12:33 GMT
is that still happen in 17.12.0?
Comment by Bodo Junglas (untoldwind) - Sunday, 31 December 2017, 13:13 GMT
Couldn't reproduce it any more, so I suppose it is fixed

Loading...