Skip to content

panic: runtime error: invalid memory address or nil pointer dereference #5

@tkimball83

Description

@tkimball83

The associated forum post URL from https://forum.rclone.org

What is the problem you are having with rclone?

Runtime error

What is your rclone version (output from rclone version)

1.73.0

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Linux amd64

Which cloud storage system are you using? (e.g. Google Drive)

Filen

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone sync files filen:

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

No output from -vv as I'm unable to reproduce and simply reporting.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x11b73e1]

goroutine 841298 [running]:
github.com/rclone/rclone/backend/filen.(*chunkWriter).WriteChunk(0xc003546300, {0x3369878, 0xc00356c5f0}, 0xc002123680?, {0x33527a8, 0xc00372f1d0})
        github.com/rclone/rclone/backend/filen/filen.go:419 +0x1e1
github.com/rclone/rclone/fs/operations.(*multiThreadCopyState).copyChunk(0xc00356c640, {0x3369878, 0xc00356c5f0}, 0x1764, {0x33610d0, 0xc003546300})
        github.com/rclone/rclone/fs/operations/multithread.go:113 +0x7c3
github.com/rclone/rclone/fs/operations.multiThreadCopy.func2()
        github.com/rclone/rclone/fs/operations/multithread.go:231 +0x2b
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/[email protected]/errgroup/errgroup.go:93 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 161
        golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x95
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x11b73e1]

goroutine 840705 [running]:
github.com/rclone/rclone/backend/filen.(*chunkWriter).WriteChunk(0xc003546300, {0x3369878, 0xc00356c5f0}, 0xc002123680?, {0x33527a8, 0xc003bfaa50})
        github.com/rclone/rclone/backend/filen/filen.go:419 +0x1e1
github.com/rclone/rclone/fs/operations.(*multiThreadCopyState).copyChunk(0xc00356c640, {0x3369878, 0xc00356c5f0}, 0x175c, {0x33610d0, 0xc003546300})
        github.com/rclone/rclone/fs/operations/multithread.go:113 +0x7c3
github.com/rclone/rclone/fs/operations.multiThreadCopy.func2()
        github.com/rclone/rclone/fs/operations/multithread.go:231 +0x2b
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/[email protected]/errgroup/errgroup.go:93 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 161
        golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x95

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions