Bug#1143808: gcc-defaults breaks glaze autopkgtest: ICE

Paul Gevers <[email protected]> Thu, 6 Aug 2026 15:03:43 +0200
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <3d934610-227d-46c3-ac35-31971355ce10__18288.4192954347$1786021536$gmane$org@debian.org>
Source: gcc-defaults, glaze
Control: found -1 gcc-defaults/1.233
Control: found -1 glaze/7.9.1-1
Severity: serious
Tags: sid forky
User: [email protected]
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of gcc-defaults the autopkgtest of glaze fails in 
testing when that autopkgtest is run with the binary packages of 
gcc-defaults from unstable. It passes when run with only packages from 
testing. In tabular form:

                        pass            fail
gcc-defaults           from testing    1.233
glaze                  from testing    7.9.1-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 gcc-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=gcc-defaults

https://ci.debian.net/data/autopkgtest/testing/arm64/g/glaze/74064724/log.gz

  83s [ 23%] Building CXX object 
tests/reflection/CMakeFiles/enum_test.dir/enum_test.cpp.o
  84s [ 24%] Linking CXX executable size_optimization_symbols
  84s [ 24%] Built target size_optimization_symbols
  84s [ 24%] Building CXX object 
tests/roundtrip/CMakeFiles/roundtrip_JSON.dir/roundtrip.cpp.o
  86s [ 25%] Linking CXX executable size_optimization_test
  86s [ 25%] Built target size_optimization_test
  86s [ 25%] Building CXX object 
tests/roundtrip/CMakeFiles/roundtrip_BEVE.dir/roundtrip.cpp.o
  88s [ 25%] Linking CXX executable cli_menu_test
  88s [ 25%] Built target cli_menu_test
  88s [ 25%] Building CXX object 
tests/stencil/CMakeFiles/stencil_test.dir/stencil_test.cpp.o
  89s In file included from 
/tmp/autopkgtest.BDEPyO/build.HZh/src/tests/jmespath/jmespath.cpp:4:
  89s 
/tmp/autopkgtest.BDEPyO/build.HZh/src/include/glaze/json/jmespath.hpp: 
In instantiation of ‘consteval auto glz::jmespath::tokenize_as_array() 
[with const std::string_view& expression = S]’:
  89s 
/tmp/autopkgtest.BDEPyO/build.HZh/src/include/glaze/json/jmespath.hpp:815:68: 
   required from ‘glz::error_ctx glz::read_jmespath(T&&, Buffer&&) [with 
string_literal<...auto...> Path = string_literal<8>{"address"}; auto 
Options = opts{10, true, false, true, true, false, false, false, false, 
0}; T = std::__cxx11::basic_string<char>&; Buffer = 
std::__cxx11::basic_string<char>&]’
  89s   815 |       static constexpr auto tokens = 
jmespath::tokenize_as_array<S>();
  89s       | 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  89s 
/tmp/autopkgtest.BDEPyO/build.HZh/src/tests/jmespath/jmespath.cpp:57:41: 
   required from here
  89s    57 |       ec = glz::read_jmespath<"address">(address, buffer);
  89s       |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
  89s 
/tmp/autopkgtest.BDEPyO/build.HZh/src/include/glaze/json/jmespath.hpp:264:29: 
   in ‘constexpr’ expansion of 
‘0->glz::jmespath::tokenize_as_array<glz::read_jmespath<string_literal<8>{"address"}>(std::__cxx11::basic_string<char>&, 
std::__cxx11::basic_string<char>&)::S>()::<lambda()>()’
  89s   264 |          constexpr auto N = [] {
  89s       |                             ^~~~
  89s   265 |             std::vector<std::string_view> tokens;
  89s       |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  89s   266 |             auto err = tokenize_full_jmespath(expression, 
tokens);
  89s       | 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  89s   267 |             if (err != tokenization_error::none) {
  89s       |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  89s   268 |                std::abort();
  89s       |                ~~~~~~~~~~~~~
  89s   269 |             }
  89s       |             ~
  89s   270 |             return tokens.size();
  89s       |             ~~~~~~~~~~~~~~~~~~~~~
  89s   271 |          }();
  89s       |          ~
  89s 
/tmp/autopkgtest.BDEPyO/build.HZh/src/include/glaze/json/jmespath.hpp:266:46: 
   in ‘constexpr’ expansion of ‘glz::jmespath::tokenize_full_jmespath(S, 
tokens)’
  89s   266 |             auto err = tokenize_full_jmespath(expression, 
tokens);
  89s       | 
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
  89s 
/tmp/autopkgtest.BDEPyO/build.HZh/src/include/glaze/json/jmespath.hpp:223:60: 
   in ‘constexpr’ expansion of 
‘glz::jmespath::tokenize_jmes_path(remaining)’
  89s   223 |             tokenization_result result = 
tokenize_jmes_path(remaining);
  89s       | 
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
  89s 
/tmp/autopkgtest.BDEPyO/build.HZh/src/include/glaze/json/jmespath.hpp:223:60: 
internal compiler error: Segmentation fault
OpenPGP_signature.asc (application/pgp-signature, 585 B)
-----BEGIN PGP SIGNATURE-----

wsC7BAABCABvBYJqdIYvCRCcXJnrBb11CkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmeVlsLsbQ9vjoD8grBeOkI53HKxURtgn+Z/ck56q1zU
sxYhBFi2bUhza+k7BS3mcpxcmesFvXUKAABuNggAh6l30aB7gBzvuKwC5SnXaIhN
jk3RDLO4/Kpnddbh5/Ahmm+mxzTARHLCNIb2AiGskB4RUDYYZXk0l6vxPM6TS1pm
pIKK8RUVJjR+Q6hFUBBib7/Cuz3EItmFak65+BD4ZRTctMbHUJOMySoxpgd3GCYp
VUfBdioOvqKuKC+tNG+6UWRupZm8PYlHDFKdnuKJBBSrWdjT47cxbcuKZwuBR8j/
zj+hT++KvQhMsFox7hNYKvLf3de65Vw9371am+AeeGbZc2eucWzlRvaK3g5qPfD1
0K3nb3a4SWAiFyCwLJ77JRalQzAcOpLKgoniLDVm+FYOZefgI+qbPKv55ZZeuw==
=4Do/
-----END PGP SIGNATURE-----