-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
Stack trace:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1035327e8]
goroutine 42448 [running]:
github.com/buildbarn/bb-storage/pkg/eviction.(*lruElement[...]).removeFromQueue(...)
external/com_github_buildbarn_bb_storage+/pkg/eviction/lru_set.go:63
github.com/buildbarn/bb-storage/pkg/eviction.(*lruSet[...]).Touch(...)
external/com_github_buildbarn_bb_storage+/pkg/eviction/lru_set.go:42
github.com/buildbarn/bb-storage/pkg/eviction.(*metricsSet[...]).Touch(0x2ff05e0, {0x14000fd64b0?, 0x4a})
external/com_github_buildbarn_bb_storage+/pkg/eviction/metrics_set.go:55 +0x4c
github.com/buildbarn/bb-remote-execution/pkg/cas.(*hardlinkingFileFetcher).tryLinkFromCache(0x140006fcd80, {0x14000fd64b0, 0x4a}, {0x104ae8e38, 0x1400090c180}, {{0x1400011e5f0?, 0x1400012bd08?}})
pkg/cas/hardlinking_file_fetcher.go:172 +0x194
github.com/buildbarn/bb-remote-execution/pkg/cas.(*hardlinkingFileFetcher).GetFile(0x140006fcd80, {0x104ac7630, 0x1400078f040}, {{0x1400099abe0?, 0x14000122bd0?}}, {0x104ae8e38, 0x1400090c180}, {{0x1400011e5f0?, 0x1400012bf38?}}, 0x1)
pkg/cas/hardlinking_file_fetcher.go:80 +0xdc
github.com/buildbarn/bb-remote-execution/pkg/builder.(*naiveBuildDirectory).mergeDirectoryContents.func1()
pkg/builder/naive_build_directory.go:110 +0x68
golang.org/x/sync/errgroup.(*Group).Go.func1()
external/gazelle++go_deps+org_golang_x_sync/errgroup/errgroup.go:93 +0x4c
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 42
external/gazelle++go_deps+org_golang_x_sync/errgroup/errgroup.go:78 +0x90
I've built binaries with this command:
bazel build //cmd/bb_runner:bb_runner //cmd/bb_worker:bb_worker --compilation_mode=opt --strip=always
The commit that I used: 76477edc9487480e65c884e131a13435314448d4 (latest main).
This happens occasionally - sometimes the worker survives for a long time, sometimes it dies immediately.
Metadata
Metadata
Assignees
Labels
No labels