[pkg-go] Bug#922428: "free(): invalid pointer", SIGABRT

Jim Paris jim at jtan.com
Fri Feb 15 19:13:56 GMT 2019


Package: golang-docker-credential-helpers
Version: 0.6.1-1
Severity: normal
Tags: upstream patch

See
  https://github.com/docker/docker-credential-helpers/issues/104

This was fixed upstream post-0.6.1:
  https://github.com/docker/docker-credential-helpers/commit/73e5f5dbfea31ee3b81111ebbf189785fa69731c

The symptom is that I get the following error:

$ docker-credential-secretservice list
free(): invalid pointer
SIGABRT: abort
PC=0x7f2b60cf285b m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0x7f2b60cf285b
stack: frame={sp:0x7fff1248b2e0, fp:0x0} stack=[0x7fff11c8c708,0x7fff1248b730)
00007fff1248b1e0:  00007fff1248b658  0000000000cfe8c0
00007fff1248b1f0:  00007fff1248b658  0000000000cfceb0
00007fff1248b200:  00007f2b617eeb2c  00007f2b614d140a
00007fff1248b210:  00007f2b617eeb2c  0000000000565080
00007fff1248b220:  000000c4200ae020  000000c4200ae018
00007fff1248b230:  0000000000000000  00007fff1248b658
00007fff1248b240:  0000000000000200  00007f2b61a41b33
00007fff1248b250:  0000000000000005  0000000000000000
00007fff1248b260:  ffffffff00000000  00007f2b60eb05f0
00007fff1248b270:  00007fff1248b600  00007f2b61a484ca
00007fff1248b280:  0000000000000000  0000000000000000
00007fff1248b290:  0000000000000002  0000000000000050
00007fff1248b2a0:  0000000000000000  00007f2b617ccbb5
00007fff1248b2b0:  0000000000cfc800  726f273d30677261
00007fff1248b2c0:  306772612c277375  72662e67726f273d
00007fff1248b2d0:  6f746b7365646565  0002ffff00001fa0
00007fff1248b2e0: <0000000000000000  0000000000000088
00007fff1248b2f0:  000000c420018090  000000000000000d
00007fff1248b300:  000000c42001a050  000000000000004f
00007fff1248b310:  000000c420016200  0000000000000011
00007fff1248b320:  000000c42001c030  000000000000002a
00007fff1248b330:  0000000000000000  0000000000451f91 <runtime.goexit+1>
00007fff1248b340:  0000000000000000  0000000000000000
00007fff1248b350:  0000000000000000  0000000000000000
00007fff1248b360:  fffffffe7fffffff  ffffffffffffffff
00007fff1248b370:  ffffffffffffffff  ffffffffffffffff
00007fff1248b380:  ffffffffffffffff  ffffffffffffffff
00007fff1248b390:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3a0:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3b0:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3c0:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3d0:  ffffffffffffffff  ffffffffffffffff
runtime: unknown pc 0x7f2b60cf285b
stack: frame={sp:0x7fff1248b2e0, fp:0x0} stack=[0x7fff11c8c708,0x7fff1248b730)
00007fff1248b1e0:  00007fff1248b658  0000000000cfe8c0
00007fff1248b1f0:  00007fff1248b658  0000000000cfceb0
00007fff1248b200:  00007f2b617eeb2c  00007f2b614d140a
00007fff1248b210:  00007f2b617eeb2c  0000000000565080
00007fff1248b220:  000000c4200ae020  000000c4200ae018
00007fff1248b230:  0000000000000000  00007fff1248b658
00007fff1248b240:  0000000000000200  00007f2b61a41b33
00007fff1248b250:  0000000000000005  0000000000000000
00007fff1248b260:  ffffffff00000000  00007f2b60eb05f0
00007fff1248b270:  00007fff1248b600  00007f2b61a484ca
00007fff1248b280:  0000000000000000  0000000000000000
00007fff1248b290:  0000000000000002  0000000000000050
00007fff1248b2a0:  0000000000000000  00007f2b617ccbb5
00007fff1248b2b0:  0000000000cfc800  726f273d30677261
00007fff1248b2c0:  306772612c277375  72662e67726f273d
00007fff1248b2d0:  6f746b7365646565  0002ffff00001fa0
00007fff1248b2e0: <0000000000000000  0000000000000088
00007fff1248b2f0:  000000c420018090  000000000000000d
00007fff1248b300:  000000c42001a050  000000000000004f
00007fff1248b310:  000000c420016200  0000000000000011
00007fff1248b320:  000000c42001c030  000000000000002a
00007fff1248b330:  0000000000000000  0000000000451f91 <runtime.goexit+1>
00007fff1248b340:  0000000000000000  0000000000000000
00007fff1248b350:  0000000000000000  0000000000000000
00007fff1248b360:  fffffffe7fffffff  ffffffffffffffff
00007fff1248b370:  ffffffffffffffff  ffffffffffffffff
00007fff1248b380:  ffffffffffffffff  ffffffffffffffff
00007fff1248b390:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3a0:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3b0:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3c0:  ffffffffffffffff  ffffffffffffffff
00007fff1248b3d0:  ffffffffffffffff  ffffffffffffffff

goroutine 1 [syscall]:
runtime.cgocall(0x4af750, 0xc420067cf0, 0x428904)
	/usr/lib/go-1.10/src/runtime/cgocall.go:128 +0x64 fp=0xc420067cc0 sp=0xc420067c88 pc=0x403ac4
github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0xcef090)
	_cgo_gotypes.go:111 +0x41 fp=0xc420067cf0 sp=0xc420067cc0 pc=0x4ad731
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0xcef090)
	/build/golang-github-docker-docker-credential-helpers-0.6.1/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x56 fp=0xc420067d28 sp=0xc420067cf0 pc=0x4af166
github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x4fcfe0, 0xc4200962e0)
	/build/golang-github-docker-docker-credential-helpers-0.6.1/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x1de fp=0xc420067dc8 sp=0xc420067d28 pc=0x4ae52e
github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x597368, 0x20, 0x28, 0xc420067ea8)
	<autogenerated>:1 +0x35 fp=0xc420067df0 sp=0xc420067dc8 pc=0x4af595
github.com/docker/docker-credential-helpers/credentials.List(0x4fd280, 0x597368, 0x4fd040, 0xc4200ae008, 0x0, 0x10)
	/build/golang-github-docker-docker-credential-helpers-0.6.1/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:175 +0x3e fp=0xc420067e78 sp=0xc420067df0 pc=0x4acede
github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x4fd280, 0x597368, 0x7fff1248c581, 0x4, 0x4fd020, 0xc4200ae000, 0x4fd040, 0xc4200ae008, 0x4065cc, 0xc42008c058)
	/build/golang-github-docker-docker-credential-helpers-0.6.1/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:77 +0x13f fp=0xc420067ee8 sp=0xc420067e78 pc=0x4ac09f
github.com/docker/docker-credential-helpers/credentials.Serve(0x4fd280, 0x597368)
	/build/golang-github-docker-docker-credential-helpers-0.6.1/obj-x86_64-linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0x1b7 fp=0xc420067f68 sp=0xc420067ee8 pc=0x4abf27
main.main()
	/build/golang-github-docker-docker-credential-helpers-0.6.1/secretservice/cmd/main_linux.go:9 +0x39 fp=0xc420067f88 sp=0xc420067f68 pc=0x4af619
runtime.main()
	/usr/lib/go-1.10/src/runtime/proc.go:198 +0x212 fp=0xc420067fe0 sp=0xc420067f88 pc=0x42ad62
runtime.goexit()
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420067fe8 sp=0xc420067fe0 pc=0x451f91

rax    0x0
rbx    0x6
rcx    0x7f2b60cf285b
rdx    0x0
rdi    0x2
rsi    0x7fff1248b2e0
rbp    0x7fff1248b630
rsp    0x7fff1248b2e0
r8     0x0
r9     0x7fff1248b2e0
r10    0x8
r11    0x246
r12    0x7fff1248b550
r13    0x1000
r14    0x10
r15    0x7f2b61a5d000
rip    0x7f2b60cf285b
rflags 0x246
cs     0x33
fs     0x0
gs     0x0


-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (110, 'stable'), (90, 'testing'), (50, 'unstable'), (20, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en at quot:en at boldquot:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages golang-docker-credential-helpers depends on:
ii  libc6          2.28-5
ii  libglib2.0-0   2.50.3-2
ii  libsecret-1-0  0.18.5-3.1

golang-docker-credential-helpers recommends no packages.

golang-docker-credential-helpers suggests no packages.

-- no debconf information



More information about the Pkg-go-maintainers mailing list