zstd decompression crash on 1.153.0

Author: NyCodeGHGCreated Sep 30, 2026Updated Oct 1, 2026
Labelsbuglib

Describe the bug

I upgraded from 1.152.0 to 1.153.0, 3 hours later my instance started crashing and didn't come up again. The shutdown of VM was clean, there was no reboot or power loss.

To Reproduce

I'm very sorry, but I'm not entirely sure how to reproduce this. I noticed reverting this recent commit makes it work again, so the problem is probably in there: https://github.com/victoriaMetrics/victoriaMetrics/commit/150004c2ab

Version

$ /nix/store/4djlgff0g6ksdg4912lv5ayb8r962zgw-VictoriaMetrics-1.153.0/bin/victoria-metrics --version
1.153.0

Logs

Logs-2026-09-30 22_47_05.txt

Screenshots

No response

Used command-line flags

/nix/store/4djlgff0g6ksdg4912lv5ayb8r962zgw-VictoriaMetrics-1.153.0/bin/victoria-metrics '-storageDataPath=/var/lib/victoriametrics' '-httpListenAddr=:8428' '-retentionPeriod=30d' -enableTCP6

Additional information

Note: The nixpkgs build of victoriametrics uses CGO_ENABLED=0, I had a small look at the zstd library and seems to differ in behaviour between cgo and pure go.

Source: VictoriaMetrics/VictoriaMetrics