Your message dated Fri, 08 Sep 2023 22:21:18 +0000
with message-id <e1qejqo-00dwd0...@fasolo.debian.org>
and subject line Bug#1051392: fixed in victoriametrics 1.79.14+ds1-1
has caused the Debian Bug report #1051392,
regarding Crash on unaligned reads on 32-bit arm architectures
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1051392: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051392
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: victoria-metrics
Version: 1.79.5+ds1-2+b5
Severity: grave
victoria-metrics v1.79.5 randomly crashes on aligned reads file reads,
rendering it more or less unusable.
Sep 7 08:46:31 localhost victoria-metrics[17179]: unexpected fault address 0x0
Sep 7 08:46:31 localhost kernel: [233869.646841] Alignment trap: not handling
instruction ed9c0b00 at [<005af9bc>]
Sep 7 08:46:31 localhost kernel: [233869.646882] 8<--- cut here ---
Sep 7 08:46:31 localhost kernel: [233869.646887] Unhandled fault: alignment
exception (0x001) at 0x02153612
Sep 7 08:46:31 localhost kernel: [233869.646898] [02153612] *pgd=3ea5d831
Sep 7 08:46:31 localhost victoria-metrics[17179]: fatal error: fault
Sep 7 08:46:31 localhost victoria-metrics[17179]: [signal SIGBUS: bus error
code=0x1 addr=0x0 pc=0x5af9c0]
Sep 7 08:46:31 localhost victoria-metrics[17179]: goroutine 28 [running]:
Sep 7 08:46:31 localhost victoria-metrics[17179]: runtime.throw({0x6abcef,
0x5})
Sep 7 08:46:31 localhost victoria-metrics[17179]: #011runtime/panic.go:1047
+0x4c fp=0x24993b4 sp=0x24993a0 pc=0x50424
Sep 7 08:46:31 localhost victoria-metrics[17179]: runtime.sigpanic()
Sep 7 08:46:31 localhost victoria-metrics[17179]:
#011runtime/signal_unix.go:832 +0xac fp=0x24993cc sp=0x24993b4 pc=0x69fc8
Sep 7 08:46:31 localhost victoria-metrics[17179]: math.IsNaN(...)
Sep 7 08:46:31 localhost victoria-metrics[17179]: #011math/bits.go:39
Sep 7 08:46:31 localhost victoria-metrics[17179]:
github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/promql.removeEmptySeries(...)
Sep 7 08:46:31 localhost victoria-metrics[17179]:
#011github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/promql/exec.go:157
Sep 7 08:46:31 localhost victoria-metrics[17179]:
github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/promql.timeseriesToResult({0x21fe3b0,
0x1, 0x2}, 0x1)
Sep 7 08:46:31 localhost victoria-metrics[17179]:
#011github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/promql/exec.go:99
+0x610 fp=0x24994ac sp=0x24993d0 pc=0x5af9c0
Sep 7 08:46:31 localhost victoria-metrics[17179]:
github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/promql.Exec(0x0,
0x28c6540, {0x201f325, 0x1a}, 0x0)
Sep 7 08:46:31 localhost victoria-metrics[17179]:
#011github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/promql/exec.go:58
+0x2ec fp=0x2499584 sp=0x24994ac pc=0x5aebbc
Sep 7 08:46:31 localhost victoria-metrics[17179]:
github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/prometheus.queryRangeHandler(0x0,
{0xc1368159f7200fc8, 0x299f41302, 0xb5cc08}, {0x81ffbc, 0x292a320},
{0x201f325, 0x1a}, 0x18a6b9c9ae0, 0x18a6bb93718, ...)
Sep 7 08:46:31 localhost victoria-metrics[17179]:
#011github.com/VictoriaMetrics/VictoriaMetrics/app/vmselect/prometheus/prometheus.go:840
+0x5f4 fp=0x2499748 sp=0x2499584 pc=0x5ea4cc
[...]
Seehttps://github.com/VictoriaMetrics/VictoriaMetrics/pull/3927 for more
details on the issue.
The bug has already been patched upstream and an LTS release (v1.79.11) has
been made in March, along with other important
fixes:https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.79.11
.
This is on an armhf box (hardkernel odroid-c1) running Debian 12.1, kernel
6.1.0-11-armmp, fully up to date.
Steps to reproduce:
- run victoria-metrics on a 32-bit arm system,
- ingest a small amount of data (my data directory is less than 10MB),
- query the data with e.g. grafana, by zooming in and moving the observed time
window.
Querying with some automated script should also work as all that needs to be
done is to cause an unaligned read on disk, which is a naturally occurring
condition due to how datapoints are stored and compressed.
Would it be possible to upgrade to that LTS release?
Thanks in advance,
-Simon
--
Simon Vetter
--- End Message ---
--- Begin Message ---
Source: victoriametrics
Source-Version: 1.79.14+ds1-1
Done: Guillem Jover <gjo...@sipwise.com>
We believe that the bug you reported is fixed in the latest version of
victoriametrics, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1051...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <gjo...@sipwise.com> (supplier of updated victoriametrics package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 08 Sep 2023 23:59:45 +0200
Source: victoriametrics
Architecture: source
Version: 1.79.14+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg...@tracker.debian.org>
Changed-By: Guillem Jover <gjo...@sipwise.com>
Closes: 1051392
Changes:
victoriametrics (1.79.14+ds1-1) unstable; urgency=medium
.
* New upstream LTS release.
- Fix unaligned read access causing SIGBUS on some architectures.
(Closes: #1051392)
* Bump versions for victoria-metrics module build-dependencies.
Checksums-Sha1:
229d065c72758e86df55c64250b92b329f8b26c2 3329 victoriametrics_1.79.14+ds1-1.dsc
2cec247f9dbeb489dfb6da0e825af87202143fc2 9055916
victoriametrics_1.79.14+ds1.orig.tar.xz
c3569d93127f9484e2fa7f28bfd3e0fec53fb08d 10224
victoriametrics_1.79.14+ds1-1.debian.tar.xz
e8c7019497d37671ad175a116f3f9258596e2777 15813
victoriametrics_1.79.14+ds1-1_amd64.buildinfo
Checksums-Sha256:
fb577f88320352295881ac7011e1af01035b34115edaa929c82bbbb7aec2db0a 3329
victoriametrics_1.79.14+ds1-1.dsc
24af8dbb0b0d27d59c19fe79cb1f69affdf4baa2db6c6d11dec0b7fcb0746b8e 9055916
victoriametrics_1.79.14+ds1.orig.tar.xz
961ed20ee483ec4fbae83bf407f6ec6bb11e576d871c68318832ab0220fe8340 10224
victoriametrics_1.79.14+ds1-1.debian.tar.xz
86fa104c487f00e2b44dfb6806018de645fab335d43d3003af04ace72f2571c8 15813
victoriametrics_1.79.14+ds1-1_amd64.buildinfo
Files:
1f926beb99e0e9e7fceb67be6171c813 3329 net optional
victoriametrics_1.79.14+ds1-1.dsc
a19226b0afe8251f28006f12f91b50a7 9055916 net optional
victoriametrics_1.79.14+ds1.orig.tar.xz
825e02e2399761a0317ee32884cea5d0 10224 net optional
victoriametrics_1.79.14+ds1-1.debian.tar.xz
8a32ce33d526b7595516623dce5ef347 15813 net optional
victoriametrics_1.79.14+ds1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAmT7m1gACgkQuXK/PqSu
V6Ml4g//e19lrzE/+vzT+1QpOw1OrRn4jfnfO/mEquWjrrjjlAPaIJGj4bzihrT1
5ZYw68vXbPYd/7/1PYTR1k5Vlam/tvrWlt/o8JqJsM88O6ZGZn7Jlgw62N3OQIdv
yJd4B9FLNBN22kA5f822kNUampQtlIXPkOc5dVgCIr85jMMGYTVjsxTF5hPqzRQ/
LDLyl1c1vmAbnpnCgsEPnUx2veM4li7AzW7i11kynF71wLQep63EVASiT5LVT4l4
Q0no23dJ5YpOYI6dT4QlJ27QCJGarvqQ1PO4kg3Qfv0o3avGyyHcDf8zXbcJODvS
i4MQewPhkATr4LLmi2UendR2Up4d5d3Wm3bwA7TasH1WHy5a5tNdggsTD2HTVMGo
eqsSuGkUyA+1DuTJbGOp+H4Upp1K4hnKTrF0YyrAYT7CCu8hASDmFDTCGioKhou7
uR+K0v+tD7COBHmgykX6gEAtsXvxs7j9nhRBylouUUQWkQSZAXLEK4Ol0IEkE7b6
CfXQxgIuGASSvMKwBX5cFxsZfVnWfBHYdXuhfeyYFPM0Bd4mg1QgmdvO4nSCZyz1
px9PshiSPi/3WVyi9tl6Po3NtoBHCQvNE/YHn4nUdQ0TPs+iqTmy8eIwtbuPmNiP
DWzkYNwNU6wOLhRmP3d9UiuCj/AvkYJud5r5kyMPwN625s6sSN8=
=InrN
-----END PGP SIGNATURE-----
--- End Message ---