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

colexec: v20.2.3: issue with error propagation #58644

Closed
cockroach-teamcity opened this issue Jan 8, 2021 · 0 comments · Fixed by #59866
Closed

colexec: v20.2.3: issue with error propagation #58644

cockroach-teamcity opened this issue Jan 8, 2021 · 0 comments · Fixed by #59866
Assignees
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report.

Comments

@cockroach-teamcity
Copy link
Member

This issue was autofiled by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.

Sentry link: https://sentry.io/organizations/cockroach-labs/issues/2139702787/?referrer=webhooks_plugin

Panic message:

error.go:90: unexpected error from the vectorized engine: ×
--
*barriers.barrierError
*errutil.withPrefix: unexpected error from the vectorized engine (1)
error.go:90: *withstack.withStack (top exception)
*assert.withAssertionFailure
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
*contexttags.withContext: n2 (2)
*contexttags.withContext: n1 (3)
*colexecerror.notInternalError
inbox.go:248: *withstack.withStack (4)
*colexecerror.notInternalError
*colexecerror.notInternalError
*contexttags.withContext: n1 (5)
*contexttags.withContext: n3 (6)
*colexecerror.notInternalError
inbox.go:248: *withstack.withStack (7)
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
*colexecerror.notInternalError
(check the extra data payloads)

Stacktrace (expand for inline code snippets):

i.close()
colexecerror.InternalError(log.PanicAsError(0, err))
}
in pkg/sql/colflow/colrpc.(*Inbox).Next.func1
/usr/local/go/src/runtime/panic.go#L678-L680 in runtime.gopanic
func ExpectedError(err error) {
panic(newNotInternalError(err))
}
in pkg/sql/colexecbase/colexecerror.ExpectedError
// DrainMeta.
colexecerror.ExpectedError(meta.Err)
}
in pkg/sql/colflow/colrpc.(*Inbox).Next
return func() {
s.batches[inputIdx] = input.Op.Next(ctx)
}
in pkg/sql/colexec.(*ParallelUnorderedSynchronizer).init.func1.1
}()
operation()
return retErr
in pkg/sql/colexecbase/colexecerror.CatchVectorizedRuntimeError
case parallelUnorderedSynchronizerStateRunning:
if err := colexecerror.CatchVectorizedRuntimeError(s.nextBatch[inputIdx]); err != nil {
sendErr(err)
in pkg/sql/colexec.(*ParallelUnorderedSynchronizer).init.func2
/usr/local/go/src/runtime/asm_amd64.s#L1356-L1358 in runtime.goexit

pkg/sql/colflow/colrpc/inbox.go in pkg/sql/colflow/colrpc.(*Inbox).Next.func1 at line 248
/usr/local/go/src/runtime/panic.go in runtime.gopanic at line 679
pkg/sql/colexecbase/colexecerror/error.go in pkg/sql/colexecbase/colexecerror.ExpectedError at line 186
pkg/sql/colflow/colrpc/inbox.go in pkg/sql/colflow/colrpc.(*Inbox).Next at line 289
pkg/sql/colexec/parallel_unordered_synchronizer.go in pkg/sql/colexec.(*ParallelUnorderedSynchronizer).init.func1.1 at line 195
pkg/sql/colexecbase/colexecerror/error.go in pkg/sql/colexecbase/colexecerror.CatchVectorizedRuntimeError at line 93
pkg/sql/colexec/parallel_unordered_synchronizer.go in pkg/sql/colexec.(*ParallelUnorderedSynchronizer).init.func2 at line 229
/usr/local/go/src/runtime/asm_amd64.s in runtime.goexit at line 1357
Tag Value
Cockroach Release v20.2.3
Cockroach SHA: 89dd2d1
Platform linux amd64
Distribution CCL
Environment v20.2.3
Command server
Go Version ``
# of CPUs
# of Goroutines
@cockroach-teamcity cockroach-teamcity added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report. labels Jan 8, 2021
This was referenced Jan 12, 2021
@yuzefovich yuzefovich changed the title sentry: error.go:90: unexpected error from the vectorized engine: × -- *barriers.barrierError *errutil.withPrefix: unexpected error from the vectorized engine (1) error.go:90: *withstack.withStack (top exception) *assert.withAssertionFailure *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError *contexttags.withContext: n2 (2) *contexttags.withContext: n1 (3) *colexecerror.notInternalError inbox.go:248: *withstack.withStack (4) *colexecerror.notInternalError *colexecerror.notInternalError *contexttags.withContext: n1 (5) *contexttags.withContext: n3 (6) *colexecerror.notInternalError inbox.go:248: *withstack.withStack (7) *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError *colexecerror.notInternalError (check the extra data payloads) colexec: v20.2.3: issue with error propagation Jan 12, 2021
@craig craig bot closed this as completed in ba1a144 Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants