Skip to content

Instantly share code, notes, and snippets.

@danielb2 danielb2/errror.txt Secret
Created Mar 26, 2020

Embed
What would you like to do?
restic stats --mode blobs-per-file
scanning...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xbb4e50]
goroutine 1 [running]:
main.statsWalkTree.func1(0x38a9a74ee6ac80c9, 0xa333b2c6aa588603, 0x1c0b650b78fdb221, 0xb23b01953931bdcc, 0xc00e261360, 0x4e, 0xc0016652c0, 0x0, 0x0, 0xc00e2f4128, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/cmd/restic/cmd_stats.go:223 +0x550
github.com/restic/restic/internal/walker.walk(0xf274a0, 0xc0001fd440, 0xf12980, 0xc00015e4d0, 0xc001666750, 0x27, 0x38a9a74ee6ac80c9, 0xa333b2c6aa588603, 0x1c0b650b78fdb221, 0xb23b01953931bdcc, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/walker/walker.go:82 +0x7db
github.com/restic/restic/internal/walker.walk(0xf274a0, 0xc0001fd440, 0xf12980, 0xc00015e4d0, 0xc0015d1ec0, 0x24, 0x813cd6bbe41e8eac, 0x3a685c549b7e4c5, 0x8490f8e3cf297af8, 0x2b0cd9a62d983802, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/walker/walker.go:127 +0x53a
github.com/restic/restic/internal/walker.walk(0xf274a0, 0xc0001fd440, 0xf12980, 0xc00015e4d0, 0xc0015a5fa0, 0x1c, 0x368547b37937b878, 0x307103e832ecc4e, 0xcea7dba1d1524a1c, 0x939c2a45a892e21c, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/walker/walker.go:127 +0x53a
github.com/restic/restic/internal/walker.walk(0xf274a0, 0xc0001fd440, 0xf12980, 0xc00015e4d0, 0xc00db57090, 0xa, 0x77e122d002b9d0d5, 0xf53c345954750f73, 0xae4b3194f8902d28, 0x1c8278235892c7ab, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/walker/walker.go:127 +0x53a
github.com/restic/restic/internal/walker.walk(0xf274a0, 0xc0001fd440, 0xf12980, 0xc00015e4d0, 0xc00db56f30, 0x6, 0x24c9d87fb3bcdc0e, 0x251f8a50b1b87934, 0xfad49bd12ddab64, 0xadbf70007c575334, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/walker/walker.go:127 +0x53a
github.com/restic/restic/internal/walker.walk(0xf274a0, 0xc0001fd440, 0xf12980, 0xc00015e4d0, 0xdcdd65, 0x1, 0xec72c96b379331d2, 0xf838302396ed1206, 0x9cdec83a15f50d67, 0xe23d5646325bc7e4, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/walker/walker.go:127 +0x53a
github.com/restic/restic/internal/walker.Walk(0xf274a0, 0xc0001fd440, 0xf12980, 0xc00015e4d0, 0xec72c96b379331d2, 0xf838302396ed1206, 0x9cdec83a15f50d67, 0xe23d5646325bc7e4, 0xc00da37c20, 0xc00db55ee0, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/walker/walker.go:56 +0x1fa
main.statsWalkSnapshot(0xf274a0, 0xc0001fd440, 0xc004efe4d0, 0xf3a7a0, 0xc00015e4d0, 0xc00db3cd40, 0x4c9e9b62c5b4e282, 0xcfef7889c727fb63)
/usr/ports/sysutils/restic/work/restic-0.9.6/cmd/restic/cmd_stats.go:180 +0x16c
main.runStats.func1(0xcfb4c6661077d607, 0x1641e69e0f7705ef, 0x4c9e9b62c5b4e282, 0xcfef7889c727fb63, 0x2b5, 0xcfef7889c727fb63, 0x0)
/usr/ports/sysutils/restic/work/restic-0.9.6/cmd/restic/cmd_stats.go:122 +0x1ce
github.com/restic/restic/internal/repository.(*Repository).List.func1(0x2b5, 0xc0004bab4a, 0x40, 0x40, 0xc0000e2598)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/repository/repository.go:644 +0xa0
github.com/restic/restic/internal/backend.(*RetryBackend).List.func1.1(0x2b5, 0xc0004bab4a, 0x40, 0x40, 0x0)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/backend/backend_retry.go:133 +0xd5
github.com/restic/restic/internal/backend/s3.(*Backend).List(0xc00001a000, 0xf274a0, 0xc00db3cdc0, 0xdd2e9c, 0x8, 0xc00da37770, 0x0, 0x0)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/backend/s3/s3.go:433 +0x3d9
github.com/restic/restic/internal/backend.(*RetryBackend).List.func1(0xc00db3a6c0, 0xf1ae20)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/backend/backend_retry.go:127 +0x119
github.com/cenkalti/backoff.RetryNotify(0xc00e2f56c8, 0xf1ae20, 0xc00db3a6c0, 0xc00e2f55e8, 0x0, 0x0)
/usr/ports/sysutils/restic/work/restic-0.9.6/vendor/github.com/cenkalti/backoff/retry.go:37 +0xb8
github.com/restic/restic/internal/backend.(*RetryBackend).retry(0xc00025c9a0, 0xf274a0, 0xc00db3cd80, 0xc006739110, 0xe, 0xc00db1d6c8, 0xe, 0x30)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/backend/backend_retry.go:36 +0x178
github.com/restic/restic/internal/backend.(*RetryBackend).List(0xc00025c9a0, 0xf274a0, 0xc0001fd440, 0xdd2e9c, 0x8, 0xc000440830, 0x0, 0x0)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/backend/backend_retry.go:126 +0x24f
github.com/restic/restic/internal/repository.(*Repository).List(0xc00015e4d0, 0xf274a0, 0xc0001fd440, 0xdd2e9c, 0x8, 0xc00da37710, 0x0, 0x0)
/usr/ports/sysutils/restic/work/restic-0.9.6/internal/repository/repository.go:638 +0x95
main.runStats(0xc00003c152, 0x26, 0xc00003c115, 0x24, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/ports/sysutils/restic/work/restic-0.9.6/cmd/restic/cmd_stats.go:117 +0x323
main.glob..func24(0x14c0ce0, 0xc0001f7500, 0x0, 0x2, 0x0, 0x0)
/usr/ports/sysutils/restic/work/restic-0.9.6/cmd/restic/cmd_stats.go:44 +0x91
github.com/spf13/cobra.(*Command).execute(0x14c0ce0, 0xc0001f74a0, 0x2, 0x2, 0x14c0ce0, 0xc0001f74a0)
/usr/ports/sysutils/restic/work/restic-0.9.6/vendor/github.com/spf13/cobra/command.go:762 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0x14c11a0, 0xc000329eb0, 0x42f361, 0xe15b90)
/usr/ports/sysutils/restic/work/restic-0.9.6/vendor/github.com/spf13/cobra/command.go:852 +0x2ea
github.com/spf13/cobra.(*Command).Execute(...)
/usr/ports/sysutils/restic/work/restic-0.9.6/vendor/github.com/spf13/cobra/command.go:800
main.main()
/usr/ports/sysutils/restic/work/restic-0.9.6/cmd/restic/main.go:86 +0x3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.