Trying to run docker to do a build with docker started with -d, I get a
SEGV doing a lookup of registry-1.docker.io:

#0  0x000003fffa176a20 in internal_getent () from /lib64/libnss_files.so.2
#1  0x000003fffa177e62 in _nss_files_gethostbyname4_r () from
/lib64/libnss_files.so.2
#2  0x0000000080636b3a in gaih_inet ()
#3  0x000000008063a940 in getaddrinfo ()
#4  0x0000000080409386 in net.cgoLookupIPCNAME (name=...) at
../../../src/libgo/go/net/cgo_unix.go:117

I looked at the parameters to getaddrinfo() and recreated it with a test
program but it didn’t crash. I’m not sure how to debug this one. Here’s
the portion of the log from when the client connects to it:

DEBU[0039] Calling POST /build
INFO[0039] POST /v1.16/build?rm=1&t=docker%3Amaster
INFO[0039] +job build()
DEBU[0039] [tar autodetect] n: [46 100 111 99 107 101 114 105 103 110]
DEBU[0039] [tar autodetect] n: [46 100 111 99 107 101 114 105 103 110]
INFO[0041] +job pull(ubuntu, 14.04)
INFO[0041] +job trust_update_base()
DEBU[0041] Fetched 1 base graphs at 2015-03-24 09:58:35.77606 -0400 EDT
INFO[0041] -job trust_update_base() = OK (0)
DEBU[0041] Pulling tag from V2 registry: "14.04"
DEBU[0041] [registry] Calling "GET"
https://registry-1.docker.io/v2/manifest/library/ubuntu/14.04
DEBU[0041] https://registry-1.docker.io/v2/manifest/library/ubuntu/14.04
-- HEADERS: map[User-Agent:[docker/1.4.1 git-commit/5bc2ff8-dirty
kernel/3.10.0-123.el7.s390x os/linux arch/s390x]]
DEBU[0041] hostDir: /etc/docker/certs.d/registry-1.docker.io
DEBU[0041] Reloaded graph with 3 grants expiring at 2017-03-22
19:04:46.713978458 +0000 UTC
Segmentation fault

Any suggestions?


Neale



Reply via email to