Skip to content

Sentry: panic.go:770: runtime error: invalid memory address or nil pointer dereference (1) attached stack trace -- stack trace: | runtime.gopanic | GOROOT/src/runtime/panic.go:770 | runtime.p... #157094

@cockroach-sentry

Description

@cockroach-sentry

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/7007608500/?referrer=webhooks_plugin

Panic Message:

panic.go:770: runtime error: invalid memory address or nil pointer dereference
(1) attached stack trace
  -- stack trace:
  | runtime.gopanic
  | 	GOROOT/src/runtime/panic.go:770
  | runtime.panicmem
  | 	GOROOT/src/runtime/panic.go:261
  | runtime.sigpanic
  | 	GOROOT/src/runtime/signal_unix.go:881
  | github.com/cockroachdb/cockroach/pkg/kv.(*Txn).UserPriority
  | 	pkg/kv/txn.go:362
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).resetTransactionOnSchemaChangeRetry
  | 	pkg/sql/conn_executor_exec.go:1465
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).handleWaitingForConcurrentSchemaChanges
  | 	pkg/sql/conn_executor_ddl.go:123
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper
  | 	pkg/sql/conn_executor.go:3925
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd
  | 	pkg/sql/conn_executor.go:2589
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run
  | 	pkg/sql/conn_executor.go:2263
  | github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).runWithEx.func2
  | 	pkg/sql/internal.go:252
  | github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2
  | 	pkg/util/stop/stopper.go:498
  | runtime.goexit
  | 	src/runtime/asm_amd64.s:1695
Wraps: (2) runtime error: invalid memory address or nil pointer dereference
Error types: (1) *withstack.withStack (2) runtime.errorString
-- report composition:
runtime.errorString
panic.go:770: *withstack.withStack (top exception)
Stacktrace (expand for inline code snippets):

src/runtime/asm_amd64.s#L1694-L1696
pkg/util/stop/stopper.go#L497-L499
pkg/sql/internal.go#L251-L253
pkg/sql/conn_executor.go#L2262-L2264
pkg/sql/conn_executor.go#L2588-L2590
pkg/sql/conn_executor.go#L3924-L3926
pkg/sql/conn_executor_ddl.go#L122-L124
pkg/sql/conn_executor_exec.go#L1464-L1466
pkg/kv/txn.go#L361-L363
GOROOT/src/runtime/signal_unix.go#L880-L882
GOROOT/src/runtime/panic.go#L260-L262
GOROOT/src/runtime/panic.go#L769-L771

src/runtime/asm_amd64.s in runtime.goexit at line 1695
pkg/util/stop/stopper.go in pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2 at line 498
pkg/sql/internal.go in pkg/sql.(*InternalExecutor).runWithEx.func2 at line 252
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 2263
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2589
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).txnStateTransitionsApplyWrapper at line 3925
pkg/sql/conn_executor_ddl.go in pkg/sql.(*connExecutor).handleWaitingForConcurrentSchemaChanges at line 123
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).resetTransactionOnSchemaChangeRetry at line 1465
pkg/kv/txn.go in pkg/kv.(*Txn).UserPriority at line 362
GOROOT/src/runtime/signal_unix.go in runtime.sigpanic at line 881
GOROOT/src/runtime/panic.go in runtime.panicmem at line 261
GOROOT/src/runtime/panic.go in runtime.gopanic at line 770

Tags

Tag Value
Command server
Environment v24.3.0
Go Version go1.22.8 X:nocoverageredesign
Platform linux amd64
Distribution CCL
Cockroach Release v24.3.0
Cockroach SHA ef2ebe9
# of CPUs 8
# of Goroutines 509

Jira issue: CRDB-56310

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-sentryOriginated from an in-the-wild panic report.T-kvKV TeamX-blathers-triagedblathers was able to find an ownerbranch-release-24.3Used to mark GA and release blockers, technical advisories, and bugs for 24.3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions