-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
migration/migrations: TestPublicSchemaMigration500Tables failed #74994
Labels
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-robot
Originated from a bot.
Comments
cockroach-teamcity
added
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-robot
Originated from a bot.
labels
Jan 18, 2022
andreimatei
added a commit
to andreimatei/cockroach
that referenced
this issue
Jan 18, 2022
This patch fixes a bug leading to corruption of one of the Span's recording buffers. We had broken code like the following: ``` for _, e := range c.StructuredRecords { s.recordInternalLocked(&e, &s.mu.recording.structured) } ``` `recordInternalLocked(ptr)` takes ownership of ptr, so the `&e` is broken because `e` keep being reassigned. The bug was causing buffer elements to essentially be overwritten. In turn, this was leading to inconsistencies in the accounting of the size of the buffer's elements - we were maintaining a size sum that was diverging from the overwritten reality. Fixes cockroachdb#74994 Fixes cockroachdb#75045 Release note: None
migration/migrations.TestPublicSchemaMigration500Tables failed with artifacts on master @ 912964e02ddd951c77d4f71981ae18b3894e9084: Fatal error:
Stack:
Log preceding fatal error
|
craig bot
pushed a commit
that referenced
this issue
Jan 20, 2022
75099: tracing: fix corruption of structured recording buffer r=andreimatei a=andreimatei This patch fixes a bug leading to corruption of one of the Span's recording buffers. We had broken code like the following: ``` for _, e := range c.StructuredRecords { s.recordInternalLocked(&e, &s.mu.recording.structured) } ``` `recordInternalLocked(ptr)` takes ownership of ptr, so the `&e` is broken because `e` keep being reassigned. The bug was causing buffer elements to essentially be overwritten. In turn, this was leading to inconsistencies in the accounting of the size of the buffer's elements - we were maintaining a size sum that was diverging from the overwritten reality. Fixes #74994 Fixes #75045 Release note: None Co-authored-by: Andrei Matei <[email protected]>
gtr
pushed a commit
to gtr/cockroach
that referenced
this issue
Jan 24, 2022
This patch fixes a bug leading to corruption of one of the Span's recording buffers. We had broken code like the following: ``` for _, e := range c.StructuredRecords { s.recordInternalLocked(&e, &s.mu.recording.structured) } ``` `recordInternalLocked(ptr)` takes ownership of ptr, so the `&e` is broken because `e` keep being reassigned. The bug was causing buffer elements to essentially be overwritten. In turn, this was leading to inconsistencies in the accounting of the size of the buffer's elements - we were maintaining a size sum that was diverging from the overwritten reality. Fixes cockroachdb#74994 Fixes cockroachdb#75045 Release note: None
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-robot
Originated from a bot.
migration/migrations.TestPublicSchemaMigration500Tables failed with artifacts on master @ 365b4da8bd02c06ee59d2130a56dec74ffc9ce21:
Fatal error:
Stack:
Log preceding fatal error
The text was updated successfully, but these errors were encountered: