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

Sentry: errors.go:91: referenced descriptor ID 1: looking up ID 1: descriptor not found (1) Wraps: (2) assertion failure Wraps: (3) attached stack trace -- stack trace: | github.com/cockroachdb/co... #133401

Closed
cockroach-sentry opened this issue Oct 24, 2024 · 1 comment
Labels
branch-release-23.1 Used to mark GA and release blockers, technical advisories, and bugs for 23.1 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. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-blathers-triaged blathers was able to find an owner

Comments

@cockroach-sentry
Copy link
Collaborator

cockroach-sentry commented Oct 24, 2024

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

Sentry Link: https://cockroach-labs.sentry.io/issues/6017765556/?referrer=webhooks_plugin

Panic Message:

errors.go:91: referenced descriptor ID 1: looking up ID 1: descriptor not found
(1)
Wraps: (2) assertion failure
Wraps: (3) attached stack trace
  -- stack trace:
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.wrapError
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_query.go:173
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.catalogQuery.processDescriptorResultRow
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_query.go:116
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.catalogQuery.query
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_query.go:75
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.catalogReader.GetByIDs
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_reader.go:277
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.(*cachedCatalogReader).GetByIDs
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_reader_cached.go:340
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.getDescriptorsByID
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/descriptor.go:207
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.getDescriptorByName
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/descriptor.go:406
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.ByNameGetter.Database
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/getters.go:243
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.getObjectPrefix
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/helpers.go:97
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.PrefixAndTable
  | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/helpers.go:134
  | github.com/cockroachdb/cockroach/pkg/sql.MemberOfWithAdminOption
  | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:531
  | github.com/cockroachdb/cockroach/pkg/sql.(*planner).MemberOfWithAdminOption
  | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:509
  | github.com/cockroachdb/cockroach/pkg/sql.(*planner).UserHasAdminRole
  | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:469
  | github.com/cockroachdb/cockroach/pkg/sql.(*planner).HasAdminRole
  | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:485
  | github.com/cockroachdb/cockroach/pkg/sql/sem/builtins.makeRangeKeyIterator
  | 	github.com/cockroachdb/cockroach/pkg/sql/sem/builtins/generator_builtins.go:2274
  | github.com/cockroachdb/cockroach/pkg/sql/sem/eval.GetFuncGenerator
  | 	github.com/cockroachdb/cockroach/pkg/sql/sem/eval/generators.go:40
  | github.com/cockroachdb/cockroach/pkg/sql/rowexec.(*projectSetProcessor).nextInputRow
  | 	github.com/cockroachdb/cockroach/pkg/sql/rowexec/project_set.go:181
  | github.com/cockroachdb/cockroach/pkg/sql/rowexec.(*projectSetProcessor).Next
  | 	github.com/cockroachdb/cockroach/pkg/sql/rowexec/project_set.go:291
  | github.com/cockroachdb/cockroach/pkg/sql/colexec.(*Columnarizer).Next
  | 	github.com/cockroachdb/cockroach/pkg/sql/colexec/columnarizer.go:239
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).next
  | 	github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:118
  | github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError
  | 	github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:92
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Next
  | 	github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:126
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter
  | 	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:250
  | github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError
  | 	github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:92
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).next
  | 	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:254
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).Run
  | 	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:286
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*vectorizedFlow).Run
  | 	github.com/cockroachdb/cockroach/pkg/sql/colflow/vectorized_flow.go:324
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).Run
  | 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:902
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRun
  | 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1913
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3
  | 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1645
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll
  | 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1648
Wraps: (4) referenced descriptor ID 1
Wraps: (5) secondary error attachment
  | failed to find descriptor [1]
  | (1) attached stack trace
  |   -- stack trace:
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.requiredError
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_query.go:215
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.build
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_query.go:187
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.catalogQuery.processDescriptorResultRow
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_query.go:114
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.catalogQuery.query
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_query.go:75
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.catalogReader.GetByIDs
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_reader.go:277
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv.(*cachedCatalogReader).GetByIDs
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/internal/catkv/catalog_reader_cached.go:340
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.getDescriptorsByID
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/descriptor.go:207
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.getDescriptorByName
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/descriptor.go:406
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.ByNameGetter.Database
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/getters.go:243
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.getObjectPrefix
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/helpers.go:97
  |   | github.com/cockroachdb/cockroach/pkg/sql/catalog/descs.PrefixAndTable
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/catalog/descs/helpers.go:134
  |   | github.com/cockroachdb/cockroach/pkg/sql.MemberOfWithAdminOption
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:531
  |   | github.com/cockroachdb/cockroach/pkg/sql.(*planner).MemberOfWithAdminOption
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:509
  |   | github.com/cockroachdb/cockroach/pkg/sql.(*planner).UserHasAdminRole
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:469
  |   | github.com/cockroachdb/cockroach/pkg/sql.(*planner).HasAdminRole
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/authorization.go:485
  |   | github.com/cockroachdb/cockroach/pkg/sql/sem/builtins.makeRangeKeyIterator
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/sem/builtins/generator_builtins.go:2274
  |   | github.com/cockroachdb/cockroach/pkg/sql/sem/eval.GetFuncGenerator
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/sem/eval/generators.go:40
  |   | github.com/cockroachdb/cockroach/pkg/sql/rowexec.(*projectSetProcessor).nextInputRow
  |   | 	github.com/cockroachdb/cockroach/pkg/sql/rowexec/project_...
Stacktrace (expand for inline code snippets):

}
err = ex.server.cfg.DistSQLPlanner.PlanAndRunAll(ctx, evalCtx, planCtx, planner, recv, evalCtxFactory)
}

)
}()

defer cleanup()
dsp.PlanAndRun(
ctx, evalCtx, planCtx, planner.txn, planner.curPlan.main, recv, finishedSetupFn,

recv.expectedRowsRead = int64(physPlan.TotalEstimatedScannedRows)
dsp.Run(ctx, planCtx, txn, physPlan, recv, evalCtx, finishedSetupFn)
}

noWait := planCtx.getPortalPauseInfo() != nil
flow.Run(ctx, noWait)
}

log.VEvent(ctx, 1, "running the batch flow coordinator in the flow's goroutine")
f.batchFlowCoordinator.Run(ctx)
}

for status == execinfra.NeedMoreRows {
err := f.next()
if err != nil {

func (f *BatchFlowCoordinator) next() error {
return colexecerror.CatchVectorizedRuntimeError(f.nextAdapter)
}

}()
operation()
return retErr

func (f *BatchFlowCoordinator) nextAdapter() {
f.batch = f.input.Root.Next()
}

// execution time (e.g. in the statement bundle).
err := colexecerror.CatchVectorizedRuntimeError(bic.next)
bic.stopwatch.Stop()

}()
operation()
return retErr

func (bic *batchInfoCollector) next() {
bic.batch = bic.Input.Next()
}

for batchDone := false; !batchDone; {
row, meta := c.input.Next()
if meta != nil {

// Read the row from the source.
row, meta, err := ps.nextInputRow()
if meta != nil {

case *tree.FuncExpr:
gen, err = eval.GetFuncGenerator(ps.Ctx(), ps.EvalCtx, t)
case *tree.RoutineExpr:

}
return ol.Generator.(GeneratorOverload)(ctx, evalCtx, args)
}

// The user must be an admin to use this builtin.
isAdmin, err := evalCtx.SessionAccessor.HasAdminRole(ctx)
if err != nil {

func (p *planner) HasAdminRole(ctx context.Context) (bool, error) {
return p.UserHasAdminRole(ctx, p.User())
}

// Expand role memberships.
memberOf, err := p.MemberOfWithAdminOption(ctx, user)
if err != nil {

) (map[username.SQLUsername]bool, error) {
return MemberOfWithAdminOption(
ctx,

// Lookup table version.
_, tableDesc, err := descs.PrefixAndTable(
ctx, txn.Descriptors().ByNameWithLeased(txn.KV()).Get(), &roleMembersTableName,

) (catalog.ResolvedObjectPrefix, catalog.TableDescriptor, error) {
p, err := getObjectPrefix(ctx, g, name.Catalog(), name.Schema())
if err != nil || p.Schema == nil {

if dbName != "" {
prefix.Database, err = g.Database(ctx, dbName)
if err != nil || prefix.Database == nil {

) (catalog.DatabaseDescriptor, error) {
desc, err := getDescriptorByName(
ctx, g.KV(), g.Descriptors(), nil /* db */, nil /* sc */, name, g.flags, catalog.Database,

var arr [1]catalog.Descriptor
err = getDescriptorsByID(ctx, tc, txn, flags, arr[:], id)
if err == nil {

const isDescriptorRequired = true
read, err := tc.cr.GetByIDs(ctx, txn, readIDs.Ordered(), isDescriptorRequired, catalog.Any)
if err != nil {

uncachedIDs := ids[:numUncached]
read, err := c.cr.GetByIDs(ctx, txn, uncachedIDs, isDescriptorRequired, expectedType)
if err != nil {

err := cq.query(ctx, txn, &mc, func(codec keys.SQLCodec, b *kv.Batch) {
// Attempt to generate a optimal set of requests by extracting

case keys.DescriptorTableID:
err = cq.processDescriptorResultRow(row, out)
case keys.CommentsTableID:

if err != nil {
return wrapError(expectedType, id, err)
}

}
return errors.Wrapf(err, "referenced descriptor ID %d", id)
}

defer cleanup()
dsp.PlanAndRun(
ctx, evalCtx, planCtx, planner.txn, planner.curPlan.main, recv, finishedSetupFn,

recv.expectedRowsRead = int64(physPlan.TotalEstimatedScannedRows)
dsp.Run(ctx, planCtx, txn, physPlan, recv, evalCtx, finishedSetupFn)
}

noWait := planCtx.getPortalPauseInfo() != nil
flow.Run(ctx, noWait)
}

log.VEvent(ctx, 1, "running the batch flow coordinator in the flow's goroutine")
f.batchFlowCoordinator.Run(ctx)
}

for status == execinfra.NeedMoreRows {
err := f.next()
if err != nil {

func (f *BatchFlowCoordinator) next() error {
return colexecerror.CatchVectorizedRuntimeError(f.nextAdapter)
}

}()
operation()
return retErr

func (f *BatchFlowCoordinator) nextAdapter() {
f.batch = f.input.Root.Next()
}

// execution time (e.g. in the statement bundle).
err := colexecerror.CatchVectorizedRuntimeError(bic.next)
bic.stopwatch.Stop()

}()
operation()
return retErr

func (bic *batchInfoCollector) next() {
bic.batch = bic.Input.Next()
}

for batchDone := false; !batchDone; {
row, meta := c.input.Next()
if meta != nil {

// Read the row from the source.
row, meta, err := ps.nextInputRow()
if meta != nil {

case *tree.FuncExpr:
gen, err = eval.GetFuncGenerator(ps.Ctx(), ps.EvalCtx, t)
case *tree.RoutineExpr:

}
return ol.Generator.(GeneratorOverload)(ctx, evalCtx, args)
}

// The user must be an admin to use this builtin.
isAdmin, err := evalCtx.SessionAccessor.HasAdminRole(ctx)
if err != nil {

func (p *planner) HasAdminRole(ctx context.Context) (bool, error) {
return p.UserHasAdminRole(ctx, p.User())
}

// Expand role memberships.
memberOf, err := p.MemberOfWithAdminOption(ctx, user)
if err != nil {

) (map[username.SQLUsername]bool, error) {
return MemberOfWithAdminOption(
ctx,

// Lookup table version.
_, tableDesc, err := descs.PrefixAndTable(
ctx, txn.Descriptors().ByNameWithLeased(txn.KV()).Get(), &roleMembersTableName,

) (catalog.ResolvedObjectPrefix, catalog.TableDescriptor, error) {
p, err := getObjectPrefix(ctx, g, name.Catalog(), name.Schema())
if err != nil || p.Schema == nil {

if dbName != "" {
prefix.Database, err = g.Database(ctx, dbName)
if err != nil || prefix.Database == nil {

) (catalog.DatabaseDescriptor, error) {
desc, err := getDescriptorByName(
ctx, g.KV(), g.Descriptors(), nil /* db */, nil /* sc */, name, g.flags, catalog.Database,

var arr [1]catalog.Descriptor
err = getDescriptorsByID(ctx, tc, txn, flags, arr[:], id)
if err == nil {

const isDescriptorRequired = true
read, err := tc.cr.GetByIDs(ctx, txn, readIDs.Ordered(), isDescriptorRequired, catalog.Any)
if err != nil {

uncachedIDs := ids[:numUncached]
read, err := c.cr.GetByIDs(ctx, txn, uncachedIDs, isDescriptorRequired, expectedType)
if err != nil {

err := cq.query(ctx, txn, &mc, func(codec keys.SQLCodec, b *kv.Batch) {
// Attempt to generate a optimal set of requests by extracting

case keys.DescriptorTableID:
err = cq.processDescriptorResultRow(row, out)
case keys.CommentsTableID:

}
desc, err := build(expectedType, id, row.Value, cq.isDescriptorRequired)
if err != nil {

if isRequired {
return nil, requiredError(expectedType, id)
}

}
return errors.CombineErrors(catalog.NewDescriptorNotFoundError(id), err)
}

func NewDescriptorNotFoundError(id descpb.ID) error {
return errors.Wrapf(ErrDescriptorNotFound, "looking up ID %d", errors.Safe(id))
}

src/runtime/asm_arm64.s#L1171-L1173
GOROOT/src/runtime/proc.go#L232-L234
GOROOT/src/runtime/proc.go#L6325-L6327
GOROOT/src/runtime/proc.go#L6325-L6327
GOROOT/src/runtime/proc.go#L6325-L6327
GOROOT/src/runtime/proc.go#L6325-L6327
GOROOT/src/runtime/proc.go#L6325-L6327
GOROOT/src/runtime/proc.go#L6348-L6350
// found with the given id.
var ErrDescriptorNotFound = errors.New("descriptor not found")

pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 2153
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll at line 1648
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3 at line 1645
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 1913
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 902
pkg/sql/colflow/vectorized_flow.go in pkg/sql/colflow.(*vectorizedFlow).Run at line 324
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).Run at line 286
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).next at line 254
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 92
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter at line 250
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).Next at line 126
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 92
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).next at line 118
pkg/sql/colexec/columnarizer.go in pkg/sql/colexec.(*Columnarizer).Next at line 239
pkg/sql/rowexec/project_set.go in pkg/sql/rowexec.(*projectSetProcessor).Next at line 291
pkg/sql/rowexec/project_set.go in pkg/sql/rowexec.(*projectSetProcessor).nextInputRow at line 181
pkg/sql/sem/eval/generators.go in pkg/sql/sem/eval.GetFuncGenerator at line 40
pkg/sql/sem/builtins/generator_builtins.go in pkg/sql/sem/builtins.makeRangeKeyIterator at line 2274
pkg/sql/authorization.go in pkg/sql.(*planner).HasAdminRole at line 485
pkg/sql/authorization.go in pkg/sql.(*planner).UserHasAdminRole at line 469
pkg/sql/authorization.go in pkg/sql.(*planner).MemberOfWithAdminOption at line 509
pkg/sql/authorization.go in pkg/sql.MemberOfWithAdminOption at line 531
pkg/sql/catalog/descs/helpers.go in pkg/sql/catalog/descs.PrefixAndTable at line 134
pkg/sql/catalog/descs/helpers.go in pkg/sql/catalog/descs.getObjectPrefix at line 97
pkg/sql/catalog/descs/getters.go in pkg/sql/catalog/descs.ByNameGetter.Database at line 243
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorByName at line 406
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorsByID at line 207
pkg/sql/catalog/internal/catkv/catalog_reader_cached.go in pkg/sql/catalog/internal/catkv.(*cachedCatalogReader).GetByIDs at line 340
pkg/sql/catalog/internal/catkv/catalog_reader.go in pkg/sql/catalog/internal/catkv.catalogReader.GetByIDs at line 277
pkg/sql/catalog/internal/catkv/catalog_query.go in pkg/sql/catalog/internal/catkv.catalogQuery.query at line 75
pkg/sql/catalog/internal/catkv/catalog_query.go in pkg/sql/catalog/internal/catkv.catalogQuery.processDescriptorResultRow at line 116
pkg/sql/catalog/internal/catkv/catalog_query.go in pkg/sql/catalog/internal/catkv.wrapError at line 173
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3 at line 1645
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 1913
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 902
pkg/sql/colflow/vectorized_flow.go in pkg/sql/colflow.(*vectorizedFlow).Run at line 324
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).Run at line 286
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).next at line 254
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 92
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter at line 250
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).Next at line 126
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 92
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).next at line 118
pkg/sql/colexec/columnarizer.go in pkg/sql/colexec.(*Columnarizer).Next at line 239
pkg/sql/rowexec/project_set.go in pkg/sql/rowexec.(*projectSetProcessor).Next at line 291
pkg/sql/rowexec/project_set.go in pkg/sql/rowexec.(*projectSetProcessor).nextInputRow at line 181
pkg/sql/sem/eval/generators.go in pkg/sql/sem/eval.GetFuncGenerator at line 40
pkg/sql/sem/builtins/generator_builtins.go in pkg/sql/sem/builtins.makeRangeKeyIterator at line 2274
pkg/sql/authorization.go in pkg/sql.(*planner).HasAdminRole at line 485
pkg/sql/authorization.go in pkg/sql.(*planner).UserHasAdminRole at line 469
pkg/sql/authorization.go in pkg/sql.(*planner).MemberOfWithAdminOption at line 509
pkg/sql/authorization.go in pkg/sql.MemberOfWithAdminOption at line 531
pkg/sql/catalog/descs/helpers.go in pkg/sql/catalog/descs.PrefixAndTable at line 134
pkg/sql/catalog/descs/helpers.go in pkg/sql/catalog/descs.getObjectPrefix at line 97
pkg/sql/catalog/descs/getters.go in pkg/sql/catalog/descs.ByNameGetter.Database at line 243
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorByName at line 406
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorsByID at line 207
pkg/sql/catalog/internal/catkv/catalog_reader_cached.go in pkg/sql/catalog/internal/catkv.(*cachedCatalogReader).GetByIDs at line 340
pkg/sql/catalog/internal/catkv/catalog_reader.go in pkg/sql/catalog/internal/catkv.catalogReader.GetByIDs at line 277
pkg/sql/catalog/internal/catkv/catalog_query.go in pkg/sql/catalog/internal/catkv.catalogQuery.query at line 75
pkg/sql/catalog/internal/catkv/catalog_query.go in pkg/sql/catalog/internal/catkv.catalogQuery.processDescriptorResultRow at line 114
pkg/sql/catalog/internal/catkv/catalog_query.go in pkg/sql/catalog/internal/catkv.build at line 187
pkg/sql/catalog/internal/catkv/catalog_query.go in pkg/sql/catalog/internal/catkv.requiredError at line 217
pkg/sql/catalog/errors.go in pkg/sql/catalog.NewDescriptorNotFoundError at line 94
src/runtime/asm_arm64.s in runtime.goexit at line 1172
GOROOT/src/runtime/proc.go in runtime.main at line 233
GOROOT/src/runtime/proc.go in runtime.doInit at line 6326
GOROOT/src/runtime/proc.go in runtime.doInit at line 6326
GOROOT/src/runtime/proc.go in runtime.doInit at line 6326
GOROOT/src/runtime/proc.go in runtime.doInit at line 6326
GOROOT/src/runtime/proc.go in runtime.doInit at line 6326
GOROOT/src/runtime/proc.go in runtime.doInit at line 6349
pkg/sql/catalog/errors.go in pkg/sql/catalog.init at line 91

Tags

Tag Value
Command demo
Environment v23.1.11
Go Version go1.19.10
Platform darwin arm64
Distribution CCL
Cockroach Release v23.1.11
Cockroach SHA 62ad175
# of CPUs 10
# of Goroutines 407

Jira issue: CRDB-43585

@cockroach-sentry cockroach-sentry added branch-release-23.1 Used to mark GA and release blockers, technical advisories, and bugs for 23.1 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 Oct 24, 2024
@yuzefovich yuzefovich added T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-blathers-triaged blathers was able to find an owner labels Nov 13, 2024
@yuzefovich
Copy link
Member

dup of #105257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-23.1 Used to mark GA and release blockers, technical advisories, and bugs for 23.1 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. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-blathers-triaged blathers was able to find an owner
Projects
None yet
Development

No branches or pull requests

2 participants