Closed pavolloffay closed 1 year ago
Hi, we are seeing the following error on IBM Z 64bit with Grafana Tempo and Parquet format. The exact same setup works well on other architectures.
Any ideas about what might be wrong?
panic: runtime error: index out of range [7] with length 7 goroutine 1221 [running]: github.com/segmentio/parquet-go.(*byteArrayPage).index(...) /remote-source/tempo/app/vendor/github.com/segmentio/parquet-go/page.go:982 github.com/segmentio/parquet-go.(*byteArrayDictionary).lookupString(0xc0002201c0, {0xc001108000, 0x1b, 0x400}, {{0xc001068000, 0x1b, 0x18}}) /remote-source/tempo/app/vendor/github.com/segmentio/parquet-go/dictionary_purego.go:42 +0x162 github.com/segmentio/parquet-go.(*byteArrayDictionary).Lookup(0xc0002201c0, {0xc001108000, 0x1b, 0x400}, {0xc001068000, 0x1b, 0x3e8}) /remote-source/tempo/app/vendor/github.com/segmentio/parquet-go/dictionary.go:748 +0x142 github.com/segmentio/parquet-go.(*indexedPageValues).ReadValues(0xc000fe5490, {0xc001068000, 0x1b, 0x3e8}) /remote-source/tempo/app/vendor/github.com/segmentio/parquet-go/dictionary.go:1332 +0xd6 github.com/segmentio/parquet-go.(*repeatedPageValues).ReadValues(0xc000aa3e40, {0xc001068000, 0x3e8, 0x3e8}) /remote-source/tempo/app/vendor/github.com/segmentio/parquet-go/page_values.go:98 +0x192 github.com/grafana/tempo/pkg/parquetquery.(*ColumnIterator).iterate.func3.2(0xc00115ff48, 0xc00115fec8, 0xc00018f740, {0xc001068000, 0x3e8, 0x3e8}, 0x3e8, {0x2815978, 0xc000ef6fc0}, {0x2829640, ...}) /remote-source/tempo/app/pkg/parquetquery/iters.go:406 +0x26c github.com/grafana/tempo/pkg/parquetquery.(*ColumnIterator).iterate.func3(0xc00018f740, 0xc00115ff48, 0xc00115fec8, {0xc001068000, 0x3e8, 0x3e8}, 0x3e8, {0x2815978, 0xc000ef6fc0}, {0x2821868, ...}) /remote-source/tempo/app/pkg/parquetquery/iters.go:459 +0x1e4 github.com/grafana/tempo/pkg/parquetquery.(*ColumnIterator).iterate(0xc00018f740, {0x2815978, 0xc000ef6fc0}, 0x3e8) /remote-source/tempo/app/pkg/parquetquery/iters.go:464 +0x676 github.com/grafana/tempo/pkg/parquetquery.NewColumnIterator.func1() /remote-source/tempo/app/pkg/parquetquery/iters.go:299 +0x42 created by github.com/grafana/tempo/pkg/parquetquery.(*ColumnIterator).next /remote-source/tempo/app/pkg/parquetquery/iters.go:485 +0x60
Moving to https://github.com/parquet-go/parquet-go/issues/56
Hi, we are seeing the following error on IBM Z 64bit with Grafana Tempo and Parquet format. The exact same setup works well on other architectures.
Any ideas about what might be wrong?