Open
Description
I got a weird panic, what's going on?
panic: runtime error: slice bounds out of range [:18014398510996847] with capacity 4194304 [recovered]
panic: runtime error: slice bounds out of range [:18014398510996847] with capacity 4194304 [recovered]
panic: runtime error: slice bounds out of range [:18014398510996847] with capacity 4194304
goroutine 74586376 [running]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction.func1()
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:752 +0xc5
panic({0xb58fc0, 0xc00e3dbda0})
/usr/lib/go-1.18/src/runtime/panic.go:838 +0x207
github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransact.func1()
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:158 +0x9b
panic({0xb58fc0, 0xc00e3dbda0})
/usr/lib/go-1.18/src/runtime/panic.go:838 +0x207
github.com/syndtr/goleveldb/leveldb/memdb.(*dbIter).fill(0x1e?, 0x91?, 0xe2?)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/memdb/memdb.go:42 +0x291
github.com/syndtr/goleveldb/leveldb/memdb.(*dbIter).Next(0xc0166770e0?)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/memdb/memdb.go:131 +0x12e
github.com/syndtr/goleveldb/leveldb.(*tOps).createFrom(0xc0031825a0?, {0xcab698, 0xc00c8a6080})
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/table.go:329 +0x106
github.com/syndtr/goleveldb/leveldb.(*session).flushMemdb(0xc00807e4d0, 0xc01edb5900, 0xc012fb8000, 0x7faab3f5a498?)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/session_compaction.go:27 +0x105
github.com/syndtr/goleveldb/leveldb.(*DB).memCompaction.func1(0xc016677001?)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:304 +0x9c
github.com/syndtr/goleveldb/leveldb.(*compactionTransactFunc).run(0x3337333836300000?, 0x0?)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:241 +0x1f
github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransact(0xc00b0ec000, {0xb9f8b2, 0xb}, {0xca7fa0, 0xc00c896730})
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:185 +0x217
github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransactFunc(...)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:252
github.com/syndtr/goleveldb/leveldb.(*DB).memCompaction(0xc00b0ec000)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:302 +0x3ee
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc00b0ec000)
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db_compaction.go:766 +0x93
created by github.com/syndtr/goleveldb/leveldb.openDB
/root/go/pkg/mod/github.com/syndtr/[email protected]/leveldb/db.go:150 +0x5d6
Metadata
Assignees
Labels
No labels
Activity