[pkg-go] Bug#860684: Bug#860684: golang-github-streadway-amqp: FTBFS on i386: dh_auto_test: go test -v -p 1 github.com/streadway/amqp returned exit code 1

Sascha Steinbiss satta at debian.org
Mon Apr 24 12:50:59 UTC 2017


Hi all,

[...]
>> === RUN   TestGoFuzzCrashers
>> --- FAIL: TestGoFuzzCrashers (0.00s)
>> panic: runtime error: makeslice: len out of range [recovered]
>> 	panic: runtime error: makeslice: len out of range
>>
>> goroutine 3445 [running]:
>> panic(0x8249520, 0x18a0e0a8)
>> 	/usr/lib/go-1.7/src/runtime/panic.go:500 +0x331
>> testing.tRunner.func1(0x193c6280)
>> 	/usr/lib/go-1.7/src/testing/testing.go:579 +0x14f
>> panic(0x8249520, 0x18a0e0a8)
>> 	/usr/lib/go-1.7/src/runtime/panic.go:458 +0x40b
>> github.com/streadway/amqp.readLongstr(0x8343dc0, 0x190500c0, 0x0, 0x0, 0x0, 0x0)
>> 	/<<PKGBUILDDIR>>/obj-i686-linux-gnu/src/github.com/streadway/amqp/read.go:112 +0xeb
>> github.com/streadway/amqp.readTable(0x8343dc0, 0x190500c0, 0x0, 0x0, 0x0)
>> 	/<<PKGBUILDDIR>>/obj-i686-linux-gnu/src/github.com/streadway/amqp/read.go:269 +0x7e
>> github.com/streadway/amqp.(*reader).parseHeaderFrame(0x18664f2c, 0x19051610, 0xefbfbd5b, 0x0, 0x0, 0x0, 0x0)
>> 	/<<PKGBUILDDIR>>/obj-i686-linux-gnu/src/github.com/streadway/amqp/read.go:359 +0x3cc
>> github.com/streadway/amqp.(*reader).ReadFrame(0x18664f2c, 0x0, 0x0, 0x0, 0x0)
>> 	/<<PKGBUILDDIR>>/obj-i686-linux-gnu/src/github.com/streadway/amqp/read.go:64 +0x2f0
>> github.com/streadway/amqp.TestGoFuzzCrashers(0x193c6280)
>> 	/<<PKGBUILDDIR>>/obj-i686-linux-gnu/src/github.com/streadway/amqp/read_test.go:17 +0x150
>> testing.tRunner(0x193c6280, 0x829a294)
>> 	/usr/lib/go-1.7/src/testing/testing.go:610 +0x8c
>> created by testing.(*T).Run
>> 	/usr/lib/go-1.7/src/testing/testing.go:646 +0x2a5
>> exit status 2
>> FAIL	github.com/streadway/amqp	2.576s
>> dh_auto_test: go test -v -p 1 github.com/streadway/amqp returned exit code 1

This seems to be related to this particular test case trying to create a
slice with a length exceeding a 32-bit signed integer, which is a limit
for slices in Go. Let's see what upstream says, there's a GitHub issue
in for that now.

Kind regards
Sascha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170424/f893ac15/attachment.sig>


More information about the Pkg-go-maintainers mailing list