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

btrfscue recon panic #15

Open
lukx33 opened this issue Feb 26, 2023 · 0 comments
Open

btrfscue recon panic #15

lukx33 opened this issue Feb 26, 2023 · 0 comments

Comments

@lukx33
Copy link

lukx33 commented Feb 26, 2023

btrfscue recon --id 50127310-d15c-49ca-8cdd-8798ea0fda2e --metadata sdc.db /dev/sdc

2000393699328 / 2000398925824 [------------------------------------------------------------------>] 100.00% 88018369 p/s
panic: runtime error: slice bounds out of range [1791164519:16384]

goroutine 1 [running]:
blichmann.eu/code/btrfscue/pkg/btrfs.Leaf.Data({0xc000190000?, 0x19?, 0x3415?}, 0xc000190065?)
/root/tmp/btrfscue/pkg/btrfs/leaf.go:128 +0xda
blichmann.eu/code/btrfscue/cmd.doScanFS({0x7fffc1366cd3?, 0x0?}, {0x0?, 0x0?}, {{0x50, 0x12, 0x73, 0x10, 0xd1, 0x5c, ...}, ...})
/root/tmp/btrfscue/cmd/recon.go:133 +0x885
blichmann.eu/code/btrfscue/cmd.init.5.func1(0xc00012d180?, {0xc000176320?, 0x5?, 0x5?})
/root/tmp/btrfscue/cmd/recon.go:61 +0xcf
github.com/spf13/cobra.(*Command).execute(0xc00012d180, {0xc0001762d0, 0x5, 0x5})
/root/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:876 +0x67b
github.com/spf13/cobra.(*Command).ExecuteC(0x86e080)
/root/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
/root/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:918
blichmann.eu/code/btrfscue/cmd.Execute()
/root/tmp/btrfscue/cmd/root.go:78 +0x25
main.main()
/root/tmp/btrfscue/cmd/btrfscue/btrfscue.go:38 +0x3b

Linux 6.1.5-229.current

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