#1149845 golang-defaults breaks golang-github-olekukonko-ll autopkgtest on 32 bits: unaligned 64-bit atomic operation

#1149845#5
Date:
2026-10-03 17:10:06 UTC
From:
To:
Dear maintainer(s),

With a recent upload of golang-defaults the autopkgtest of
golang-github-olekukonko-ll fails in testing on armhf and i386 when that
autopkgtest is run with the binary packages of golang-defaults from
unstable. It passes when run with only packages from testing. In tabular
form:

                        pass            fail
golang-defaults        from testing    2:1.27~1
golang-github-olekukonko-ll from testing    0.1.8-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of golang-defaults
to testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=golang-defaults

https://ci.debian.net/data/autopkgtest/testing/i386/g/golang-github-olekukonko-ll/76232367/log.gz

174s === RUN   TestHandlers
174s === RUN   TestHandlers/TextHandler
174s --- FAIL: TestHandlers (0.00s)
174s     --- FAIL: TestHandlers/TextHandler (0.00s)
174s panic: unaligned 64-bit atomic operation [recovered, repanicked]
174s 174s goroutine 135 [running]:
174s testing.tRunner.func1.2({0x83f8f7c, 0x8255e28})
174s 	/usr/lib/go-1.27/src/testing/testing.go:2123 +0x29b
174s testing.tRunner.func1()
174s 	/usr/lib/go-1.27/src/testing/testing.go:2126 +0x3dd
174s panic({0x83f8f7c, 0x8255e28})
174s 	/usr/lib/go-1.27/src/runtime/panic.go:859 +0x103
174s internal/runtime/atomic.panicUnaligned()
174s 	/usr/lib/go-1.27/src/internal/runtime/atomic/unaligned.go:8 +0x2d
174s internal/runtime/atomic.Load64(0x8434834)
174s 	/usr/lib/go-1.27/src/internal/runtime/atomic/atomic_386.s:235 +0x10
174s github.com/olekukonko/ll/lx.(*Namespace).Enabled(0x84347fc,
{0x8242299, 0x4}, {0x8255388, 0x1})
174s
/tmp/autopkgtest.Ja8u3B/autopkgtest_tmp/_build/src/github.com/olekukonko/ll/lx/namespace.go:104
+0x261
174s github.com/olekukonko/ll.(*Logger).shouldLog(0xac00680, 0x1)
174s
/tmp/autopkgtest.Ja8u3B/autopkgtest_tmp/_build/src/github.com/olekukonko/ll/ll.go:1457
+0x8f
174s github.com/olekukonko/ll.(*Logger).log(0xac00680, 0x1, 0x0,
{0xac16630, 0x9}, {0xac00700, 0x1, 0x8}, 0x0)
174s
/tmp/autopkgtest.Ja8u3B/autopkgtest_tmp/_build/src/github.com/olekukonko/ll/ll.go:1329
+0x4b
174s github.com/olekukonko/ll.(*FieldBuilder).Infof(0xac14fc0,
{0x8243314, 0x9}, {0x0, 0x0, 0x0})
174s
/tmp/autopkgtest.Ja8u3B/autopkgtest_tmp/_build/src/github.com/olekukonko/ll/field.go:105
+0x9b
174s github.com/olekukonko/ll/tests.TestHandlers.func1(0xad62008)
174s
/tmp/autopkgtest.Ja8u3B/autopkgtest_tmp/_build/src/github.com/olekukonko/ll/tests/handler_test.go:21
+0x176
174s testing.tRunner(0xad62008, 0x8413bcc)
174s 	/usr/lib/go-1.27/src/testing/testing.go:2193 +0x114
174s created by testing.(*T).Run in goroutine 134
174s 	/usr/lib/go-1.27/src/testing/testing.go:2258 +0x52b
174s FAIL	github.com/olekukonko/ll/tests	0.098s
174s FAIL
174s dh_auto_test: error: cd _build && go test -vet=off -v -p 2
github.com/olekukonko/ll github.com/olekukonko/ll/l3rd/syslog
github.com/olekukonko/ll/l3rd/victoria github.com/olekukonko/ll/lh
github.com/olekukonko/ll/lm github.com/olekukonko/ll/lx
github.com/olekukonko/ll/tests returned exit code 1
174s make: *** [debian/rules:4: build] Error 25
174s autopkgtest [03:25:01]: test dh-golang-autopkgtest

#1149845#22
Date:
2026-10-04 11:40:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-olekukonko-ll, 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 1149845@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <toddy@debian.org> (supplier of updated golang-github-olekukonko-ll 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 04 Oct 2026 13:11:53 +0200
Source: golang-github-olekukonko-ll
Architecture: source
Version: 0.1.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Dr. Tobias Quathamer <toddy@debian.org>
Closes: 1149845
Changes:
 golang-github-olekukonko-ll (0.1.8-2) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to fix alignment issues on 32 bit. (Closes: #1149845)
   * Update Standards-Version to 4.7.4, no changes needed
Checksums-Sha1:
 8cb8c78190cd2230fe0c69aee719b3833e739c71 2300 golang-github-olekukonko-ll_0.1.8-2.dsc
 661cbaefafc21141173fdda4bd1d5a063586d76a 4308 golang-github-olekukonko-ll_0.1.8-2.debian.tar.xz
 a3038b11c344fc4f8decd144947dda93f573c636 5682 golang-github-olekukonko-ll_0.1.8-2_amd64.buildinfo
Checksums-Sha256:
 2e09addff10cd9094349c039b664bf6489277574d00b5f3751308d1da969bd47 2300 golang-github-olekukonko-ll_0.1.8-2.dsc
 c065c401bc326273bce2671d4a0ea129f5225f60274cb80ca63706c8f18c7f62 4308 golang-github-olekukonko-ll_0.1.8-2.debian.tar.xz
 5745c06b253aa9872f4d442b8f7d56e80cf495a84c13ac50b9dc301d38513b26 5682 golang-github-olekukonko-ll_0.1.8-2_amd64.buildinfo
Files:
 2db6113a6a29fc51e2fbcd0b718e29c0 2300 golang optional golang-github-olekukonko-ll_0.1.8-2.dsc
 37c88d8b014bbc875b8860e57d2c031b 4308 golang optional golang-github-olekukonko-ll_0.1.8-2.debian.tar.xz
 ca7048ef1e72de6b4941ecd58f8f42f9 5682 golang optional golang-github-olekukonko-ll_0.1.8-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAmrCNRwACgkQEwLx8Dbr
6xmQHg/9FuQq354e6u/WfuGKcz9FvrcYUFoxQ3dgR1B3FKevk6oEEIVB2stTk/We
T7LU9IdtjWUJvFR5EYkVwX07KgkZG8L1rT/Dfqh3wMiNWn4fl6WML7ZeFN1aR5Pc
mF3rX4NA/ICuLnB0oOhWJXmkyJzxFJjBgCAx3GSeBs6SWy7CWZS+S0R0lOpVDh/V
i8KZVot13ZjFLpaVRyDdBkanNyuExlM2WM/NjxeRgWNpf7RF5RpLWEQfFVlrwoC0
/IWQu1vRhGtDMdKrhFIEzaFbbnxH9LWSNiaZ746d3ekbkkxC9U8Jl3yU0CPL+yXn
kaPXDbgPcK36q1ZWG+DPdsaEccaAJMUnikoOspbf4+8loMkmXQLactZRJ1R9o47Y
nvIytHZlKfHAIlJ8mxkfhUSin8NLP+k0/oZK1RixdEe6PZTE76+Z6kYekP7nHdGV
1Kc0P/Ela7R3H77bZHHBj3nkVUIz9bPsxXtIO2pKuBsiON/9yB6NY7wTtjGuS1mc
9k/w1uGtDFXI1HjYTxhBcOVDx1Tihq2VD7fjcz+ih4j6kB6pP9pS+lYHdSOAieBP
d2Ho98kVI8YVh69ISFAY3QSdmX4+4Jy8Xu7WVWvFqLh+eZ7uXS09z2TmPB6DZSEl
6c0nRphC8l7GW8HlofQl67O7K2/tmxuF8NhS1SzWTD3Fqt9/LtE=
=Gp1A
-----END PGP SIGNATURE-----