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?
I'm getting a panic: runtime error: invalid memory address or nil pointer dereference
error mid-way through a transfer. This seems to happen from dropbox remote to s3 remote. Direct upload from local drive doesn't seem to exhibit the same problems.
Running on a dedicated server with 64 GB memory. 8 GB used / 27 GB free when I start / whenever I run free
while rclone is running.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 6.2.0-35-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Dropbox -> s3/Minio
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy dropbox-crypt:Media s3:Media --checksum --low-level-retries 1 --fast-list --tpslimit 12 --max-transfer 200G --cutoff-mode SOFT --log-level DEBUG --log-file /home/user/log.log
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[minio]
type = s3
provider = Minio
access_key_id = XXX
secret_access_key = XXX
endpoint = https://host.tld.com:port
acl = bucket-owner-full-control
upload_cutoff = 100Mi
chunk_size = 50Mi
[s3]
type = alias
remote = minio:data/personal-files
[dropbox]
type = dropbox
client_id = XXX
client_secret = XXX
token = XXX
[dropbox-crypt]
type = crypt
remote = dropbox:encrypt
password = XXX
password2 = XXX
filename_encoding = base32768
A log from the command that you were trying to run with the -vv
flag
Log file is too large to paste on pastebin. No errors until the end, just has thousands of lines like:
2023/12/12 09:06:52 DEBUG : Movies-720p/Avengers Infinity War (2018)/Avengers Infinity War (2018) [imdb-tt4154756][Bluray-1080p][8bit][x264][DTS 5.1]-DON.mkv: multipart upload wrote chunk 154 with 52428800 bytes and etag "f5d8301015fba20292fc7e8ec192b12e"
2023/12/12 09:06:52 DEBUG : Movies-720p/Avengers Infinity War (2018)/Avengers Infinity War (2018) [imdb-tt4154756][Bluray-1080p][8bit][x264][DTS 5.1]-DON.mkv: multi-thread copy: chunk 154/356 (8021606400-8074035200) size 50Mi finished
2023/12/12 09:06:52 DEBUG : Movies-720p/Avengers Infinity War (2018)/Avengers Infinity War (2018) [imdb-tt4154756][Bluray-1080p][8bit][x264][DTS 5.1]-DON.mkv: multi-thread copy: chunk 158/356 (8231321600-8283750400) size 50Mi starting
2023/12/12 09:06:52 DEBUG : Masterclass/Armin van Buuren Masterclass on Dance Music/29 Performance Tips.ts: multipart upload wrote chunk 5 with 42887052 bytes and etag "2a8c4ff833dd567b9597ad6ab7e186e6"
2023/12/12 09:06:53 DEBUG : Movies-720p/Avengers Infinity War (2018)/Avengers Infinity War (2018) [imdb-tt4154756][Bluray-1080p][8bit][x264][DTS 5.1]-DON.mkv: multipart upload wrote chunk 155 with 52428800 bytes and etag "076162d1a599bb8bd9905e17c780a7d9"
The last few lines are:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x161093c]
goroutine 79 [running]:
github.com/rclone/rclone/backend/s3.(*Fs).OpenChunkWriter(0xc000537340, {0x28c6510?, 0xc00094e780}, {0xc000866a00, 0x4c}, {0x7f0d1c7baef8?, 0xc000f29cc8}, {0xc02f82fc20, 0x1, 0x1})
github.com/rclone/rclone/backend/s3/s3.go:5704 +0x63c
github.com/rclone/rclone/fs/operations.multiThreadCopy({0x28c6510?, 0xc00094e780}, {0x28da638, 0xc000537340}, {0xc000866a00, 0x4c}, {0x28d8958?, 0xc000f29cc8}, 0x4, 0xc00085fb80, ...)
github.com/rclone/rclone/fs/operations/multithread.go:161 +0x463
github.com/rclone/rclone/fs/operations.(*copy).multiThreadCopy(0xc001d51320, {0x28c6510?, 0xc00094e780?}, {0xc02f82fc20?, 0x28d8958?, 0xc000f29cc8?})
github.com/rclone/rclone/fs/operations/copy.go:160 +0x85
github.com/rclone/rclone/fs/operations.(*copy).manualCopy(0xc001d51320, {0x28c6510, 0xc00094e780})
github.com/rclone/rclone/fs/operations/copy.go:249 +0x425
github.com/rclone/rclone/fs/operations.(*copy).copy(0xc001d51320, {0x28c6510, 0xc00094e780})
github.com/rclone/rclone/fs/operations/copy.go:302 +0x16c
github.com/rclone/rclone/fs/operations.Copy({0x28c6510, 0xc00094e780}, {0x28da638, 0xc000537340}, {0x0?, 0x0}, {0xc000866a00, 0x4c}, {0x28d8958, 0xc000f29cc8})
github.com/rclone/rclone/fs/operations/copy.go:404 +0x425
github.com/rclone/rclone/fs/sync.(*syncCopyMove).pairCopyOrMove(0xc0009d0900, {0x28c6510, 0xc00094e780}, 0x0?, {0x28da638, 0xc000537340}, 0x0?, 0x0?)
github.com/rclone/rclone/fs/sync/sync.go:446 +0x1f6
created by github.com/rclone/rclone/fs/sync.(*syncCopyMove).startTransfers in goroutine 1
github.com/rclone/rclone/fs/sync/sync.go:473 +0x45
I can't see a common thread when it happens, some times it takes 12 minutes, sometimes 17, sometimes 48GB, sometimes 70 GB.