Rclone v1.34-60-g2656a0eβ - PANIC IN HANDLER

Version rclone v1.34-60-g2656a0eβ

MOUNTED WITH

rclone mount --read-only --allow-non-empty --allow-other --dir-cache-time 5m --max-read-ahead 14G --acd-templink-threshold 0 --no-modtime --bwlimit 0 --checkers 16 --contimeout 15s --low-level-retries 1 --no-check-certificate --quiet --retries 3 --stats 0 --timeout 30s --transfers 16 acd:/ /storage/.acd/

ERROR IN TERMINAL

2016/12/10 20:05:45 fuse: panic in handler for Open [ID=0x5e97 Node=0x13db Uid=1000 Gid=1000 Pid=7321] dir=false fl=OpenReadOnly: runtime error: invalid memory address or nil pointer dereference
goroutine 28911 [running]:
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).serve.func2(0xfccb00, 0xc420fadf00, 0xc420763eb8, 0xc420763e0f)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:857 +0x1d9
panic(0xb24fc0, 0xc42000e090)
/home/travis/.gimme/versions/go1.7.4.linux.amd64/src/runtime/panic.go:458 +0x243
github.com/ncw/rclone/fs.(*wrappedRetryError).Error(0xc4214bb400, 0xb645a0, 0xc4214bb400)
:64 +0x3b
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).serve.func1(0xb645a0, 0xc4214bb400)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:830 +0x22b
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).serve(0xc42036ce40, 0xfccb00, 0xc420fadf00)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:898 +0x519
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).Serve.func1(0xc42036ce40, 0xfccb00, 0xc420fadf00)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:425 +0x6e
created by github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).Serve
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:426 +0x3e4 2016/12/10 20:05:59 fuse: panic in handler for Open [ID=0x6081 Node=0x13e6 Uid=1000 Gid=1000 Pid=7023] dir=false fl=OpenReadOnly: runtime error: invalid memory address or nil pointer dereference
goroutine 29617 [running]:
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).serve.func2(0xfccb00, 0xc423a01640, 0xc42042deb8, 0xc42042de0f)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:857 +0x1d9
panic(0xb24fc0, 0xc42000e090)
/home/travis/.gimme/versions/go1.7.4.linux.amd64/src/runtime/panic.go:458 +0x243
github.com/ncw/rclone/fs.(*wrappedRetryError).Error(0xc42122b030, 0xb645a0, 0xc42122b030)
:64 +0x3b
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).serve.func1(0xb645a0, 0xc42122b030)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:830 +0x22b
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).serve(0xc42036ce40, 0xfccb00, 0xc423a01640)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:898 +0x519
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).Serve.func1(0xc42036ce40, 0xfccb00, 0xc423a01640)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:425 +0x6e
created by github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).Serve
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:426 +0x3e4

Hmm, looked like something wrapped a nil retry error - can you make an issue on github with that please?

Thanks

@ncw I tried to reproduce it and i think i know what was the bug, it happen when rclone mount was done twice ( without unmounting first )

On my production machine i have mounted it for 2, 3 days now and it never happen and at home i tried everything and it happens when you mount it twice then start changing ( renaming or copying ) files directly on mount.

Not needed in github issues.

p.s. Maybe you could add some check if people try to mount same location twice.

I’ve made a fix for that - here is a beta: http://beta.rclone.org/v1.34-63-g8083804/ (uploaded in 15-30 mins).

Great, will wait for one more version :stuck_out_tongue: iam not fond of unmounting drive atm due Plex difficulties.

p.s. Is there a way to set folders mod date same way as files are eg pick the newest file mod date and set it on folder where file is.

lol cant help my self, running latest beta again :stuck_out_tongue:

I’ve fixed that in https://github.com/ncw/rclone/issues/950 which you’ll find in (you’ve guessed it) the latest beta!

You can close this one, never encounter panic in handler after update.

p.s. Hopefully you can soon fix folder rename on rclone mount