Runtime error with Hasher remote

What is the problem you are having with rclone?

rclone sometimes crashes when hasher remote is used.

What is your rclone version (output from rclone version)

rclone v1.57.0 (also tried with v1.58.0-beta.5918.408d9f3e7)
- os/version: Microsoft Windows 10 Home 2009 (64 bit)
- os/kernel: 10.0.19044.1415 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.17.3
- go/linking: dynamic
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

SFTP

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync /tmp hasher:tmp -P --create-empty-src-dirs --track-renames --track-renames-strategy modtime --refresh-times

Command output

Transferred:      102.117 KiB / 102.117 KiB, 100%, 280 B/s, ETA 0s
Checks:             41942 / 41942, 100%
Transferred:            1 / 1, 100%
Elapsed time:     20m55.8s
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0xddaac0]

goroutine 83 [running]:
github.com/rclone/rclone/backend/hasher.(*Object).Fs(0x4144b9)
        github.com/rclone/rclone/backend/hasher/hasher.go:435
github.com/rclone/rclone/fs/operations.SameObject({0x1fcaf88, 0xc000368528}, {0x1fcaf88, 0x0})
        github.com/rclone/rclone/fs/operations/operations.go:545 +0x72
github.com/rclone/rclone/fs/operations.Move({0x1f95690, 0xc00009e400}, {0x1fcaf18, 0xc0003f4ab0}, {0x1fcaf88, 0x0}, {0xc00082cb80, 0x37}, {0x1fcaf88, 0xc000368528})
        github.com/rclone/rclone/fs/operations/operations.go:594 +0x2e9
github.com/rclone/rclone/fs/sync.(*syncCopyMove).tryRename(0xc000566000, {0x1fcb458, 0xc0009b3ce0})
        github.com/rclone/rclone/fs/sync/sync.go:797 +0x205
github.com/rclone/rclone/fs/sync.(*syncCopyMove).pairRenamer(0xc000566000, 0x0, 0x0, 0x0, 0x0)
        github.com/rclone/rclone/fs/sync/sync.go:379 +0xd5
created by github.com/rclone/rclone/fs/sync.(*syncCopyMove).startRenamers
        github.com/rclone/rclone/fs/sync/sync.go:448 +0x5d

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.