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

bug: index out of range #30

Open
wu0407 opened this issue Sep 16, 2024 · 0 comments
Open

bug: index out of range #30

wu0407 opened this issue Sep 16, 2024 · 0 comments

Comments

@wu0407
Copy link

wu0407 commented Sep 16, 2024

version: github.com/hasit/bolter@073bf139e364
containerd version: 1.7.15

# bolter -f /var/lib/containerd/io.containerd.metadata.v1.bolt/meta.db
panic: runtime error: index out of range [18446744073709547520] with length 281474976710655

goroutine 1 [running]:
github.com/boltdb/bolt.(*DB).page(...)
        d:/go/pkg/mod/github.com/boltdb/[email protected]/db.go:796
github.com/boltdb/bolt.Open({0x7fff3587eebf, 0x3a}, 0x180, 0xc0001a1500)
        d:/go/pkg/mod/github.com/boltdb/[email protected]/db.go:237 +0x51c
github.com/kval-access-language/kval-boltdb.Connect({0x7fff3587eebf, 0x3a})
        d:/go/pkg/mod/github.com/kval-access-language/[email protected]/kval-boltdb.go:17 +0x97
main.(*impl).initDB(0xc0001a1700, {0x7fff3587eebf?, 0x6549f8?})
        d:/go/pkg/mod/github.com/hasit/[email protected]/bolter.go:153 +0x5e
main.main.func1(0xc00008c220?)
        d:/go/pkg/mod/github.com/hasit/[email protected]/bolter.go:90 +0x20b
github.com/urfave/cli.HandleAction({0x5b4680?, 0xc00008a4e0?}, 0xc000014220?)
        d:/go/pkg/mod/github.com/urfave/[email protected]/app.go:523 +0x50
github.com/urfave/cli.(*App).Run(0xc000007500, {0xc000014210, 0x3, 0x3})
        d:/go/pkg/mod/github.com/urfave/[email protected]/app.go:285 +0x7e6
main.main()
        d:/go/pkg/mod/github.com/hasit/[email protected]/bolter.go:97 +0x3d3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant