Closed
Description
What steps will reproduce the problem? 1. run go test -v std 2. 3. What is the expected output? What do you see instead? all tests pass Please use labels and text to provide additional information. --- PASS: TestDebugStruct (0.00 seconds) === RUN TestFuzz runtime: out of memory: cannot allocate 268500992-byte block (269549568 in use) throw: out of memory goroutine 23 [running]: encoding/gob.(*Decoder).readMessage(0x98298140, 0x10000766, 0x98262200) /home/mikioh/go/src/pkg/encoding/gob/decoder.go:92 +0x5a encoding/gob.(*Decoder).recvMessage(0x98298140, 0x0, 0x1) /home/mikioh/go/src/pkg/encoding/gob/decoder.go:84 +0xaa encoding/gob.(*Decoder).decodeTypeSequence(0x98298140, 0x98267d00, 0x160, 0x0) /home/mikioh/go/src/pkg/encoding/gob/decoder.go:142 +0x57 encoding/gob.(*Decoder).DecodeValue(0x98298140, 0x80f98f0, 0x98267dc0, 0x160, 0x0, ...) /home/mikioh/go/src/pkg/encoding/gob/decoder.go:206 +0xe4 encoding/gob.(*Decoder).Decode(0x98298140, 0x80f98e8, 0x98267dc0, 0x98267dc0, 0x98296de0, ...) /home/mikioh/go/src/pkg/encoding/gob/decoder.go:185 +0x168 encoding/gob.encFuzzDec(0x98261cc8, 0x80f9640, 0x98278bf8, 0x982373e0, 0x982021a0, ...) /home/mikioh/go/src/pkg/encoding/gob/codec_test.go:1429 +0x287 encoding/gob.testFuzz(0x98263440, 0x383acc68, 0x1278f820, 0x64, 0xb8244f68, ...) /home/mikioh/go/src/pkg/encoding/gob/codec_test.go:1468 +0x1a4 encoding/gob.TestFuzz(0x98263440, 0xe) /home/mikioh/go/src/pkg/encoding/gob/codec_test.go:1452 +0x2fa testing.tRunner(0x98263440, 0x82113d0, 0x0) /tmp/bindist445861990/go/src/pkg/testing/testing.go:271 +0x6e created by testing.RunTests /tmp/bindist445861990/go/src/pkg/testing/testing.go:346 +0x687 goroutine 1 [chan receive]: testing.RunTests(0x8048c00, 0x82112e0, 0x49, 0x49, 0x8202101, ...) /tmp/bindist445861990/go/src/pkg/testing/testing.go:347 +0x6a7 testing.Main(0x8048c00, 0x82112e0, 0x49, 0x49, 0x820dd58, ...) /tmp/bindist445861990/go/src/pkg/testing/testing.go:282 +0x46 main.main() /tmp/go-build055329031/encoding/gob/_test/_testmain.go:191 +0x4e goroutine 2 [syscall]: created by runtime.main /tmp/bindist445861990/go/src/pkg/runtime/proc.c:219 FAIL encoding/gob 0.012s