-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
receive/ruler: Segfault due to chunk bytes reuse. #3013
Comments
Fix on upstream: prometheus/prometheus#7776 (comment) |
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also fix other quite big issue with reusing chunk slice. Before upgrading go.mod with latest TSDB: TestTSDBStore_SeriesChunkBytesCopied/flush_WAL_and_access_results: tsdb_test.go:487: tsdb_test.go:487: unexpected error: invoked function panicked or caused segmentation fault: runtime error: invalid memory address or nil pointer dereference After all ok. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also fix other quite big issue with reusing chunk slice. Before upgrading go.mod with latest TSDB: TestTSDBStore_SeriesChunkBytesCopied/flush_WAL_and_access_results: tsdb_test.go:487: tsdb_test.go:487: unexpected error: invoked function panicked or caused segmentation fault: runtime error: invalid memory address or nil pointer dereference After all ok. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also fix other quite big issue with reusing chunk slice. Before upgrading go.mod with latest TSDB: TestTSDBStore_SeriesChunkBytesCopied/flush_WAL_and_access_results: tsdb_test.go:487: tsdb_test.go:487: unexpected error: invoked function panicked or caused segmentation fault: runtime error: invalid memory address or nil pointer dereference After all ok. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also fix other quite big issue with reusing chunk slice. Before upgrading go.mod with latest TSDB: TestTSDBStore_SeriesChunkBytesCopied/flush_WAL_and_access_results: tsdb_test.go:487: tsdb_test.go:487: unexpected error: invoked function panicked or caused segmentation fault: runtime error: invalid memory address or nil pointer dereference After all ok. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Before upgrading go.mod with latest TSDB: TestTSDBStore_SeriesChunkBytesCopied/flush_WAL_and_access_results: tsdb_test.go:487: tsdb_test.go:487: unexpected error: invoked function panicked or caused segmentation fault: runtime error: invalid memory address or nil pointer dereference After all ok. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Before upgrading go.mod with latest TSDB: TestTSDBStore_SeriesChunkBytesCopied/flush_WAL_and_access_results: tsdb_test.go:487: tsdb_test.go:487: unexpected error: invoked function panicked or caused segmentation fault: runtime error: invalid memory address or nil pointer dereference After all ok. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 18, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Before upgrading go.mod with latest TSDB: TestTSDBStore_SeriesChunkBytesCopied/flush_WAL_and_access_results: tsdb_test.go:487: tsdb_test.go:487: unexpected error: invoked function panicked or caused segmentation fault: runtime error: invalid memory address or nil pointer dereference After all ok. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
bwplotka
added a commit
that referenced
this issue
Aug 21, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 21, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 24, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 24, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 25, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 25, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 25, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 25, 2020
…Store, fixed multitsdb benchmarks. Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> # Conflicts: # pkg/store/tsdb_test.go # pkg/testutil/testutil.go
bwplotka
added a commit
that referenced
this issue
Aug 25, 2020
…Store, fixed multitsdb benchmarks. (#3046) Fixed #3013 Also: * Fixed other quite big issue with reusing chunk slice. * Fixed framing - previously it was wrongly sending single-chunk frames, taking huge amount of time. Fix: We deletage closer now to ensure multitsdb operate on valid data. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Triggered by
Root Cause: ChunkIterator gives chunk bytes which are... deallocated in the moment o marshalling. This happens especially when block was just created and head was compacted, thus deallocating byte range.
This might be best fixed on ChunkIter itself
The text was updated successfully, but these errors were encountered: