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

panic: runtime error: makeslice: len out of range #3857

Open
MrTalon63 opened this issue May 9, 2024 · 2 comments
Open

panic: runtime error: makeslice: len out of range #3857

MrTalon63 opened this issue May 9, 2024 · 2 comments

Comments

@MrTalon63
Copy link

When I tried to restore my snapshot the UI just says Network Error, while CLI shows panic: runtime error: makeslice: len out of range with this error log

goroutine 1 [running]:
github.com/kopia/kopia/internal/epoch.(*Manager).getCompleteIndexSetForCommittedState(0xc0000a7c20, {0x1a80b60, 0xc000018330}, {0x0, 0xc00579ee40, {0xc000351170, 0x5, 0x6}, 0xc00027f8c0, 0xc00027f860, ...}, ...)
        D:/a/kopia/kopia/internal/epoch/epoch_manager.go:995 +0x357
github.com/kopia/kopia/internal/epoch.(*Manager).GetCompleteIndexSet(0xc0000a7c20, {0x1a80b60, 0xc000018330}, 0x1?)
        D:/a/kopia/kopia/internal/epoch/epoch_manager.go:834 +0x1b5
github.com/kopia/kopia/repo/content/indexblob.(*ManagerV1).ListActiveIndexBlobs(0xc00009ea80, {0x1a80b60?, 0xc000018330?})
        D:/a/kopia/kopia/repo/content/indexblob/index_blob_manager_v1.go:39 +0x48
github.com/kopia/kopia/repo/content.(*SharedManager).loadPackIndexesLocked(0xc000236000, {0x1a80b60, 0xc000018330})
        D:/a/kopia/kopia/repo/content/committed_read_manager.go:228 +0x275
github.com/kopia/kopia/repo/content.NewSharedManager({0x1a80b60, 0xc000018330}, {0x1a8bb88, 0xc000019b60}, {0x1a8ba98, 0xc0001b7a00}, 0xc00030d2d8, 0x0?, 0xc000019bc0, 0xc0004305c0)
        D:/a/kopia/kopia/repo/content/committed_read_manager.go:646 +0x585
github.com/kopia/kopia/repo.openWithConfig({0x1a80b60, 0xc000018330}, {0x1a8bc00, 0xc000018b10}, {{0xc000137dbe, 0x2}, {0xc000137e30, 0x5}, 0x0, 0x0, ...}, ...)
        D:/a/kopia/kopia/repo/open.go:326 +0xaee
github.com/kopia/kopia/repo.openDirect({0x1a80b60, 0xc000018330}, {0xc00010b400, 0x36}, 0xc000162150, {0xc000134620, 0x20}, 0xc00063f8e0)
        D:/a/kopia/kopia/repo/open.go:226 +0x334
github.com/kopia/kopia/repo.Open({0x1a80b60?, 0xc000018210?}, {0xc000106600, 0x36}, {0xc000134620, 0x20}, 0xc00063f8e0)
        D:/a/kopia/kopia/repo/open.go:131 +0x43d
github.com/kopia/kopia/cli.(*App).openRepository(0xc0001d8008, {0x1a80b60, 0xc000018210}, 0x1)
        D:/a/kopia/kopia/cli/config.go:67 +0x238
github.com/kopia/kopia/cli.(*App).repositoryReaderAction.(*App).maybeRepositoryAction.func2({0x1a80b60, 0xc000018210})
        D:/a/kopia/kopia/cli/app.go:538 +0x5b
github.com/kopia/kopia/cli.(*App).repositoryReaderAction.(*App).maybeRepositoryAction.(*App).baseActionWithContext.func3.1.1()
        D:/a/kopia/kopia/cli/app.go:530 +0x7d
github.com/kopia/kopia/cli.(*profileFlags).withProfiling(0x0?, 0x0?)
        D:/a/kopia/kopia/cli/profile.go:45 +0x345
github.com/kopia/kopia/cli.(*App).repositoryReaderAction.(*App).maybeRepositoryAction.(*App).baseActionWithContext.func3.1({0x1a80b60?, 0xc000018210?})
        D:/a/kopia/kopia/cli/app.go:525 +0x65
github.com/kopia/kopia/cli.(*App).runAppWithContext.func1({0x1a80b60, 0xc0000181e0}, 0xc0000181e0?, 0xc0001d8008, 0xc00063fd30)
        D:/a/kopia/kopia/cli/app.go:496 +0x183
github.com/kopia/kopia/cli.(*App).runAppWithContext(0xc0001d8008, 0xc0000ed5f0, 0xc00063fd30)
        D:/a/kopia/kopia/cli/app.go:497 +0x1a9
github.com/kopia/kopia/cli.(*App).repositoryReaderAction.(*App).maybeRepositoryAction.(*App).baseActionWithContext.func3(0x1a6b101?)
        D:/a/kopia/kopia/cli/app.go:524 +0x4b
github.com/alecthomas/kingpin/v2.(*actionMixin).applyActions(...)
        C:/Users/runneradmin/go/pkg/mod/github.com/alecthomas/kingpin/v2@v2.4.0/actions.go:28
github.com/alecthomas/kingpin/v2.(*Application).applyActions(0xc0001b6600?, 0xc0001a7170)
        C:/Users/runneradmin/go/pkg/mod/github.com/alecthomas/kingpin/v2@v2.4.0/app.go:568 +0xd0
github.com/alecthomas/kingpin/v2.(*Application).execute(0xc0001b6600, 0xc0001a7170, {0xc000094f80, 0x2, 0x2})
        C:/Users/runneradmin/go/pkg/mod/github.com/alecthomas/kingpin/v2@v2.4.0/app.go:398 +0x65
github.com/alecthomas/kingpin/v2.(*Application).Parse(0xc0001b6600, {0xc00012c0d0?, 0xc0001b6600?, 0x1a6b0c0?})
        C:/Users/runneradmin/go/pkg/mod/github.com/alecthomas/kingpin/v2@v2.4.0/app.go:230 +0x14a
main.main()
        D:/a/kopia/kopia/main.go:77 +0x1cc
@julio-lopez
Copy link
Collaborator

@MrTalon63 version?

@MrTalon63
Copy link
Author

@MrTalon63 version?

Both 0.15.0 and 0.17.0

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

2 participants