Description
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/6690213304/?referrer=webhooks_plugin
Panic Message:
panic.go:791: runtime error: invalid memory address or nil pointer dereference
(1) attached stack trace
-- stack trace:
| runtime.gopanic
| GOROOT/src/runtime/panic.go:791
| runtime.panicmem
| GOROOT/src/runtime/panic.go:262
| runtime.sigpanic
| GOROOT/src/runtime/signal_unix.go:917
| github.com/cockroachdb/cockroach/pkg/crosscluster/streamclient.(*tlsCerts).addTLSCertsToConfig
| pkg/crosscluster/streamclient/pgconn.go:143
| github.com/cockroachdb/cockroach/pkg/crosscluster/streamclient.setupPGXConfig
| pkg/crosscluster/streamclient/pgconn.go:56
| github.com/cockroachdb/cockroach/pkg/crosscluster/streamclient.newPGConnForClient
| pkg/crosscluster/streamclient/pgconn.go:36
| github.com/cockroachdb/cockroach/pkg/crosscluster/streamclient.NewPartitionedStreamClient
| pkg/crosscluster/streamclient/partitioned_stream_client.go:48
| github.com/cockroachdb/cockroach/pkg/crosscluster/streamclient.NewStreamClient
| pkg/crosscluster/streamclient/client.go:224
| github.com/cockroachdb/cockroach/pkg/crosscluster/physical.createReplicationJob
| pkg/crosscluster/physical/stream_ingestion_planning.go:231
| github.com/cockroachdb/cockroach/pkg/crosscluster/physical.ingestionPlanHook.func1
| pkg/crosscluster/physical/stream_ingestion_planning.go:192
| github.com/cockroachdb/cockroach/pkg/sql.(*hookFnNode).startExec.func1
| pkg/sql/planhook.go:187
| github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2
| pkg/util/stop/stopper.go:500
| runtime.goexit
| src/runtime/asm_amd64.s:1700
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:791: *withstack.withStack (top exception)
Stacktrace (expand for inline code snippets):
src/runtime/asm_amd64.s#L1699-L1701
pkg/util/stop/stopper.go#L499-L501
pkg/sql/planhook.go#L186-L188
pkg/crosscluster/physical/stream_ingestion_planning.go#L191-L193
pkg/crosscluster/physical/stream_ingestion_planning.go#L230-L232
pkg/crosscluster/streamclient/client.go#L223-L225
pkg/crosscluster/streamclient/partitioned_stream_client.go#L47-L49
pkg/crosscluster/streamclient/pgconn.go#L35-L37
pkg/crosscluster/streamclient/pgconn.go#L55-L57
pkg/crosscluster/streamclient/pgconn.go#L142-L144
GOROOT/src/runtime/signal_unix.go#L916-L918
GOROOT/src/runtime/panic.go#L261-L263
GOROOT/src/runtime/panic.go#L790-L792
src/runtime/asm_amd64.s in runtime.goexit at line 1700
pkg/util/stop/stopper.go in pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2 at line 500
pkg/sql/planhook.go in pkg/sql.(*hookFnNode).startExec.func1 at line 187
pkg/crosscluster/physical/stream_ingestion_planning.go in pkg/crosscluster/physical.ingestionPlanHook.func1 at line 192
pkg/crosscluster/physical/stream_ingestion_planning.go in pkg/crosscluster/physical.createReplicationJob at line 231
pkg/crosscluster/streamclient/client.go in pkg/crosscluster/streamclient.NewStreamClient at line 224
pkg/crosscluster/streamclient/partitioned_stream_client.go in pkg/crosscluster/streamclient.NewPartitionedStreamClient at line 48
pkg/crosscluster/streamclient/pgconn.go in pkg/crosscluster/streamclient.newPGConnForClient at line 36
pkg/crosscluster/streamclient/pgconn.go in pkg/crosscluster/streamclient.setupPGXConfig at line 56
pkg/crosscluster/streamclient/pgconn.go in pkg/crosscluster/streamclient.(*tlsCerts).addTLSCertsToConfig at line 143
GOROOT/src/runtime/signal_unix.go in runtime.sigpanic at line 917
GOROOT/src/runtime/panic.go in runtime.panicmem at line 262
GOROOT/src/runtime/panic.go in runtime.gopanic at line 791
Tags
Tag | Value |
---|---|
Command | server |
Environment | v25.2.1 |
Go Version | go1.23.7 X:nocoverageredesign |
Platform | linux amd64 |
Distribution | CCL |
Cockroach Release | v25.2.1 |
Cockroach SHA | f9f183d |
# of CPUs | 2 |
# of Goroutines | 513 |
Jira issue: CRDB-51655