Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange errors on docker build #103

Closed
aiomaster opened this issue May 15, 2018 · 42 comments

Comments

Projects
None yet
@aiomaster
Copy link

commented May 15, 2018

Hi,
if I just do docker build . I get the following output printed:

double free or corruption (out)
SIGABRT: abort
PC=0x7ffbb579ce97 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc42004fcc0, 0xc42004fce8)
        /usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc42004fc90 sp=0xc42004fc50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x10d7990)
        github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc42004fcc0 sp=0xc42004fc90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x10d7990)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc42004fcf8 sp=0xc42004fcc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc4200123c0)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc42004fda0 sp=0xc42004fcf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc42004fe88, 0x410022, 0xc420012320)
        <autogenerated>:4 +0x46 fp=0xc42004fde0 sp=0xc42004fda0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc42004fe68 sp=0xc42004fde0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffca6c99fb5, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc42004fed8 sp=0xc42004fe68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc42004ff58 sp=0xc42004fed8
main.main()
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc42004ff88 sp=0xc42004ff58
runtime.main()
        /usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc42004ffe0 sp=0xc42004ff88
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004ffe8 sp=0xc42004ffe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

I am using Ubuntu 18.04 with docker version:

Client:
 Version:      18.05.0-ce
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   f150324
 Built:        Wed May  9 22:16:13 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.05.0-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   f150324
  Built:        Wed May  9 22:14:23 2018
  OS/Arch:      linux/amd64
  Experimental: true

Maybe this could be related to #23 but I don't have much knowledge of go.
Worth to mention: the docker build is not aborted and continues but this output is confusing.

@Oodnadatta

This comment has been minimized.

Copy link

commented May 27, 2018

I have the same error using Kubuntu 18.04 with docker version :

Client:
 Version:      17.12.1-ce
 API version:  1.35
 Go version:   go1.10.1
 Git commit:   7390fc6
 Built:        Wed Apr 18 01:23:11 2018
 OS/Arch:      linux/amd64
@krisclarkdev

This comment has been minimized.

Copy link

commented Jun 12, 2018

I'm seeing the exact same thing on Ubuntu 18.04

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic
Client:
 Version:      18.03.1-ce
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   9ee9f40
 Built:        Thu Apr 26 07:16:22 2018
 OS/Arch:      linux/arm64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.03.1-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   9ee9f40
  Built:        Thu Apr 26 07:14:27 2018
  OS/Arch:      linux/arm64
  Experimental: false

Dockerfile

FROM node:8.10.0
EXPOSE 8080
COPY server.js .
CMD node server.js
@statico

This comment has been minimized.

Copy link

commented Jun 18, 2018

Slightly different error and docker version, but definitely related. docker build seems to complete despite it, however.

$ docker build .
free(): invalid pointer                                                                                                                                                                                     
SIGABRT: abort                                                                                                                                                                                              
PC=0x7fd1ae60fe97 m=0 sigcode=18446744073709551610                                                                                                                                                          
signal arrived during cgo execution                                                                                                                                                                         
                                                                                                                                                                                                            
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc420053cc0, 0xc420053ce8)
        /usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420053c90 sp=0xc420053c50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0xb96da0)
        github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420053cc0 sp=0xc420053c90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0xb96da0)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice
/secretservice_linux.go:96 +0x60 fp=0xc420053cf8 sp=0xc420053cc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc4200143e0)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice
/secretservice_linux.go:97 +0x217 fp=0xc420053da0 sp=0xc420053cf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc420053e88, 0x410022, 0xc420014330)
        <autogenerated>:4 +0x46 fp=0xc420053de0 sp=0xc420053da0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/c
redentials.go:145 +0x3e fp=0xc420053e68 sp=0xc420053de0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffd5f49ca3c, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/c
redentials.go:60 +0x16d fp=0xc420053ed8 sp=0xc420053e68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/c
redentials.go:41 +0x1cb fp=0xc420053f58 sp=0xc420053ed8
main.main()
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420053f88 sp=0xc420053f58
runtime.main()
        /usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420053fe0 sp=0xc420053f88
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420053fe8 sp=0xc420053fe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x7ffd5f49ab20
rcx    0x7fd1ae60fe97
rdx    0x0
rdi    0x2
...

Latest Ubuntu:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:        18.04
Codename:       bionic

Docker version:

Client:
 Version:       17.12.1-ce
 API version:   1.35
 Go version:    go1.10.1
 Git commit:    7390fc6
 Built: Wed Apr 18 01:23:11 2018
 OS/Arch:       linux/amd64

Server:
 Engine:
  Version:      17.12.1-ce
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.10.1
  Git commit:   7390fc6
  Built:        Wed Feb 28 17:46:05 2018
  OS/Arch:      linux/amd64
  Experimental: false

Dockerfile is one line:

FROM node:10.4.0
@ptresende

This comment has been minimized.

Copy link

commented Jun 21, 2018

Also getting a very similar error, using Ubuntu 18.04. The command works fine, despite the error.

$ sudo docker build .
double free or corruption (out)
SIGABRT: abort
PC=0x7f0d7bcc7e97 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc42004fcc0, 0xc42004fce8)
	/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc42004fc90 sp=0xc42004fc50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x19b7920)
	github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc42004fcc0 sp=0xc42004fc90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x19b7920)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc42004fcf8 sp=0xc42004fcc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc4200762c0)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc42004fda0 sp=0xc42004fcf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc42004fe88, 0x410022, 0xc420076220)
	<autogenerated>:4 +0x46 fp=0xc42004fde0 sp=0xc42004fda0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc420094008, 0x0, 0x10)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc42004fe68 sp=0xc42004fde0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffdf11cb701, 0x4, 0x7560a0, 0xc420094000, 0x7560e0, 0xc420094008, 0x40e398, 0x4d35c0)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc42004fed8 sp=0xc42004fe68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc42004ff58 sp=0xc42004fed8
main.main()
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc42004ff88 sp=0xc42004ff58
runtime.main()
	/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc42004ffe0 sp=0xc42004ff88
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004ffe8 sp=0xc42004ffe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x7ffdf11ca8e0
rcx    0x7f0d7bcc7e97
rdx    0x0
rdi    0x2
rsi    0x7ffdf11ca670
rbp    0x7ffdf11ca9e0
rsp    0x7ffdf11ca670
r8     0x0
r9     0x7ffdf11ca670
r10    0x8
r11    0x246
r12    0x7ffdf11ca8e0
r13    0x1000
r14    0x0
r15    0x30
rip    0x7f0d7bcc7e97
rflags 0x246
cs     0x33
fs     0x0
gs     0x0

Ubuntu:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic

Docker:

$ sudo docker version
Client:
 Version:	17.12.1-ce
 API version:	1.35
 Go version:	go1.10.1
 Git commit:	7390fc6
 Built:	Wed Apr 18 01:23:11 2018
 OS/Arch:	linux/amd64

Server:
 Engine:
  Version:	17.12.1-ce
  API version:	1.35 (minimum version 1.12)
  Go version:	go1.10.1
  Git commit:	7390fc6
  Built:	Wed Feb 28 17:46:05 2018
  OS/Arch:	linux/amd64
  Experimental:	false
@OliverWielandBR

This comment has been minimized.

Copy link

commented Jun 29, 2018

Same here on Ubuntu 18.04

r$ docker version
Client:
Version: 18.03.1-ce
API version: 1.37
Go version: go1.9.5
Git commit: 9ee9f40
Built: Wed Jun 20 21:43:51 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: 9ee9f40
Built: Wed Jun 20 21:42:00 2018
OS/Arch: linux/amd64
Experimental: false

r$ docker build .
free(): invalid pointer
SIGABRT: abort
PC=0x7f838bbb4e97 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc420049cc0, 0xc420049ce8)
/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420049c90 sp=0xc420049c50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x1509270)
github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420049cc0 sp=0xc420049c90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x1509270)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc420049cf8 sp=0xc420049cc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc420018350)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc420049da0 sp=0xc420049cf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc420049e88, 0x410022, 0xc4200182a0)
:4 +0x46 fp=0xc420049de0 sp=0xc420049da0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc420049e68 sp=0xc420049de0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffec8d80794, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc420049ed8 sp=0xc420049e68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc420049f58 sp=0xc420049ed8
main.main()
/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420049f88 sp=0xc420049f58
runtime.main()
/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420049fe0 sp=0xc420049f88
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420049fe8 sp=0xc420049fe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

rax 0x0
rbx 0x7ffec8d7f820
rcx 0x7f838bbb4e97
rdx 0x0
rdi 0x2
rsi 0x7ffec8d7f5b0
rbp 0x7ffec8d7f920
rsp 0x7ffec8d7f5b0
r8 0x0
r9 0x7ffec8d7f5b0
r10 0x8
r11 0x246
r12 0x7ffec8d7f820
r13 0x1000
r14 0x0
r15 0x30
rip 0x7f838bbb4e97
rflags 0x246
cs 0x33
fs 0x0
gs 0x0
Sending build context to Docker daemon 3.305MB

@aluvare

This comment has been minimized.

Copy link

commented Jun 29, 2018

Same with ubuntu 18.04 and 17.12.1-ce

@WaeCo

This comment has been minimized.

Copy link

commented Jun 29, 2018

Got the same error, but only if I run docker build as root. If I run the same command with a non root user (but in docker group) no error occurs.

$ docker info
Containers: 5
 Running: 1
 Paused: 0
 Stopped: 4
Images: 67
Server Version: 17.12.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: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9b55aab90508bd389d7654c4baf173a981477d55
runc version: 9f9c96235cc97674e935002fc3d78361b696a69e
init version: v0.13.0 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.15.0-23-generic
Operating System: Ubuntu 18.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.55GiB
Name: some-pc-name
ID: DMJN:PY6J:3P36:SHWD:H7HT:QD3N:R5JN:GKD4:ZIRQ:XH4Y:UTYT:HO7N
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
@froschi

This comment has been minimized.

Copy link

commented Jul 2, 2018

I also encounter this with 17.12.1-ce on Ubuntu 18.04, and I swear it has not happened until today. Unlike the poster before me, I use a normal user in the docker group.

$ docker version
Client:
 Version:       17.12.1-ce
 API version:   1.35
 Go version:    go1.10.1
 Git commit:    7390fc6
 Built: Wed Apr 18 01:23:11 2018
 OS/Arch:       linux/amd64

Server:
 Engine:
  Version:      17.12.1-ce
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.10.1
  Git commit:   7390fc6
  Built:        Wed Feb 28 17:46:05 2018
  OS/Arch:      linux/amd64
  Experimental: false
@stsquad

This comment has been minimized.

Copy link

commented Jul 2, 2018

I wonder if this is best raised as a bug against Ubuntu on Launchpad?

@brainode

This comment has been minimized.

Copy link

commented Jul 4, 2018

Also has a simillar error

double free or corruption (out)
SIGABRT: abort
PC=0x7fa3ee36308b m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0x7fa3ee36308b
stack: frame={sp:0x7ffcbd53ab20, fp:0x0} stack=[0x7ffcbcd3bf48,0x7ffcbd53af70)
00007ffcbd53aa20: 0000000001f70b80 00007ffcbd53ae98
00007ffcbd53aa30: 0000000001f739c0 00007fa3d000a3c0
00007ffcbd53aa40: 0000000001f71fe0 00007fa3d000a3c0
00007ffcbd53aa50: 00007fa3eeeb11cc 0000000000763080
00007ffcbd53aa60: 00007ffcbd53ae98 0000000000000000
00007ffcbd53aa70: 000000000000002f 000000c42000e028
00007ffcbd53aa80: 0000000000000000 00007fa3ef0d5d93
00007ffcbd53aa90: 0000000000000005 0000000000000000
00007ffcbd53aaa0: 0000000000000000 00007fa3ee919200
00007ffcbd53aab0: 00007ffcbd53ae40 00007fa3ef0dcaea
00007ffcbd53aac0: 0000000000000000 0000000000000000
00007ffcbd53aad0: 0000000000000002 0000000000000050
00007ffcbd53aae0: 0000000000000000 00007fa3eee8ee65
00007ffcbd53aaf0: 0000000000000007 6e61207962206465
00007ffcbd53ab00: 7465726365732e70 6f6e207361772073
00007ffcbd53ab10: 0000000000000000 0000ffff00001fa0
00007ffcbd53ab20: <0000000000000000 0000000000000000
00007ffcbd53ab30: 0000000000000000 0000000000000000
00007ffcbd53ab40: 000000c420020000 0000000000000379
00007ffcbd53ab50: 000000c420014560 000000000000001e
00007ffcbd53ab60: 000000c420014580 0000000000000012
00007ffcbd53ab70: 000000c4200145a0 000000000000001d
00007ffcbd53ab80: 000000c4200145c0 000000000000001f
00007ffcbd53ab90: 000000c4200145e0 0000000000000014
00007ffcbd53aba0: fffffffe7fffffff ffffffffffffffff
00007ffcbd53abb0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abc0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abd0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abe0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abf0: ffffffffffffffff ffffffffffffffff
00007ffcbd53ac00: ffffffffffffffff ffffffffffffffff
00007ffcbd53ac10: ffffffffffffffff ffffffffffffffff
runtime: unknown pc 0x7fa3ee36308b
stack: frame={sp:0x7ffcbd53ab20, fp:0x0} stack=[0x7ffcbcd3bf48,0x7ffcbd53af70)
00007ffcbd53aa20: 0000000001f70b80 00007ffcbd53ae98
00007ffcbd53aa30: 0000000001f739c0 00007fa3d000a3c0
00007ffcbd53aa40: 0000000001f71fe0 00007fa3d000a3c0
00007ffcbd53aa50: 00007fa3eeeb11cc 0000000000763080
00007ffcbd53aa60: 00007ffcbd53ae98 0000000000000000
00007ffcbd53aa70: 000000000000002f 000000c42000e028
00007ffcbd53aa80: 0000000000000000 00007fa3ef0d5d93
00007ffcbd53aa90: 0000000000000005 0000000000000000
00007ffcbd53aaa0: 0000000000000000 00007fa3ee919200
00007ffcbd53aab0: 00007ffcbd53ae40 00007fa3ef0dcaea
00007ffcbd53aac0: 0000000000000000 0000000000000000
00007ffcbd53aad0: 0000000000000002 0000000000000050
00007ffcbd53aae0: 0000000000000000 00007fa3eee8ee65
00007ffcbd53aaf0: 0000000000000007 6e61207962206465
00007ffcbd53ab00: 7465726365732e70 6f6e207361772073
00007ffcbd53ab10: 0000000000000000 0000ffff00001fa0
00007ffcbd53ab20: <0000000000000000 0000000000000000
00007ffcbd53ab30: 0000000000000000 0000000000000000
00007ffcbd53ab40: 000000c420020000 0000000000000379
00007ffcbd53ab50: 000000c420014560 000000000000001e
00007ffcbd53ab60: 000000c420014580 0000000000000012
00007ffcbd53ab70: 000000c4200145a0 000000000000001d
00007ffcbd53ab80: 000000c4200145c0 000000000000001f
00007ffcbd53ab90: 000000c4200145e0 0000000000000014
00007ffcbd53aba0: fffffffe7fffffff ffffffffffffffff
00007ffcbd53abb0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abc0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abd0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abe0: ffffffffffffffff ffffffffffffffff
00007ffcbd53abf0: ffffffffffffffff ffffffffffffffff
00007ffcbd53ac00: ffffffffffffffff ffffffffffffffff
00007ffcbd53ac10: ffffffffffffffff ffffffffffffffff

goroutine 1 [syscall]:
runtime.cgocall(0x4af7b0, 0xc420069cf0, 0x428974)
/usr/lib64/go/1.10/src/runtime/cgocall.go:128 +0x64 fp=0xc420069cc0 sp=0xc420069c88 pc=0x403b34
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x1f67790)
_cgo_gotypes.go:111 +0x41 fp=0xc420069cf0 sp=0xc420069cc0 pc=0x4ad7a1
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x1f67790)
/home/abuild/rpmbuild/BUILD/docker-credential-helpers-0.6.0/go/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x56 fp=0xc420069d28 sp=0xc420069cf0 pc=0x4af1d6
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x4fc600, 0xc42005a2f0)
/home/abuild/rpmbuild/BUILD/docker-credential-helpers-0.6.0/go/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x1de fp=0xc420069dc8 sp=0xc420069d28 pc=0x4ae59e
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x795368, 0x20, 0x28, 0xc420069ea8)
:1 +0x35 fp=0xc420069df0 sp=0xc420069dc8 pc=0x4af605
github.com/docker/docker-credential-helpers/credentials.List(0x4fc8a0, 0x795368, 0x4fc660, 0xc42000e018, 0x0, 0x10)
/home/abuild/rpmbuild/BUILD/docker-credential-helpers-0.6.0/go/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:175 +0x3e fp=0xc420069e78 sp=0xc420069df0 pc=0x4acf4e
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x4fc8a0, 0x795368, 0x7ffcbd53c1fb, 0x4, 0x4fc640, 0xc42000e010, 0x4fc660, 0xc42000e018, 0x40663c, 0xc42001c0b8)
/home/abuild/rpmbuild/BUILD/docker-credential-helpers-0.6.0/go/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:77 +0x13f fp=0xc420069ee8 sp=0xc420069e78 pc=0x4ac10f
github.com/docker/docker-credential-helpers/credentials.Serve(0x4fc8a0, 0x795368)
/home/abuild/rpmbuild/BUILD/docker-credential-helpers-0.6.0/go/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0x1b7 fp=0xc420069f68 sp=0xc420069ee8 pc=0x4abf97
main.main()
/home/abuild/rpmbuild/BUILD/docker-credential-helpers-0.6.0/secretservice/cmd/main_linux.go:9 +0x39 fp=0xc420069f88 sp=0xc420069f68 pc=0x4af689
runtime.main()
/usr/lib64/go/1.10/src/runtime/proc.go:198 +0x212 fp=0xc420069fe0 sp=0xc420069f88 pc=0x42add2
runtime.goexit()
/usr/lib64/go/1.10/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420069fe8 sp=0xc420069fe0 pc=0x452001

rax 0x0
rbx 0x6
rcx 0x7fa3ee36308b
rdx 0x0
rdi 0x2
rsi 0x7ffcbd53ab20
rbp 0x7ffcbd53ae70
rsp 0x7ffcbd53ab20
r8 0x0
r9 0x7ffcbd53ab20
r10 0x8
r11 0x246
r12 0x1000
r13 0x7ffcbd53ad90
r14 0x10
r15 0x7fa3ef2cb000
rip 0x7fa3ee36308b
rflags 0x246
cs 0x33
fs 0x0
gs 0x0

Docker version:

`Client:
Version: 17.09.1-ce
API version: 1.32
Go version: go1.8.7
Git commit: f4ffd2511ce9
Built: Fri Jun 29 12:00:00 2018
OS/Arch: linux/amd64

Server:
Version: 17.09.1-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.7
Git commit: f4ffd2511ce9
Built: Fri Jun 29 12:00:00 2018
OS/Arch: linux/amd64
Experimental: false
`

@matticala

This comment has been minimized.

Copy link

commented Jul 6, 2018

Same error on Pop_OS! (Ubuntu 18.04 based). Docker version:

Client:
 Version:      18.03.1-ce
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   9ee9f40
 Built:        Wed Jun 20 21:43:51 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.03.1-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   9ee9f40
  Built:        Wed Jun 20 21:42:00 2018
  OS/Arch:      linux/amd64
  Experimental: false

trying a docker build I obtain:

double free or corruption (out)
SIGABRT: abort
PC=0x7fa48cb0ee97 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc42004dcc0, 0xc42004dce8)
	/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc42004dc90 sp=0xc42004dc50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x1213920)
	github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc42004dcc0 sp=0xc42004dc90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x1213920)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc42004dcf8 sp=0xc42004dcc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc420012380)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc42004dda0 sp=0xc42004dcf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc42004de88, 0x410022, 0xc4200122e0)
	<autogenerated>:4 +0x46 fp=0xc42004dde0 sp=0xc42004dda0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc42004de68 sp=0xc42004dde0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffe7246578f, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc42004ded8 sp=0xc42004de68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc42004df58 sp=0xc42004ded8
main.main()
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc42004df88 sp=0xc42004df58
runtime.main()
	/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc42004dfe0 sp=0xc42004df88
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004dfe8 sp=0xc42004dfe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x7ffe72463440
rcx    0x7fa48cb0ee97
rdx    0x0
rdi    0x2
rsi    0x7ffe724631d0
rbp    0x7ffe72463540
rsp    0x7ffe724631d0
r8     0x0
r9     0x7ffe724631d0
r10    0x8
r11    0x246
r12    0x7ffe72463440
r13    0x1000
r14    0x0
r15    0x30
rip    0x7fa48cb0ee97
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
Sending build context to Docker daemon  18.94kB
Step 1/19 : FROM alpine
latest: Pulling from library/alpine
no matching manifest for linux/amd64 in the manifest list entries

Strange enough, I have been building until yesterday. Today's updates:

2018-07-06 09:40:34 status half-installed gnome-calendar:amd64 3.28.1-1ubuntu2
2018-07-06 09:40:34 status half-installed gnome-calendar:amd64 3.28.1-1ubuntu2
2018-07-06 09:40:34 status half-installed gnome-calendar:amd64 3.28.1-1ubuntu2
2018-07-06 09:40:35 status installed mime-support:all 3.60ubuntu1
2018-07-06 09:40:35 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.1
2018-07-06 09:40:35 status installed gnome-calendar:amd64 3.28.2-0ubuntu0.18.04.1
2018-07-06 09:40:35 status installed libglib2.0-0:amd64 2.56.1-2ubuntu1
2018-07-06 09:40:35 status installed gnome-menus:amd64 3.13.3-11ubuntu1
2018-07-06 09:40:35 status installed hicolor-icon-theme:all 0.17-2
2018-07-06 09:40:51 status half-installed firefox:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 09:40:54 status half-installed firefox:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 09:40:54 status installed mime-support:all 3.60ubuntu1
2018-07-06 09:40:54 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.1
2018-07-06 09:40:55 status installed firefox:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 09:41:06 status installed man-db:amd64 2.8.3-2
2018-07-06 09:41:06 status installed gnome-menus:amd64 3.13.3-11ubuntu1
2018-07-06 09:41:06 status installed hicolor-icon-theme:all 0.17-2
2018-07-06 09:41:22 status half-installed code:amd64 1.24.1-1528912196
2018-07-06 09:41:28 status half-installed code:amd64 1.24.1-1528912196
2018-07-06 09:41:28 status installed mime-support:all 3.60ubuntu1
2018-07-06 09:41:28 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.1
2018-07-06 09:41:28 status installed code:amd64 1.25.0-1530796411
2018-07-06 09:41:28 status installed gnome-menus:amd64 3.13.3-11ubuntu1
2018-07-06 11:18:49 status half-installed libapt-pkg5.0:amd64 1.6.1
2018-07-06 11:18:50 status half-installed libapt-pkg5.0:amd64 1.6.1
2018-07-06 11:18:50 status installed libapt-pkg5.0:amd64 1.6.2
2018-07-06 11:18:50 status half-installed libapt-inst2.0:amd64 1.6.1
2018-07-06 11:18:50 status half-installed libapt-inst2.0:amd64 1.6.1
2018-07-06 11:18:50 status half-installed apt:amd64 1.6.1
2018-07-06 11:18:51 status half-installed apt:amd64 1.6.1
2018-07-06 11:18:51 status installed apt:amd64 1.6.2
2018-07-06 11:18:52 status half-installed apt-utils:amd64 1.6.1
2018-07-06 11:18:52 status half-installed apt-utils:amd64 1.6.1
2018-07-06 11:18:52 status half-installed opera-stable:amd64 54.0.2952.41
2018-07-06 11:18:56 status half-installed opera-stable:amd64 54.0.2952.41
2018-07-06 11:18:56 status half-installed apt-transport-https:all 1.6.1
2018-07-06 11:18:56 status half-installed apt-transport-https:all 1.6.1
2018-07-06 11:18:56 status half-installed firefox-locale-ar:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-ar:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-de:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-de:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-en:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-en:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-es:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-es:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:57 status half-installed firefox-locale-fr:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-fr:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-it:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-it:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-ja:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-ja:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-pt:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-pt:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-ru:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:58 status half-installed firefox-locale-ru:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:59 status half-installed firefox-locale-zh-hans:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:59 status half-installed firefox-locale-zh-hans:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:59 status half-installed firefox-locale-zh-hant:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:59 status half-installed firefox-locale-zh-hant:amd64 60.0.2+build1-0ubuntu0.18.04.1
2018-07-06 11:18:59 status half-installed keybase:amd64 2.3.0-20180703160439.fc6ccd458e
2018-07-06 11:19:05 status half-installed keybase:amd64 2.3.0-20180703160439.fc6ccd458e
2018-07-06 11:19:05 status installed firefox-locale-es:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:05 status installed libapt-inst2.0:amd64 1.6.2
2018-07-06 11:19:05 status installed firefox-locale-ru:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:05 status installed firefox-locale-it:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:05 status installed firefox-locale-ja:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:05 status installed apt-transport-https:all 1.6.2
2018-07-06 11:19:05 status installed firefox-locale-en:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:05 status installed mime-support:all 3.60ubuntu1
2018-07-06 11:19:05 status installed desktop-file-utils:amd64 0.23-1ubuntu3.18.04.1
2018-07-06 11:19:05 status installed apt-utils:amd64 1.6.2
2018-07-06 11:19:05 status installed firefox-locale-zh-hant:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:06 status installed opera-stable:amd64 54.0.2952.46
2018-07-06 11:19:06 status installed libc-bin:amd64 2.27-3ubuntu1
2018-07-06 11:19:06 status installed firefox-locale-fr:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:06 status installed firefox-locale-pt:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:08 status installed man-db:amd64 2.8.3-2
2018-07-06 11:19:12 status installed shared-mime-info:amd64 1.9-2
2018-07-06 11:19:12 status installed gnome-menus:amd64 3.13.3-11ubuntu1
2018-07-06 11:19:12 status installed firefox-locale-zh-hans:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:12 status installed firefox-locale-de:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:12 status installed hicolor-icon-theme:all 0.17-2
2018-07-06 11:19:12 status installed firefox-locale-ar:amd64 61.0+build3-0ubuntu0.18.04.1
2018-07-06 11:19:13 status installed keybase:amd64 2.3.0-20180705175312.d427972617
@andreideholte

This comment has been minimized.

Copy link

commented Jul 20, 2018

I'm having the same problem! No one to explain why?

@neographikal

This comment has been minimized.

Copy link

commented Jul 23, 2018

Same error on Ubuntu 18.04 LTS server

@basil

This comment has been minimized.

Copy link

commented Jul 24, 2018

I hit this on Ubuntu 18.04 LTS with docker-ce version 18.06.0~ce~3-0~ubuntu:

free(): invalid pointer
SIGABRT: abort
PC=0x7fcf65ec1e97 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc42004fcc0, 0xc42004fce8)
	/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc42004fc90 sp=0xc42004fc50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x820270)
	github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc42004fcc0 sp=0xc42004fc90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x820270)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc42004fcf8 sp=0xc42004fcc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc420018370)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc42004fda0 sp=0xc42004fcf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc42004fe88, 0x410022, 0xc4200182c0)
	<autogenerated>:4 +0x46 fp=0xc42004fde0 sp=0xc42004fda0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc42004fe68 sp=0xc42004fde0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffc3303078a, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc42004fed8 sp=0xc42004fe68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc42004ff58 sp=0xc42004fed8
main.main()
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc42004ff88 sp=0xc42004ff58
runtime.main()
	/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc42004ffe0 sp=0xc42004ff88
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004ffe8 sp=0xc42004ffe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x7ffc3302e850
rcx    0x7fcf65ec1e97
rdx    0x0
rdi    0x2
rsi    0x7ffc3302e5e0
rbp    0x7ffc3302e950
rsp    0x7ffc3302e5e0
r8     0x0
r9     0x7ffc3302e5e0
r10    0x8
r11    0x246
r12    0x7ffc3302e850
r13    0x1000
r14    0x0
r15    0x30
rip    0x7fcf65ec1e97
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
@zpwis

This comment has been minimized.

Copy link

commented Aug 1, 2018

Same here on Ubuntu 18.04 using Docker version 18.06.0-ce, build 0ffa825:

free(): invalid pointer
SIGABRT: abort
PC=0x7f9023fa8e97 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc420047cc0, 0xc420047ce8)
        /usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420047c90 sp=0xc420047c50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x17a0270)
        github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420047cc0 sp=0xc420047c90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x17a0270)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc420047cf8 sp=0xc420047cc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc420016370)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc420047da0 sp=0xc420047cf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc420047e88, 0x410022, 0xc4200162c0)
        <autogenerated>:4 +0x46 fp=0xc420047de0 sp=0xc420047da0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc420047e68 sp=0xc420047de0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffc20af06de, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc420047ed8 sp=0xc420047e68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc420047f58 sp=0xc420047ed8
main.main()
        /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420047f88 sp=0xc420047f58
runtime.main()
        /usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420047fe0 sp=0xc420047f88
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420047fe8 sp=0xc420047fe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x7ffc20aef2d0
rcx    0x7f9023fa8e97
rdx    0x0
rdi    0x2
rsi    0x7ffc20aef060
rbp    0x7ffc20aef3d0
rsp    0x7ffc20aef060
r8     0x0
r9     0x7ffc20aef060
r10    0x8
r11    0x246
r12    0x7ffc20aef2d0
r13    0x1000
r14    0x0
r15    0x30
rip    0x7f9023fa8e97
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
Sending build context to Docker daemon  19.97kB
@stsquad

This comment has been minimized.

Copy link

commented Aug 1, 2018

Before anyone comments with a me too comment please test the current state of master. PR #29 should have resolved this. It may need back-porting to the distro packages.

@Chichilele

This comment has been minimized.

Copy link

commented Aug 9, 2018

@stsquad Thank you ! Any idea about when it will be ready ?

@stsquad

This comment has been minimized.

Copy link

commented Aug 9, 2018

@Chichilele for downstream distros that will depend on if they backport the fixes into their packages. See if a bug has been raised for this on Ubuntu's bug tracker. The fix is in master now so you can always test that.

@Arkanosis

This comment has been minimized.

Copy link

commented Aug 9, 2018

I don't see any related open bug report for Ubuntu: https://bugs.launchpad.net/ubuntu/+source/docker.io .

@benjamin-thomas

This comment has been minimized.

Copy link

commented Aug 10, 2018

See: moby/moby#34048

As hinted by this gentleman, installing gnome-keyring fixes the error, on an ubuntu... server!! (18.04)

@bevinhex

This comment has been minimized.

Copy link

commented Aug 17, 2018

I have both gnome-keyring and accountsservice installed, but no luck

@benjamin-thomas

This comment has been minimized.

Copy link

commented Aug 18, 2018

@amashatan

This comment has been minimized.

Copy link

commented Aug 18, 2018

Same here on Ubuntu 18.04 using Docker version 18.06.0-ce , but when I uninstall docker-compose , the problem was resolved , (sudo apt-get remove docker-compose) , I think there is link between docker-compose and the problem.

@edwardoliveira

This comment has been minimized.

Copy link

commented Sep 3, 2018

My setup is: Ubuntu 18.04 and Docker version 17.12.1-ce, build 7390fc6. Since last friday, I have been facing the same issue. Any updates on this issue?

@muavr

This comment has been minimized.

Copy link

commented Sep 10, 2018

The same error on Ubuntu 18.04 using Docker version 18.06.1-ce, build e68fc7a:
(The command works fine, despite the error.)
The error appears after docker-compose (v 1.17.1-2) installation.
Removing docker-compose resolves this issue.

sudo apt-get remove docker-compose
sudo apt autoremove
sudo docker build -t pigeon .
double free or corruption (out)
SIGABRT: abort
PC=0x7f82a6ff1e97 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4afd50, 0xc42004dcc0, 0xc42004dce8)
	/usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc42004dc90 sp=0xc42004dc50
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0x1956920)
	github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc42004dcc0 sp=0xc42004dc90
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0x1956920)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc42004dcf8 sp=0xc42004dcc0
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc420014380)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc42004dda0 sp=0xc42004dcf8
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc42004de88, 0x410022, 0xc4200142e0)
	<autogenerated>:4 +0x46 fp=0xc42004dde0 sp=0xc42004dda0
github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc42004de68 sp=0xc42004dde0
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7fff30197868, 0x4, 0x7560a0, 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc42004ded8 sp=0xc42004de68
github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc42004df58 sp=0xc42004ded8
main.main()
	/build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc42004df88 sp=0xc42004df58
runtime.main()
	/usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc42004dfe0 sp=0xc42004df88
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42004dfe8 sp=0xc42004dfe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x7fff301965c0
rcx    0x7f82a6ff1e97
rdx    0x0
rdi    0x2
rsi    0x7fff30196350
rbp    0x7fff301966c0
rsp    0x7fff30196350
r8     0x0
r9     0x7fff30196350
r10    0x8
r11    0x246
r12    0x7fff301965c0
r13    0x1000
r14    0x0
r15    0x30
rip    0x7f82a6ff1e97
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
Sending build context to Docker daemon  6.144kB
Step 1/9 : FROM alpine:3.8
@aidanh010

This comment has been minimized.

Copy link

commented Sep 16, 2018

I don't think there is a link to docker-compose other than on Ubuntu where installing compose pulls in the golang-docker-credential-helpers dependency, triggering the issue to start appearing. Removing the credentials helper package with dpkg -r --force-depends removes this issue and leaves docker-compose working fine. For a more practical workaround install with pip or script on Docker's docs site.

edit: link to Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/docker-compose/+bug/1792824

@Genovo

This comment has been minimized.

Copy link

commented Nov 25, 2018

Probably get dinged for this answer.
Was getting same cgo execution error too, and just like above, built it anyway too.
Not sure why; but added $USER to docker group.
sudo usermod -a -G docker $USER
Then completely shut down and restarted.
Got rid of need for sudo (which I expected); but error went away too.

@sveinse

This comment has been minimized.

Copy link

commented Nov 26, 2018

I have the same problem on Ubuntu 18.04.1 LTS running 18.06.1-ce (which I believe is the latest official released prebuilt version for Ubuntu). In my application, I am transferring some files with root:root 600 permissions, so I cannot demote running docker build as non-root as @Genovo suggests.

Does anyone have any indication if the docker image is fully function despite the said crash?

@aidanh010

This comment has been minimized.

Copy link

commented Nov 29, 2018

@sveinse We ran them in production for several months without any issues at all from this. Granted that's not formal proof that it doesn't cause any, but it doesn't seem that this error causes any issues to the built images.

@scud3r1a

This comment has been minimized.

Copy link

commented Jan 20, 2019

The problem with this is (I got the same issue) that it slows down the building process since, in my case, before the fast build process starts, the error message seems to produce a long period of processing in the background before the build process itself starts.

@sitsofe

This comment has been minimized.

Copy link

commented Jan 23, 2019

@martinlevesque

This comment has been minimized.

Copy link

commented Jan 24, 2019

answer by aidanh010 ( dpkg -r --force-depends golang-docker-credential-helpers ) worked for me, and no need to restart the docker service.

@akshay-babar

This comment has been minimized.

Copy link

commented Mar 14, 2019

"dpkg -r --force-depends golang-docker-credential-helpers" workes for me.

@larytet

This comment has been minimized.

Copy link

commented Mar 17, 2019

I have removed the docker-composer sudo apt-get remove docker-compose

@jvleminc

This comment has been minimized.

Copy link

commented Apr 3, 2019

"dpkg -r --force-depends golang-docker-credential-helpers" worked for me too :-)

@russau

This comment has been minimized.

Copy link

commented Jun 5, 2019

I was able to fix by removing the apt installed docker-compose, and using the curl instructions to install on the docker website https://docs.docker.com/compose/install/.

@danimas

This comment has been minimized.

Copy link

commented Jun 8, 2019

'dpkg -r --force-depends golang-docker-credential-helpers' worked for me too! :)

@AngleNet

This comment has been minimized.

Copy link

commented Jun 12, 2019

Uninstalling system wide docker-compose and install it via pip3 works for me on Ubuntu 18.04.1 LTS.

sudo apt purge docker-compose
sudo apt autoremove
sudo apt install python3-pip
sudo pip3 install docker-compose
@SuperSandro2000

This comment has been minimized.

Copy link

commented Jun 12, 2019

If you use pip once with sudo you need to use it all the time with it. Just use it without sudo if you are alone on the server.

@AngleNet

This comment has been minimized.

Copy link

commented Jun 12, 2019

I mean you can using docker-compose with python3. You can install it via whatever you want. In my case, I install it via sudo. You can install it with a virtualenv or pipenv or other stuff. Just be clear with that. @SuperSandro2000

@SuperSandro2000

This comment has been minimized.

Copy link

commented Jun 12, 2019

You can even install it on your Calculator via a COM connection. The point is that the preferred way is with pip3 without sudo if possible.

@thaJeztah

This comment has been minimized.

Copy link
Member

commented Jul 4, 2019

Think this should be fixed by #29, which is in v0.6.2 of the credential helpers

@thaJeztah thaJeztah closed this Jul 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.