Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after update to v0.22.0 #5252

Open
zekker6 opened this issue Oct 30, 2024 · 0 comments
Open

Crash after update to v0.22.0 #5252

zekker6 opened this issue Oct 30, 2024 · 0 comments

Comments

@zekker6
Copy link

zekker6 commented Oct 30, 2024

Parca started crashing when accessing web UI after upgrading from v0.21.0 to v0.22.0.

Full log:

level=info name=parca ts=2024-10-30T12:44:03.425784228Z caller=factory.go:53 msg="loading bucket configuration"
level=info name=parca ts=2024-10-30T12:44:03.472173712Z caller=badgerlogger.go:36 msg="All 125 tables opened in 29ms\n"
level=info name=parca ts=2024-10-30T12:44:03.477937618Z caller=badgerlogger.go:36 msg="Discard stats nextEmptySlot: 0\n"
level=info name=parca ts=2024-10-30T12:44:03.478070624Z caller=badgerlogger.go:36 msg="Set nextTxnTs to 134191"
level=info name=parca ts=2024-10-30T12:44:03.478258599Z caller=badgerlogger.go:36 msg="Deleting empty file: data/metastore/000018.vlog"
level=info name=parca ts=2024-10-30T12:44:03.480508321Z caller=server.go:90 msg="starting server" addr=:7070
level=error db=parca name=parca ts=2024-10-30T12:44:12.100235429Z caller=recovery.go:24 msg="recovered from panic" err="interface conversion: builder.ColumnBuilder is *builder.OptBinaryBuilder, not *builder.ListBuilder" stacktrace="goroutine 412 [running]:\nruntime/debug.Stack()\n\t/usr/lib/go/src/runtime/debug/stack.go:26 +0x6b\ngithub.com/polarsignals/frostdb/recovery.Do.func1.1()\n\t$HOME/go/pkg/mod/github.com/polarsignals/[email protected]/recovery/recovery.go:24 +0x2aa\npanic({0x6571f80?, 0xc023694990?})\n\t/usr/lib/go/src/runtime/panic.go:785 +0x136\ngithub.com/polarsignals/frostdb/pqarrow/writer.NewListValueWriter.func1({0x7d37f58, 0xc0257e05b0}, 0x0)\n\t$HOME/go/pkg/mod/github.com/polarsignals/[email protected]/pqarrow/writer/writer.go:123 +0x134\ngithub.com/polarsignals/frostdb/pqarrow.(*ParquetConverter).schemaChanged(0xc00c8880e0, {0xc04e4372c0, 0xc, 0xc})\n\t$HOME/go/pkg/mod/github.com/polarsignals/[email protected]/pqarrow/arrow.go:443 +0x3f7\ngithub.com/polarsignals/frostdb/pqarrow.(*ParquetConverter).Convert(0xc00c8880e0, {0x7d29298, 0xc001668000}, {0x701956bc40c0, 0xc022160d20}, 0xc001166510)\n\t$HOME/go/pkg/mod/github.com/polarsignals/[email protected]/pqarrow/arrow.go:308 +0x6a5\ngithub.com/polarsignals/frostdb.(*Table).Iterator.func2()\n\t$HOME/go/pkg/mod/github.com/polarsignals/[email protected]/table.go:844 +0x9a5\ngithub.com/polarsignals/frostdb/recovery.Do.func1()\n\t$HOME/go/pkg/mod/github.com/polarsignals/[email protected]/recovery/recovery.go:28 +0x105\ngolang.org/x/sync/errgroup.(*Group).Go.func1()\n\t$HOME/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0xa9\ncreated by golang.org/x/sync/errgroup.(*Group).Go in goroutine 409\n\t$HOME/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0xe8\n"
level=error name=parca ts=2024-10-30T12:44:12.268855211Z caller=server.go:312 msg="finished call" protocol=grpc grpc.component=server grpc.service=parca.query.v1alpha1.QueryService grpc.method=ProfileTypes grpc.method_type=unary peer.address=127.0.0.1:56754 grpc.start_time=2024-10-30T09:44:05-03:00 grpc.code=Unknown grpc.error="interface conversion: builder.ColumnBuilder is *builder.OptBinaryBuilder, not *builder.ListBuilder" grpc.time_ms=6523.419

This is reproducible with a build from the latest main branch, tried with build from this commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant