Skip to content

opencloud posixfs scan command aborting with nil derefence #3184

Closed

Description

@rhafer

opencloud posixfs scan give this backtrace when it looses the connection to NATS:

# podman exec opencloud opencloud posixfs scan
Starting posixfs scan...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x55cc663a514e]

goroutine 101 [running]:
github.com/rs/zerolog.(*Logger).disabled(...)
        github.com/rs/[email protected]/log.go:513
github.com/rs/zerolog.(*Logger).should(0xc0010b5f7c?, 0xf8?)
        github.com/rs/[email protected]/log.go:518 +0xe
github.com/rs/zerolog.(*Logger).newEvent(0x0, 0x3, 0x0)
        github.com/rs/[email protected]/log.go:489 +0x36
github.com/rs/zerolog.(*Logger).Error(...)
        github.com/rs/[email protected]/log.go:370
github.com/opencloud-eu/reva/v2/pkg/storage/cache.NewNatsKeyValue.func1(0x10000?, {0x55cc6a9ed918, 0x55cc6c897300})
        github.com/opencloud-eu/reva/[email protected]/pkg/storage/cache/kv.go:30 +0x28
github.com/nats-io/nats%2ego.(*Conn).doReconnect.func1()
        github.com/nats-io/[email protected]/nats.go:3167 +0x23
github.com/nats-io/nats%2ego.(*asyncCallbacksHandler).asyncCBDispatcher(0xc00109bb40)
        github.com/nats-io/[email protected]/nats.go:3485 +0x1e
created by github.com/nats-io/nats%2ego.Options.Connect in goroutine 1
        github.com/nats-io/[email protected]/nats.go:1864 +0x385
Error: timed out waiting for file /var/lib/containers/storage/overlay-containers/5a6f46035fd9b61cdc11471b1fc16ca1a9ae3c021274126fe1bef258de5b456f/userdata/d4959940ee082580771da056d0ab9e82190097c62adfd46b72ac82165a79e24d/exit/5a6f46035fd9b61cdc11471b1fc16ca1a9ae3c021274126fe1bef258de5b456f

Activity

  1. self-assigned this
    on Jul 28, 2026
  2. moved this from Qualification to In Progress in OpenCloud Team Boardon Jul 28, 2026
  3. added a commit that references this issue on Jul 30, 2026
    e358cb6
  4. added 2 commits that reference this issue on Aug 18, 2026
    a75f592
    0335995
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions