Segmentation violation copying from Proton Drive

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

New installation of 1.69.1 on Debian. Rclone crashes every time

Run the command 'rclone version' and share the full output of the command.

$ rclone version
rclone v1.69.1

  • os/version: debian trixie/sid (64 bit)
  • os/kernel: 6.12.17-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.0
  • go/linking: static
  • go/tags: none

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

Proton Drive

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

rclone copy Proton:/Vault/ /home/Vaults/Vault

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

~$ rclone config redacted
[Proton]
type = protondrive
username = redacted@proton.me
password = XXX
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag


2025/03/08 17:33:02 INFO  : NewDatabase.kdbx: Updated modification time in destination
2025/03/08 17:33:02 INFO  : My Will-0001.pdf: Updated modification time in destination
2025/03/08 17:33:02 INFO  : RGosnell.pkcs12: Updated modification time in destination
2025/03/08 17:33:02 INFO  : PHI Interview Notes.docx: Updated modification time in destination
2025/03/08 17:33:02 INFO  : My Will-0003.pdf: Updated modification time in destination
2025/03/08 17:33:02 INFO  : SSD.kdb: Updated modification time in destination
2025/03/08 17:33:02 INFO  : Naturalization Certificate-0001.pdf: Updated modification time in destination
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x190e2c6]

goroutine 132 [running]:
github.com/rclone/rclone/backend/protondrive.(*Object).Open(0xc000b017c0, {0x2c21e30, 0xc0001d59f0}, {0xc000767840, 0x1, 0xc0000b3c60?})
	github.com/rclone/rclone/backend/protondrive/protondrive.go:877 +0x46
github.com/rclone/rclone/fs/operations.(*ReOpen).open(0xc000ebe620)
	github.com/rclone/rclone/fs/operations/reopen.go:147 +0x109
github.com/rclone/rclone/fs/operations.NewReOpen({0x2c21e30, 0xc0001d59f0}, {0x2c39ef0, 0xc000b017c0}, 0xa, {0xc0007677f0, 0x1, 0x1})
	github.com/rclone/rclone/fs/operations/reopen.go:102 +0x4f5
github.com/rclone/rclone/fs/operations.Open({0x2c21e30, 0xc0001d59f0}, {0x2c39ef0, 0xc000b017c0}, {0xc0007677f0, 0x1, 0x1})
	github.com/rclone/rclone/fs/operations/reopen.go:124 +0x6b
github.com/rclone/rclone/fs/operations.(*copy).manualCopy(0xc0006378c0, {0x2c21e30, 0xc0001d59f0})
	github.com/rclone/rclone/fs/operations/copy.go:261 +0x4dc
github.com/rclone/rclone/fs/operations.(*copy).copy(0xc0006378c0, {0x2c21e30, 0xc0001d59f0})
	github.com/rclone/rclone/fs/operations/copy.go:310 +0x170
github.com/rclone/rclone/fs/operations.Copy({0x2c21e30, 0xc0001d59f0}, {0x2c39390, 0xc0009af2c0}, {0x0, 0x0}, {0xc0008f9cc0, 0xd}, {0x2c39ef0, 0xc000b017c0})
	github.com/rclone/rclone/fs/operations/copy.go:412 +0x473
github.com/rclone/rclone/fs/sync.(*syncCopyMove).pairCopyOrMove(0xc0009cac88, {0x2c21e30, 0xc0001d59f0}, 0xc0001d5770, {0x2c39390, 0xc0009af2c0}, 0x32, 0x0?)
	github.com/rclone/rclone/fs/sync/sync.go:501 +0x1fe
created by github.com/rclone/rclone/fs/sync.(*syncCopyMove).startTransfers in goroutine 1
	github.com/rclone/rclone/fs/sync/sync.go:531 +0x6b

I have a long log file, with essentially the above repeated every time the copy is tried. Same thing for sync. It also happens on another computer, also running Debian Sid, and essentially the same information in the log file. I can use rclone to sync between local filesystems, but not with Proton Drive.