Skip to content

btrfscue recon panic #15

Description

@lukx33

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions