Skip to content

Instantly share code, notes, and snippets.

@bjartek
Created June 7, 2022 13:14
Show Gist options
  • Save bjartek/0e855d238564a0013e239d55ce46c395 to your computer and use it in GitHub Desktop.
Save bjartek/0e855d238564a0013e239d55ce46c395 to your computer and use it in GitHub Desktop.
Type overflow
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0x14021c123e0 stack=[0x14021c12000, 0x14041c12000]
fatal error: stack overflow
runtime stack:
runtime.throw({0x10306d035?, 0x104379580?})
runtime/panic.go:992 +0x50
runtime.newstack()
runtime/stack.go:1101 +0x46c
runtime.morestack()
runtime/asm_arm64.s:314 +0x70
goroutine 505 [running]:
fmt.(*pp).fmtBytes(0x14000a40000, {0x14002b15940, 0x8, 0x8?}, 0x78, {0x1030630e8?, 0x6?})
fmt/print.go:458 +0x718 fp=0x14021c123e0 sp=0x14021c123e0 pc=0x1022e3778
fmt.(*pp).printArg(0x14000a40000, {0x1036571e0?, 0x14002b3cee8}, 0x78)
fmt/print.go:696 +0x2b0 fp=0x14021c12480 sp=0x14021c123e0 pc=0x1022e4b30
fmt.(*pp).doPrintf(0x14000a40000, {0x1030607d8, 0x2}, {0x14021c12618?, 0x1, 0x1})
fmt/print.go:1026 +0x220 fp=0x14021c12580 sp=0x14021c12480 pc=0x1022e76a0
fmt.Sprintf({0x1030607d8, 0x2}, {0x14021c12618, 0x1, 0x1})
fmt/print.go:219 +0x50 fp=0x14021c125e0 sp=0x14021c12580 pc=0x1022e1cd0
github.com/onflow/cadence/runtime/common.Address.Hex(...)
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/runtime/common/address.go:61
github.com/onflow/cadence/runtime/common.AddressLocation.TypeID({{0xf8, 0xd6, 0xe0, 0x58, 0x6b, 0xa, 0x20, 0xc7}, {0x1400005afc7, 0x19}}, ...)
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/runtime/common/addresslocation.go:84 +0x7c fp=0x14021c12660 sp=0x14021c125e0 pc=0x10253bcbc
github.com/onflow/cadence/runtime/common.(*AddressLocation).TypeID(0x0?, {0x0?, 0x0?}, {0x14000048640?, 0x0?})
<autogenerated>:1 +0x78 fp=0x14021c126c0 sp=0x14021c12660 pc=0x102544028
github.com/onflow/cadence/encoding/json.prepareType({0x1039345d8?, 0x140010c36d0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:783 +0x2c8 fp=0x14021c12ab0 sp=0x14021c126c0 pc=0x10278c3b8
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a100?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:811 +0x19cc fp=0x14021c12ea0 sp=0x14021c12ab0 pc=0x10278dabc
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x14001124a20?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c13290 sp=0x14021c12ea0 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088de50?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c13680 sp=0x14021c13290 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a8d10?, 0x14002b27f60?}, {0x103936ae0?, 0x1400088de50?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c136b0 sp=0x14021c13680 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x140000dce00, 0x7, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c13750 sp=0x14021c136b0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3270?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c13b40 sp=0x14021c13750 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bcfc0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c13f30 sp=0x14021c13b40 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a9d87?, 0x10443b5a8?}, {0x103936b80?, 0x140010bcfc0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c13f60 sp=0x14021c13f30 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001115140, 0x3, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c14000 sp=0x14021c13f60 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3400?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c143f0 sp=0x14021c14000 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a000?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c147e0 sp=0x14021c143f0 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x140011249f0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c14bd0 sp=0x14021c147e0 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088ddd0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c14fc0 sp=0x14021c14bd0 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004abfed?, 0x10443b5a8?}, {0x103936ae0?, 0x1400088ddd0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c14ff0 sp=0x14021c14fc0 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14000635000, 0x8, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c15090 sp=0x14021c14ff0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c33b0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c15480 sp=0x14021c15090 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bd0c0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c15870 sp=0x14021c15480 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004ac6c3?, 0x10443b5a8?}, {0x103936b80?, 0x140010bd0c0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c158a0 sp=0x14021c15870 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001137e80, 0x4, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c15940 sp=0x14021c158a0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3310?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c15d30 sp=0x14021c15940 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a100?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c16120 sp=0x14021c15d30 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x14001124a20?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c16510 sp=0x14021c16120 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088de50?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c16900 sp=0x14021c16510 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a8d10?, 0x14002b27e80?}, {0x103936ae0?, 0x1400088de50?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c16930 sp=0x14021c16900 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x140000dce00, 0x7, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c169d0 sp=0x14021c16930 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3270?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c16dc0 sp=0x14021c169d0 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bcfc0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c171b0 sp=0x14021c16dc0 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a9d87?, 0x10443b5a8?}, {0x103936b80?, 0x140010bcfc0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c171e0 sp=0x14021c171b0 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001115140, 0x3, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c17280 sp=0x14021c171e0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3400?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c17670 sp=0x14021c17280 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a000?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c17a60 sp=0x14021c17670 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x140011249f0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c17e50 sp=0x14021c17a60 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088ddd0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c18240 sp=0x14021c17e50 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004abfed?, 0x10443b5a8?}, {0x103936ae0?, 0x1400088ddd0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c18270 sp=0x14021c18240 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14000635000, 0x8, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c18310 sp=0x14021c18270 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c33b0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c18700 sp=0x14021c18310 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bd0c0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c18af0 sp=0x14021c18700 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004ac6c3?, 0x10443b5a8?}, {0x103936b80?, 0x140010bd0c0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c18b20 sp=0x14021c18af0 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001137e80, 0x4, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c18bc0 sp=0x14021c18b20 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3310?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c18fb0 sp=0x14021c18bc0 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a100?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c193a0 sp=0x14021c18fb0 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x14001124a20?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c19790 sp=0x14021c193a0 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088de50?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c19b80 sp=0x14021c19790 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a8d10?, 0x14002b27da0?}, {0x103936ae0?, 0x1400088de50?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c19bb0 sp=0x14021c19b80 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x140000dce00, 0x7, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c19c50 sp=0x14021c19bb0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3270?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1a040 sp=0x14021c19c50 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bcfc0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c1a430 sp=0x14021c1a040 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a9d87?, 0x10443b5a8?}, {0x103936b80?, 0x140010bcfc0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c1a460 sp=0x14021c1a430 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001115140, 0x3, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c1a500 sp=0x14021c1a460 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3400?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1a8f0 sp=0x14021c1a500 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a000?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c1ace0 sp=0x14021c1a8f0 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x140011249f0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c1b0d0 sp=0x14021c1ace0 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088ddd0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c1b4c0 sp=0x14021c1b0d0 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004abfed?, 0x10443b5a8?}, {0x103936ae0?, 0x1400088ddd0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c1b4f0 sp=0x14021c1b4c0 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14000635000, 0x8, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c1b590 sp=0x14021c1b4f0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c33b0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1b980 sp=0x14021c1b590 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bd0c0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c1bd70 sp=0x14021c1b980 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004ac6c3?, 0x10443b5a8?}, {0x103936b80?, 0x140010bd0c0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c1bda0 sp=0x14021c1bd70 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001137e80, 0x4, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c1be40 sp=0x14021c1bda0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3310?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1c230 sp=0x14021c1be40 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a100?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c1c620 sp=0x14021c1c230 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x14001124a20?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c1ca10 sp=0x14021c1c620 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088de50?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c1ce00 sp=0x14021c1ca10 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a8d10?, 0x14002b27cc0?}, {0x103936ae0?, 0x1400088de50?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c1ce30 sp=0x14021c1ce00 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x140000dce00, 0x7, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c1ced0 sp=0x14021c1ce30 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3270?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1d2c0 sp=0x14021c1ced0 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bcfc0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c1d6b0 sp=0x14021c1d2c0 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a9d87?, 0x10443b5a8?}, {0x103936b80?, 0x140010bcfc0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c1d6e0 sp=0x14021c1d6b0 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001115140, 0x3, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c1d780 sp=0x14021c1d6e0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3400?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1db70 sp=0x14021c1d780 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a000?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c1df60 sp=0x14021c1db70 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x140011249f0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c1e350 sp=0x14021c1df60 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088ddd0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c1e740 sp=0x14021c1e350 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004abfed?, 0x10443b5a8?}, {0x103936ae0?, 0x1400088ddd0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c1e770 sp=0x14021c1e740 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14000635000, 0x8, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c1e810 sp=0x14021c1e770 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c33b0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1ec00 sp=0x14021c1e810 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bd0c0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c1eff0 sp=0x14021c1ec00 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004ac6c3?, 0x10443b5a8?}, {0x103936b80?, 0x140010bd0c0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c1f020 sp=0x14021c1eff0 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001137e80, 0x4, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c1f0c0 sp=0x14021c1f020 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3310?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c1f4b0 sp=0x14021c1f0c0 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a100?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c1f8a0 sp=0x14021c1f4b0 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x14001124a20?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c1fc90 sp=0x14021c1f8a0 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088de50?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c20080 sp=0x14021c1fc90 pc=0x10278c584
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a8d10?, 0x14002b27be0?}, {0x103936ae0?, 0x1400088de50?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c200b0 sp=0x14021c20080 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x140000dce00, 0x7, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c20150 sp=0x14021c200b0 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3270?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c20540 sp=0x14021c20150 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936b80?, 0x140010bcfc0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:737 +0x954 fp=0x14021c20930 sp=0x14021c20540 pc=0x10278ca44
github.com/onflow/cadence/encoding/json.prepareFieldType({{0x140004a9d87?, 0x10443b5a8?}, {0x103936b80?, 0x140010bcfc0?}})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:634 +0x3c fp=0x14021c20960 sp=0x14021c20930 pc=0x10278bb4c
github.com/onflow/cadence/encoding/json.prepareFields({0x14001115140, 0x3, 0x0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:641 +0xc0 fp=0x14021c20a00 sp=0x14021c20960 pc=0x10278bc60
github.com/onflow/cadence/encoding/json.prepareType({0x103934600?, 0x140010c3400?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:752 +0x15b0 fp=0x14021c20df0 sp=0x14021c20a00 pc=0x10278d6a0
github.com/onflow/cadence/encoding/json.prepareType({0x103936f18?, 0x1400114a000?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:816 +0x18f4 fp=0x14021c211e0 sp=0x14021c20df0 pc=0x10278d9e4
github.com/onflow/cadence/encoding/json.prepareType({0x103936ef0?, 0x140011249f0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:806 +0x1240 fp=0x14021c215d0 sp=0x14021c211e0 pc=0x10278d330
github.com/onflow/cadence/encoding/json.prepareType({0x103936ae0?, 0x1400088ddd0?})
github.com/onflow/cadence@v0.21.3-0.20220601002855-8b113c539a2c/encoding/json/encode.go:822 +0x494 fp=0x14021c219c0 sp=0x14021c215d0 pc=0x10278c584
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.45.0/server.go:919 +0x298
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x140000021a0?)
runtime/sema.go:56 +0x2c
sync.(*WaitGroup).Wait(0x140010cc480)
sync/waitgroup.go:136 +0x88
github.com/psiemens/graceland.(*Group).Start(0x14001078880)
github.com/psiemens/graceland@v1.0.0/graceland.go:97 +0x164
github.com/onflow/flow-emulator/server.(*EmulatorServer).Start(0x14000d86180)
github.com/onflow/flow-emulator@v0.32.0/server/server.go:218 +0x2f0
github.com/onflow/flow-emulator/cmd/emulator/start.Cmd.func1(0x140003dcf00?, {0x1030616b9?, 0x1?, 0x1?})
github.com/onflow/flow-emulator@v0.32.0/cmd/emulator/start/start.go:179 +0xa4c
github.com/spf13/cobra.(*Command).execute(0x140003dcf00, {0x140001941a0, 0x1, 0x1})
github.com/spf13/cobra@v1.4.0/command.go:860 +0x4ac
github.com/spf13/cobra.(*Command).ExecuteC(0x140003dd900)
github.com/spf13/cobra@v1.4.0/command.go:974 +0x354
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.4.0/command.go:902
main.main()
github.com/onflow/flow-cli/cmd/flow/main.go:82 +0x460
goroutine 7 [select]:
go.opencensus.io/stats/view.(*worker).start(0x14000589e00)
go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0x88
created by go.opencensus.io/stats/view.init.0
go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0xa8
goroutine 38 [select]:
github.com/desertbit/timer.timerRoutine()
github.com/desertbit/timer@v0.0.0-20180107155436-c41aec40b27f/timers.go:119 +0xac
created by github.com/desertbit/timer.init.0
github.com/desertbit/timer@v0.0.0-20180107155436-c41aec40b27f/timers.go:15 +0x28
goroutine 220 [syscall]:
os/signal.signal_recv()
runtime/sigqueue.go:148 +0x30
os/signal.loop()
os/signal/signal_unix.go:23 +0x20
created by os/signal.Notify.func1.1
os/signal/signal.go:151 +0x30
goroutine 215 [IO wait]:
internal/poll.runtime_pollWait(0x12988ff20, 0x72)
runtime/netpoll.go:302 +0xa4
internal/poll.(*pollDesc).wait(0x14000d86100?, 0x1303806f60?, 0x0)
internal/poll/fd_poll_runtime.go:83 +0x2c
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Accept(0x14000d86100)
internal/poll/fd_unix.go:614 +0x1d0
net.(*netFD).accept(0x14000d86100)
net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000c766d8)
net/tcpsock_posix.go:139 +0x2c
net.(*TCPListener).Accept(0x14000c766d8)
net/tcpsock.go:288 +0x30
net/http.(*Server).Serve(0x140000dc8c0, {0x10393b530, 0x14000c766d8})
net/http/server.go:3039 +0x318
github.com/onflow/flow-emulator/server.(*RestServer).Start(0x660?)
github.com/onflow/flow-emulator@v0.32.0/server/rest.go:39 +0x30
github.com/psiemens/graceland.(*Group).Start.func1(0x2d?, {0x103934e70?, 0x14000c766f0?})
github.com/psiemens/graceland@v1.0.0/graceland.go:71 +0x44
created by github.com/psiemens/graceland.(*Group).Start
github.com/psiemens/graceland@v1.0.0/graceland.go:70 +0x288
goroutine 218 [chan receive]:
github.com/psiemens/graceland.(*Group).Start.func2()
github.com/psiemens/graceland@v1.0.0/graceland.go:93 +0x98
created by github.com/psiemens/graceland.(*Group).Start
github.com/psiemens/graceland@v1.0.0/graceland.go:90 +0x15c
goroutine 216 [IO wait]:
internal/poll.runtime_pollWait(0x12988fd40, 0x72)
runtime/netpoll.go:302 +0xa4
internal/poll.(*pollDesc).wait(0x14000e34000?, 0x1303806f60?, 0x0)
internal/poll/fd_poll_runtime.go:83 +0x2c
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Accept(0x14000e34000)
internal/poll/fd_unix.go:614 +0x1d0
net.(*netFD).accept(0x14000e34000)
net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x14000d5c000)
net/tcpsock_posix.go:139 +0x2c
net.(*TCPListener).Accept(0x14000d5c000)
net/tcpsock.go:288 +0x30
net/http.(*Server).Serve(0x140000dc9a0, {0x10393b530, 0x14000d5c000})
net/http/server.go:3039 +0x318
net/http.(*Server).ListenAndServe(0x140000dc9a0)
net/http/server.go:2968 +0x88
github.com/onflow/flow-emulator/server.(*HTTPServer).Start(0x0?)
github.com/onflow/flow-emulator@v0.32.0/server/http.go:87 +0x24
github.com/psiemens/graceland.(*Group).Start.func1(0x0?, {0x103934e20?, 0x140001aae40?})
github.com/psiemens/graceland@v1.0.0/graceland.go:71 +0x44
created by github.com/psiemens/graceland.(*Group).Start
github.com/psiemens/graceland@v1.0.0/graceland.go:70 +0x288
goroutine 214 [IO wait]:
internal/poll.runtime_pollWait(0x12988fe30, 0x72)
runtime/netpoll.go:302 +0xa4
internal/poll.(*pollDesc).wait(0x14000de8800?, 0x4?, 0x0)
internal/poll/fd_poll_runtime.go:83 +0x2c
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Accept(0x14000de8800)
internal/poll/fd_unix.go:614 +0x1d0
net.(*netFD).accept(0x14000de8800)
net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x140009d9e00)
net/tcpsock_posix.go:139 +0x2c
net.(*TCPListener).Accept(0x140009d9e00)
net/tcpsock.go:288 +0x30
google.golang.org/grpc.(*Server).Serve(0x14000b60000, {0x10393b530, 0x140009d9e00})
google.golang.org/grpc@v1.45.0/server.go:779 +0x3d8
github.com/onflow/flow-emulator/server.(*GRPCServer).Start(0x14000c763a8)
github.com/onflow/flow-emulator@v0.32.0/server/grpc.go:79 +0xa4
github.com/psiemens/graceland.(*Group).Start.func1(0x5e2?, {0x103934df8?, 0x14000c763a8?})
github.com/psiemens/graceland@v1.0.0/graceland.go:71 +0x44
created by github.com/psiemens/graceland.(*Group).Start
github.com/psiemens/graceland@v1.0.0/graceland.go:70 +0x288
goroutine 521 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0x140004baea0)
google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:1125 +0x18c
created by google.golang.org/grpc/internal/transport.NewServerTransport
google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:335 +0x13bc
goroutine 213 [select]:
github.com/onflow/flow-emulator/server.(*LivenessTicker).Start(0x14000142300)
github.com/onflow/flow-emulator@v0.32.0/server/liveness.go:46 +0x84
github.com/psiemens/graceland.(*Group).Start.func1(0x1400106d680?, {0x103934e48?, 0x14000142300?})
github.com/psiemens/graceland@v1.0.0/graceland.go:71 +0x44
created by github.com/psiemens/graceland.(*Group).Start
github.com/psiemens/graceland@v1.0.0/graceland.go:70 +0x288
goroutine 520 [select]:
google.golang.org/grpc/internal/transport.(*controlBuffer).get(0x140015cf950, 0x1)
google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:407 +0x15c
google.golang.org/grpc/internal/transport.(*loopyWriter).run(0x140015cc6c0)
google.golang.org/grpc@v1.45.0/internal/transport/controlbuf.go:534 +0x78
google.golang.org/grpc/internal/transport.NewServerTransport.func2()
google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:326 +0xd4
created by google.golang.org/grpc/internal/transport.NewServerTransport
google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:323 +0x1378
goroutine 522 [IO wait]:
internal/poll.runtime_pollWait(0x12988fc50, 0x72)
runtime/netpoll.go:302 +0xa4
internal/poll.(*pollDesc).wait(0x14000c5cb00?, 0x140009a4000?, 0x0)
internal/poll/fd_poll_runtime.go:83 +0x2c
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0x14000c5cb00, {0x140009a4000, 0x8000, 0x8000})
internal/poll/fd_unix.go:167 +0x1e4
net.(*netFD).Read(0x14000c5cb00, {0x140009a4000?, 0x14001107c98?, 0x1022c20cc?})
net/fd_posix.go:55 +0x2c
net.(*conn).Read(0x1400070da28, {0x140009a4000?, 0x14001107cf8?, 0x1029e09dc?})
net/net.go:183 +0x38
bufio.(*Reader).Read(0x14000acd920, {0x140000dd2a0, 0x9, 0xc09ff18fd5c453a0?})
bufio/bufio.go:236 +0x1e4
io.ReadAtLeast({0x10392b118, 0x14000acd920}, {0x140000dd2a0, 0x9, 0x9}, 0x9)
io/io.go:331 +0xa4
io.ReadFull(...)
io/io.go:350
golang.org/x/net/http2.readFrameHeader({0x140000dd2a0?, 0x9?, 0x102268390?}, {0x10392b118?, 0x14000acd920?})
golang.org/x/net@v0.0.0-20220418201149-a630d4f3e7a2/http2/frame.go:237 +0x5c
golang.org/x/net/http2.(*Framer).ReadFrame(0x140000dd260)
golang.org/x/net@v0.0.0-20220418201149-a630d4f3e7a2/http2/frame.go:498 +0x84
google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0x140004baea0, 0x500000000000000?, 0x0?)
google.golang.org/grpc@v1.45.0/internal/transport/http2_server.go:605 +0x74
google.golang.org/grpc.(*Server).serveStreams(0x14000b60000, {0x103945948?, 0x140004baea0})
google.golang.org/grpc@v1.45.0/server.go:905 +0x138
google.golang.org/grpc.(*Server).handleRawConn.func1()
google.golang.org/grpc@v1.45.0/server.go:847 +0x48
created by google.golang.org/grpc.(*Server).handleRawConn
google.golang.org/grpc@v1.45.0/server.go:846 +0x178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment