Skip to content

error: ‘operator delete(void*, unsigned long)’ called on pointer ‘_722’ with nonzero offset #3372

@sagitter

Description

@sagitter

Does this problem persist on the current main?

  • I have verified the issue on the current main

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi all.

test/unit/search/search_scheme_algorithm_test.cpp in not compiled by gcc-15.1.1 with these output:

FAILED: search/CMakeFiles/search_scheme_algorithm_test.dir/search_scheme_algorithm_test.cpp.o 
/usr/lib64/ccache/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -DSEQAN3_WITH_CEREAL=1 -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/include -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -std=c++23 -DNDEBUG -std=c++23 -pedantic -Wall -Wextra -Werror -Wno-interference-size -Wnrvo -MD -MT search/CMakeFiles/search_scheme_algorithm_test.dir/search_scheme_algorithm_test.cpp.o -MF search/CMakeFiles/search_scheme_algorithm_test.dir/search_scheme_algorithm_test.cpp.o.d -fmodules-ts -fmodule-mapper=search/CMakeFiles/search_scheme_algorithm_test.dir/search_scheme_algorithm_test.cpp.o.modmap -MD -fdeps-format=p1689r5 -x c++ -o search/CMakeFiles/search_scheme_algorithm_test.dir/search_scheme_algorithm_test.cpp.o -c /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_scheme_algorithm_test.cpp
In file included from /usr/include/c++/15/x86_64-redhat-linux/bits/c++allocator.h:33,
                 from /usr/include/c++/15/bits/allocator.h:46,
                 from /usr/include/c++/15/memory:67,
                 from /usr/include/gtest/gtest.h:55,
                 from /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_scheme_algorithm_test.cpp:5:
In member function ‘std::__new_allocator<seqan3::dna4>::deallocate(seqan3::dna4*, unsigned long)’,
    inlined from ‘std::allocator<seqan3::dna4>::deallocate(seqan3::dna4*, unsigned long)’ at /usr/include/c++/15/bits/allocator.h:215:35,
    inlined from ‘std::allocator_traits<std::allocator<seqan3::dna4> >::deallocate(std::allocator<seqan3::dna4>&, seqan3::dna4*, unsigned long)’ at /usr/include/c++/15/bits/alloc_traits.h:649:23,
    inlined from ‘std::_Vector_base<seqan3::dna4, std::allocator<seqan3::dna4> >::_M_deallocate(seqan3::dna4*, unsigned long)’ at /usr/include/c++/15/bits/stl_vector.h:396:19,
    inlined from ‘std::_Vector_base<seqan3::dna4, std::allocator<seqan3::dna4> >::~_Vector_base()’ at /usr/include/c++/15/bits/stl_vector.h:375:15,
    inlined from ‘std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >::~vector()’ at /usr/include/c++/15/bits/stl_vector.h:805:7,
    inlined from ‘test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)1>, std::array<unsigned long, 1ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)1> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 1ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}::operator()(unsigned long) const’ at /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_scheme_algorithm_test.cpp:134:5,
  ...
    inlined from ‘test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)void’ at /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_scheme_algorithm_test.cpp:176:33:
/usr/include/c++/15/bits/new_allocator.h:172:66: error: ‘operator delete(void*, unsigned long)’ called on pointer ‘_722’ with nonzero offset [1, 9223372036854775807] [-Werror=free-nonheap-object]
  172 |         _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
      |                                                                  ^
In member function ‘std::__new_allocator<seqan3::dna4>::allocate(unsigned long, void const*)’,
    inlined from ‘std::allocator<seqan3::dna4>::allocate(unsigned long)’ at /usr/include/c++/15/bits/allocator.h:203:40,
    inlined from ‘std::allocator_traits<std::allocator<seqan3::dna4> >::allocate(std::allocator<seqan3::dna4>&, unsigned long)’ at /usr/include/c++/15/bits/alloc_traits.h:614:28,
    inlined from ‘std::_Vector_base<seqan3::dna4, std::allocator<seqan3::dna4> >::_M_allocate(unsigned long)’ at /usr/include/c++/15/bits/stl_vector.h:387:33,
    inlined from ‘std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >::_M_range_initialize_n<__gnu_cxx::__normal_iterator<seqan3::dna4 const*, std::span<seqan3::dna4 const, 18446744073709551615ul>::__iter_tag>, __gnu_cxx::__normal_iterator<seqan3::dna4 const*, std::span<seqan3::dna4 const, 18446744073709551615ul>::__iter_tag> >(__gnu_cxx::__normal_iterator<seqan3::dna4 const*, std::span<seqan3::dna4 const, 18446744073709551615ul>::__iter_tag>, __gnu_cxx::__normal_iterator<seqan3::dna4 const*, std::span<seqan3::dna4 const, 18446744073709551615ul>::__iter_tag>, unsigned long)void’ at /usr/include/c++/15/bits/stl_vector.h:1985:23,
    inlined from ‘std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >::vector<std::span<seqan3::dna4 const, 18446744073709551615ul> >(std::from_range_t, std::span<seqan3::dna4 const, 18446744073709551615ul>&&, std::allocator<seqan3::dna4> const&)’ at /usr/include/c++/15/bits/stl_vector.h:780:29,
    inlined from ‘std::ranges::to<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, std::span<seqan3::dna4 const, 18446744073709551615ul>>(std::span<seqan3::dna4 const, 18446744073709551615ul>&&)std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >’ at /usr/include/c++/15/ranges:9432:35,
    inlined from ‘std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >::operator()<std::span<seqan3::dna4 const, 18446744073709551615ul>>(std::span<seqan3::dna4 const, 18446744073709551615ul>&&) constauto’ at /usr/include/c++/15/ranges:9555:38,
    inlined from ‘std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>::operator()<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>, std::span<seqan3::dna4 const, 18446744073709551615ul> >(this std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&, std::span<seqan3::dna4 const, 18446744073709551615ul>&&)::{lambda((auto:1&&)...)#1}::operator()<>() constauto’ at /usr/include/c++/15/ranges:1070:51,
    inlined from ‘std::__invoke_impl<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>::operator()<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>, std::span<seqan3::dna4 const, 18446744073709551615ul> >(this std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&, std::span<seqan3::dna4 const, 18446744073709551615ul>&&)::{lambda((auto:1&&)...)#1}&>(std::__invoke_other, std::span<seqan3::dna4 const, 18446744073709551615ul>&&)std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >’ at /usr/include/c++/15/bits/invoke.h:63:67,
    inlined from ‘std::__invoke<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>::operator()<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>, std::span<seqan3::dna4 const, 18446744073709551615ul> >(this std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&, std::span<seqan3::dna4 const, 18446744073709551615ul>&&)::{lambda((auto:1&&)...)#1}&>(std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&)std::__invoke_result<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>::operator()<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>, std::span<seqan3::dna4 const, 18446744073709551615ul> >(this std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&, std::span<seqan3::dna4 const, 18446744073709551615ul>&&)::{lambda((auto:1&&)...)#1}&>::type’ at /usr/include/c++/15/bits/invoke.h:99:36,
    inlined from ‘std::__apply_impl<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>::operator()<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>, std::span<seqan3::dna4 const, 18446744073709551615ul> >(this std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&, std::span<seqan3::dna4 const, 18446744073709551615ul>&&)::{lambda((auto:1&&)...)#1}&, std::tuple<>>(std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&, std::span<seqan3::dna4 const, 18446744073709551615ul>&&, std::integer_sequence<unsigned long>)decltype(auto)’ at /usr/include/c++/15/tuple:2921:51,
    inlined from ‘_ZSt5applyIRZNHSt6ranges5views9__adaptor8_PartialINS0_8__detail3_ToISt6vectorIN6seqan34dna4ESaIS8_EEEEJEEclISC_St4spanIKS8_Lm18446744073709551615EEEEDaOT_OT0_EUlDpOT_E_TkSt12__tuple_likeSt5tupleIJEEEDcSI_SK_’ at /usr/include/c++/15/tuple:2937:21,
    inlined from ‘std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>::operator()<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>, std::span<seqan3::dna4 const, 18446744073709551615ul> >(this std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&, std::span<seqan3::dna4 const, 18446744073709551615ul>&&)auto’ at /usr/include/c++/15/ranges:1072:76,
    inlined from ‘std::ranges::views::__adaptor::operator|<std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>, std::span<seqan3::dna4 const, 18446744073709551615ul> >(std::span<seqan3::dna4 const, 18446744073709551615ul>&&, std::ranges::views::__adaptor::_Partial<std::ranges::__detail::_To<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > >>&&)auto’ at /usr/include/c++/15/ranges:973:67,
    inlined from ‘test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}::operator()(unsigned long) const’ at /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_scheme_algorithm_test.cpp:131:29,
    inlined from ‘__gnu_cxx::__ops::_Iter_pred<test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}>::operator()<__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > > >(__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >)bool’ at /usr/include/c++/15/bits/predefined_ops.h:318:23,
    inlined from ‘std::__find_if<__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__ops::_Iter_pred<test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}> >(__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__ops::_Iter_pred<test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}>)__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >’ at /usr/include/c++/15/bits/stl_algobase.h:2095:42,
    inlined from ‘std::__remove_if<__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__ops::_Iter_pred<test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}> >(__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__ops::_Iter_pred<test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}>)__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >’ at /usr/include/c++/15/bits/stl_algobase.h:2118:31,
    inlined from ‘std::remove_if<__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1}>(__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, __gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >, test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)::{lambda(unsigned long)#1})__gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >’ at /usr/include/c++/15/bits/stl_algo.h:816:30,
    inlined from ‘test_search_hamming<std::vector<seqan3::dna4, std::allocator<seqan3::dna4> >, seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, seqan3::detail::search<(unsigned char)5>, std::array<unsigned long, 5ul>, std::vector<unsigned long, std::allocator<unsigned long> > >(seqan3::bi_fm_index<seqan3::dna4, (seqan3::text_layout)0, sdsl::csa_wt<sdsl::wt_pc<sdsl::balanced_shape, sdsl::int_vector<(unsigned char)1>, sdsl::rank_support_v<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)1, (unsigned char)1>, sdsl::select_support_scan<(unsigned char)0, (unsigned char)1>, sdsl::byte_tree<false> >, 16u, 10000000u, sdsl::sa_order_sa_sampling<(unsigned char)0>, sdsl::isa_sampling<(unsigned char)0>, sdsl::plain_byte_alphabet> >, std::vector<seqan3::dna4, std::allocator<seqan3::dna4> > const&, seqan3::detail::search<(unsigned char)5> const&, unsigned long, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned long, std::array<unsigned long, 5ul> const&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long)void’ at /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_scheme_algorithm_test.cpp:176:33:
/usr/include/c++/15/bits/new_allocator.h:151:73: note: returned from ‘operator new(unsigned long)’
  151 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                                         ^
cc1plus: all warnings being treated as errors
[867/1256] /usr/lib64/ccache/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -DSEQAN3_WITH_CEREAL=1 -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/include -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -std=c++23 -DNDEBUG -std=c++23 -pedantic -Wall -Wextra -Werror -Wno-interference-size -Wnrvo -MD -MT search/configuration/CMakeFiles/search_config_common_test.dir/search_config_common_test.cpp.o -MF search/configuration/CMakeFiles/search_config_common_test.dir/search_config_common_test.cpp.o.d -fmodules-ts -fmodule-mapper=search/configuration/CMakeFiles/search_config_common_test.dir/search_config_common_test.cpp.o.modmap -MD -fdeps-format=p1689r5 -x c++ -o search/configuration/CMakeFiles/search_config_common_test.dir/search_config_common_test.cpp.o -c /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/configuration/search_config_common_test.cpp
[868/1256] /usr/lib64/ccache/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -DSEQAN3_WITH_CEREAL=1 -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/include -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -std=c++23 -DNDEBUG -std=c++23 -pedantic -Wall -Wextra -Werror -Wno-interference-size -Wnrvo -MD -MT search/CMakeFiles/search_collection_test.dir/search_collection_test.cpp.o -MF search/CMakeFiles/search_collection_test.dir/search_collection_test.cpp.o.d -fmodules-ts -fmodule-mapper=search/CMakeFiles/search_collection_test.dir/search_collection_test.cpp.o.modmap -MD -fdeps-format=p1689r5 -x c++ -o search/CMakeFiles/search_collection_test.dir/search_collection_test.cpp.o -c /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_collection_test.cpp
[869/1256] /usr/lib64/ccache/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DSEQAN3_HAS_BZIP2=1 -DSEQAN3_HAS_ZLIB=1 -DSEQAN3_WITH_CEREAL=1 -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/include -I/builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -std=c++23 -DNDEBUG -std=c++23 -pedantic -Wall -Wextra -Werror -Wno-interference-size -Wnrvo -MD -MT search/CMakeFiles/search_test.dir/search_test.cpp.o -MF search/CMakeFiles/search_test.dir/search_test.cpp.o.d -fmodules-ts -fmodule-mapper=search/CMakeFiles/search_test.dir/search_test.cpp.o.modmap -MD -fdeps-format=p1689r5 -x c++ -o search/CMakeFiles/search_test.dir/search_test.cpp.o -c /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/test/unit/search/search_test.cpp
ninja: build stopped: subcommand failed.

Expected Behavior

No error

Steps To Reproduce

-- The CXX compiler identification is GNU 15.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Finding SeqAn3 and checking requirements:
-- SeqAn3 include dir found: /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/include
-- Required dependency: SDSL found.
-- Thread support: builtin.
-- Required dependency: Cereal found.
-- Optional dependency: ZLIB-1.3.1 found.
-- Optional dependency: BZip2-1.0.8 found.
-- Optional dependency: libexecinfo found.
-- SeqAn3 platform.hpp build: passed.
-- Found SeqAn3: /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/include
-- Building tests with -Werror.
-- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.15.2")
-- Configuring done (1.2s)
-- Generating done (0.2s)
-- Build files have been written to: /builddir/build/BUILD/seqan3-3.4.0-build/seqan3-3.4.0-rc.3/build

Environment

- Operating system: Fedora 43 (devel branch)
- SeqAn version: 3.4.0-rc3
- Compiler: gcc-15.1.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfaulty or wrong behaviour of code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions