Rclone panic runtime error

Hello

I’m trying rclone mount cache in my NAS with 4GB RAM. At first it looks OK. Plex indexing tv shows very slow.And then I wanted to add movies folder for Plex to index, which failed. I tried rclone lsd, and got error like below.

Is this a bug/limitation of rclone cache or something wrong in my config ?
Before letting Plex to start indexing tv shows, I didnt get any error trying rclone lsd etc in any directories.

Note that each directories such as movies, tv shows are several TB and hundreds of thousand big files.

here is my service:

[Unit]
Description=rcloneMountGD
AssertPathIsDirectory=/Plex

[Service]
Type=simple
ExecStart=/usr/bin/rclone mount
GDCache1: /Plex
–config /root/.config/rclone/rclone.conf
–allow-non-empty
–allow-other
–cache-writes
–cache-db-purge
–cache-info-age=6h
–cache-workers=10
–cache-db-path=/tmp/rclone/cache-backend
–cache-chunk-size=10M
–cache-total-chunk-size=28G
ExecStop=/bin/fusermount -uz /Plex
Restart=on-abort

[Install]
WantedBy=multi-user.target

Error:

root@heaven:~# rclone lsd GDCache1:/movies
panic: runtime error: slice bounds out of range

goroutine 68 [running]:
github.com/ncw/rclone/cache.(*Directory).Remote(0xc4200b0070, 0x45, 0x45)
/home/ncw/go/src/github.com/ncw/rclone/cache/directory.go:98 +0x117
github.com/ncw/rclone/cache.(*Persistent).GetDirEntries.func1(0xc4200740e0, 0xff02f8, 0xc4200740e0)
/home/ncw/go/src/github.com/ncw/rclone/cache/storage_persistent.go:204 +0x2d5
github.com/ncw/rclone/vendor/github.com/coreos/bbolt.(*DB).View(0xc42016c3c0, 0xc42062dae0, 0x0, 0x0)
/home/ncw/go/src/github.com/ncw/rclone/vendor/github.com/coreos/bbolt/db.go:680 +0x9a
github.com/ncw/rclone/cache.(*Persistent).GetDirEntries(0xc4202b8460, 0xc4200b0070, 0x0, 0xc4200b0070, 0xc42062db68, 0x411b1c, 0xc42062db68)
/home/ncw/go/src/github.com/ncw/rclone/cache/storage_persistent.go:182 +0x7d
github.com/ncw/rclone/cache.(*Fs).List(0xc4205b0820, 0x0, 0x0, 0x0, 0xc42001c600, 0x0, 0x0, 0x0)
/home/ncw/go/src/github.com/ncw/rclone/cache/cache.go:461 +0xb3
github.com/ncw/rclone/fs.ListDirSorted(0x158b9e0, 0xc4205b0820, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ncw/go/src/github.com/ncw/rclone/fs/operations.go:629 +0x63
github.com/ncw/rclone/fs.walk.func2(0xc4203c6050, 0xc420306060, 0xfefee0, 0x158b9e0, 0xc4205b0820, 0x0, 0xc4203c60a0, 0xc4203b4180, 0xc4203c6080, 0xc4202a05a0, …)
/home/ncw/go/src/github.com/ncw/rclone/fs/walk.go:120 +0x1e3
created by github.com/ncw/rclone/fs.walk
/home/ncw/go/src/github.com/ncw/rclone/fs/walk.go:112 +0x265

I’m pretty sure that bug has been fixed - try the latest beta