Skip to content

Instantly share code, notes, and snippets.

@andreimatei
Created February 14, 2022 20:01
Show Gist options
  • Save andreimatei/7b86d414a93c81cf93ffe68fe2788ec6 to your computer and use it in GitHub Desktop.
Save andreimatei/7b86d414a93c81cf93ffe68fe2788ec6 to your computer and use it in GitHub Desktop.
panic({0x43cf220, 0xc002a5a840})
/usr/local/go/src/runtime/panic.go:1147 +0x3a8 fp=0xc0024b2f70 sp=0xc0024b2eb0 pc=0x489e68
github.com/cockroachdb/cockroach/pkg/util/tracing.(*Span).detectUseAfterFinish(0xb51e958)
/go/src/github.com/cockroachdb/cockroach/pkg/util/tracing/span.go:185 +0x134 fp=0xc0024b2fd8 sp=0xc0024b2f70 pc=0xbc90f4
github.com/cockroachdb/cockroach/pkg/util/tracing.(*Span).RecordingType(0xc00276d500)
/go/src/github.com/cockroachdb/cockroach/pkg/util/tracing/span.go:399 +0x1e fp=0xc0024b2ff0 sp=0xc0024b2fd8 pc=0xbc999e
github.com/cockroachdb/cockroach/pkg/util/tracing.(*Span).IsVerbose(...)
/go/src/github.com/cockroachdb/cockroach/pkg/util/tracing/span.go:407
github.com/cockroachdb/cockroach/pkg/util/log.getSpanOrEventLog({0x841ca28, 0xc0019730b0})
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/trace.go:92 +0x3a fp=0xc0024b3020 sp=0xc0024b2ff0 pc=0xcefc5a
github.com/cockroachdb/cockroach/pkg/util/log.logfDepth({0x841ca28, 0xc0019730b0}, 0x1, 0x3, 0x0, {0x4c107d3, 0xc}, {0xc0024b3330, 0x1, 0x1})
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/channels.go:55 +0x2a8 fp=0xc0024b3290 sp=0xc0024b3020 pc=0xcd2428
github.com/cockroachdb/cockroach/pkg/util/log.Errorf(...)
/go/src/github.com/cockroachdb/cockroach/pkg/util/log/log_channels_generated.go:640
github.com/cockroachdb/cockroach/pkg/cloud.(*ResumingReader).Read(0xc0015c6380, {0x7f5c82615c77, 0x778a, 0x778a})
/go/src/github.com/cockroachdb/cockroach/pkg/cloud/cloud_io.go:217 +0x228 fp=0xc0024b3370 sp=0xc0024b3290 pc=0x164ba28
github.com/cockroachdb/cockroach/pkg/ccl/storageccl.(*sstReader).ReadAt(0xc000e32a00, {0x7f5c82610060, 0xd3a1, 0xd3a1}, 0x4c92be)
/go/src/github.com/cockroachdb/cockroach/pkg/ccl/storageccl/external_sst_reader.go:210 +0x22c fp=0xc0024b33d0 sp=0xc0024b3370 pc=0x1afcfcc
github.com/cockroachdb/pebble/sstable.(*Reader).readBlock(0xc002d30580, {0x19, 0x40}, 0x0, 0xc002343478)
/go/src/github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/pebble/sstable/reader.go:2281 +0x3e9 fp=0xc0024b34e8 sp=0xc0024b33d0 pc=0x125ecc9
github.com/cockroachdb/pebble/sstable.(*singleLevelIterator).loadBlock(0xc002343200)
/go/src/github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/pebble/sstable/reader.go:373 +0x25a fp=0xc0024b3578 sp=0xc0024b34e8 pc=0x125835a
github.com/cockroachdb/pebble/sstable.(*singleLevelIterator).skipForward(0xc002343200)
/go/src/github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/pebble/sstable/reader.go:897 +0x48 fp=0xc0024b35e0 sp=0xc0024b3578 pc=0x125a188
github.com/cockroachdb/pebble/sstable.(*singleLevelIterator).Next(0xc002343200)
/go/src/github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/pebble/sstable/reader.go:864 +0xf9 fp=0xc0024b3640 sp=0xc0024b35e0 pc=0x1259fb9
github.com/cockroachdb/cockroach/pkg/storage.(*sstIterator).Next(0xc0024d5500)
/go/src/github.com/cockroachdb/cockroach/pkg/storage/sst_iterator.go:129 +0x5f fp=0xc0024b3718 sp=0xc0024b3640 pc=0x1880e1f
github.com/cockroachdb/cockroach/pkg/storage.(*sstIterator).NextKey(0xc0024d5500)
/go/src/github.com/cockroachdb/cockroach/pkg/storage/sst_iterator.go:148 +0xd2 fp=0xc0024b3768 sp=0xc0024b3718 pc=0x1881192
github.com/cockroachdb/cockroach/pkg/storage.(*multiIterator).NextKey(0xc0035a35c0)
/go/src/github.com/cockroachdb/cockroach/pkg/storage/multi_iterator.go:115 +0x4b fp=0xc0024b37a0 sp=0xc0024b3768 pc=0x184372b
github.com/cockroachdb/cockroach/pkg/ccl/backupccl.(*restoreDataProcessor).processRestoreSpanEntry(0xc0017dd500, {0x841c980, 0xc0035a68c0}, 0x8, {{{{0xc002d1fe78, 0x6, 0x8}, {0xc002d1fe80, 0x6, 0x8}}, ...}, ...})
/go/src/github.com/cockroachdb/cockroach/pkg/ccl/backupccl/restore_data_processor.go:446 +0xacc fp=0xc0024b3c30 sp=0xc0024b37a0 pc=0x34fa82c
github.com/cockroachdb/cockroach/pkg/ccl/backupccl.(*restoreDataProcessor).runRestoreWorkers.func1.1(0xc00109dd10, 0xc0017dd500, {0x841c980, 0xc0035a68c0}, 0x1)
/go/src/github.com/cockroachdb/cockroach/pkg/ccl/backupccl/restore_data_processor.go:347 +0x119 fp=0xc0024b3ec0 sp=0xc0024b3c30 pc=0x34f9af9
github.com/cockroachdb/cockroach/pkg/ccl/backupccl.(*restoreDataProcessor).runRestoreWorkers.func1({0x841c980, 0xc0035a68c0}, 0x841ca28)
/go/src/github.com/cockroachdb/cockroach/pkg/ccl/backupccl/restore_data_processor.go:359 +0xc5 fp=0xc0024b3f30 sp=0xc0024b3ec0 pc=0x34f9985
github.com/cockroachdb/cockroach/pkg/util/ctxgroup.GroupWorkers.func1({0x841c980, 0xc0035a68c0})
/go/src/github.com/cockroachdb/cockroach/pkg/util/ctxgroup/ctxgroup.go:175 +0x2b fp=0xc0024b3f58 sp=0xc0024b3f30 pc=0x15fa16b
github.com/cockroachdb/cockroach/pkg/util/ctxgroup.Group.GoCtx.func1()
/go/src/github.com/cockroachdb/cockroach/pkg/util/ctxgroup/ctxgroup.go:166 +0x25 fp=0xc0024b3f78 sp=0xc0024b3f58 pc=0x15fa005
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/src/github.com/cockroachdb/cockroach/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x67 fp=0xc0024b3fe0 sp=0xc0024b3f78 pc=0x104b2c7
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0024b3fe8 sp=0xc0024b3fe0 pc=0x4be881
created by golang.org/x/sync/errgroup.(*Group).Go
/go/src/github.com/cockroachdb/cockroach/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment