-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 *contexttags.withContext: n1 (2) *contexttags.withContext: n3 (3) *colexecerror.notInternalError inbox.go:248: *withstack.withStack (4) (check the extra data payloads) #61023
Description
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/2233770980/?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
*contexttags.withContext: n1 (2)
*contexttags.withContext: n3 (3)
*colexecerror.notInternalError
inbox.go:248: *withstack.withStack (4)
(check the extra data payloads)
Stacktrace (expand for inline code snippets):
cockroach/pkg/sql/colflow/colrpc/inbox.go
Lines 247 to 249 in eda2309
| i.close() | |
| colexecerror.InternalError(log.PanicAsError(0, err)) | |
| } |
/usr/local/go/src/runtime/panic.go#L678-L680 in runtime.gopanic
cockroach/pkg/sql/colexecbase/colexecerror/error.go
Lines 185 to 187 in eda2309
| func ExpectedError(err error) { | |
| panic(newNotInternalError(err)) | |
| } |
cockroach/pkg/sql/colflow/colrpc/inbox.go
Lines 288 to 290 in eda2309
| // DrainMeta. | |
| colexecerror.ExpectedError(meta.Err) | |
| } |
cockroach/pkg/sql/colexec/operator.go
Lines 237 to 239 in eda2309
| func (n *noopOperator) Next(ctx context.Context) coldata.Batch { | |
| return n.input.Next(ctx) | |
| } |
cockroach/pkg/sql/colexec/materializer.go
Lines 221 to 223 in eda2309
| // Get a fresh batch. | |
| m.batch = m.input.Next(m.Ctx) | |
| if m.batch.Length() == 0 { |
cockroach/pkg/sql/colexec/materializer.go
Lines 246 to 248 in eda2309
| func (m *Materializer) nextAdapter() { | |
| m.outputRow = m.next() | |
| } |
cockroach/pkg/sql/colexecbase/colexecerror/error.go
Lines 92 to 94 in eda2309
| }() | |
| operation() | |
| return retErr |
cockroach/pkg/sql/colexec/materializer.go
Lines 252 to 254 in eda2309
| for m.State == execinfra.StateRunning { | |
| if err := colexecerror.CatchVectorizedRuntimeError(m.nextAdapter); err != nil { | |
| m.MoveToDraining(err) |
cockroach/pkg/sql/execinfra/base.go
Lines 169 to 171 in eda2309
| for { | |
| row, meta := src.Next() | |
| // Emit the row; stop if no more rows are needed. |
cockroach/pkg/sql/execinfra/processorsbase.go
Lines 774 to 776 in eda2309
| ctx = pb.self.Start(ctx) | |
| Run(ctx, pb.self, pb.Out.output) | |
| } |
cockroach/pkg/sql/flowinfra/flow.go
Lines 391 to 393 in eda2309
| } | |
| headProc.Run(ctx) | |
| return nil |
cockroach/pkg/sql/distsql_running.go
Lines 421 to 423 in eda2309
| // TODO(radu): this should go through the flow scheduler. | |
| if err := flow.Run(ctx, func() {}); err != nil { | |
| log.Fatalf(ctx, "unexpected error from syncFlow.Start(): %v\n"+ |
cockroach/pkg/sql/distsql_running.go
Lines 1001 to 1003 in eda2309
| recv.expectedRowsRead = int64(physPlan.TotalEstimatedScannedRows) | |
| return dsp.Run(planCtx, txn, physPlan, recv, evalCtx, nil /* finishedSetupFn */) | |
| } |
cockroach/pkg/sql/conn_executor_exec.go
Lines 1000 to 1002 in eda2309
| // the planner whether or not to plan remote table readers. | |
| cleanup := ex.server.cfg.DistSQLPlanner.PlanAndRun( | |
| ctx, evalCtx, planCtx, planner.txn, planner.curPlan.main, recv, |
cockroach/pkg/sql/conn_executor_exec.go
Lines 871 to 873 in eda2309
| ex.sessionTracing.TraceExecStart(ctx, "distributed") | |
| stats, err := ex.execWithDistSQLEngine( | |
| ctx, planner, stmt.AST.StatementType(), res, distributePlan.WillDistribute(), progAtomic, |
cockroach/pkg/sql/conn_executor_exec.go
Lines 638 to 640 in eda2309
| p.autoCommit = os.ImplicitTxn.Get() && !ex.server.cfg.TestingKnobs.DisableAutoCommit | |
| if err := ex.dispatchToExecutionEngine(ctx, p, res); err != nil { | |
| return nil, nil, err |
cockroach/pkg/sql/conn_executor_exec.go
Lines 113 to 115 in eda2309
| } else { | |
| ev, payload, err = ex.execStmtInOpenState(ctx, stmt, res, pinfo) | |
| } |
cockroach/pkg/sql/conn_executor_exec.go
Lines 202 to 204 in eda2309
| if !portal.exhausted { | |
| ev, payload, err = ex.execStmt(stmtCtx, curStmt, stmtRes, pinfo) | |
| // Portal suspension is supported via a "side" state machine |
cockroach/pkg/sql/conn_executor.go
Lines 1532 to 1534 in eda2309
| res = stmtRes | |
| ev, payload, err = ex.execPortal(ctx, portal, portalName, stmtRes, pinfo) | |
| return err |
cockroach/pkg/sql/conn_executor.go
Lines 1534 to 1536 in eda2309
| return err | |
| }() | |
| // Note: we write to ex.statsCollector.phaseTimes, instead of ex.phaseTimes, |
cockroach/pkg/sql/conn_executor.go
Lines 1390 to 1392 in eda2309
| var err error | |
| if err = ex.execCmd(ex.Ctx()); err != nil { | |
| if errors.IsAny(err, io.EOF, errDrainingComplete) { |
cockroach/pkg/sql/conn_executor.go
Lines 507 to 509 in eda2309
| }() | |
| return h.ex.run(ctx, s.pool, reserved, cancel) | |
| } |
cockroach/pkg/sql/pgwire/conn.go
Lines 629 to 631 in eda2309
| reservedOwned = false // We're about to pass ownership away. | |
| retErr = sqlServer.ServeConn(ctx, connHandler, reserved, cancelConn) | |
| }() |
/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/operator.go in pkg/sql/colexec.(*noopOperator).Next at line 238
pkg/sql/colexec/materializer.go in pkg/sql/colexec.(*Materializer).next at line 222
pkg/sql/colexec/materializer.go in pkg/sql/colexec.(*Materializer).nextAdapter at line 247
pkg/sql/colexecbase/colexecerror/error.go in pkg/sql/colexecbase/colexecerror.CatchVectorizedRuntimeError at line 93
pkg/sql/colexec/materializer.go in pkg/sql/colexec.(*Materializer).Next at line 253
pkg/sql/execinfra/base.go in pkg/sql/execinfra.Run at line 170
pkg/sql/execinfra/processorsbase.go in pkg/sql/execinfra.(*ProcessorBase).Run at line 775
pkg/sql/flowinfra/flow.go in pkg/sql/flowinfra.(*FlowBase).Run at line 392
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 422
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 1002
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 1001
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 872
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 639
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 114
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execPortal at line 203
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func2 at line 1533
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 1535
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 1391
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 508
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommandsAsync.func1 at line 630
/usr/local/go/src/runtime/asm_amd64.s in runtime.goexit at line 1357
| Tag | Value |
|---|---|
| Cockroach Release | v20.2.4 |
| Cockroach SHA: | eda2309 |
| Platform | linux amd64 |
| Distribution | CCL |
| Environment | v20.2.4 |
| Command | server |
| Go Version | `` |
| # of CPUs | |
| # of Goroutines |