You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ gdb src/libexpr/tests/libnixexpr-tests
Reading symbols from src/libexpr/tests/libnixexpr-tests...
(gdb) break __glibcxx_assert_fail
(gdb) run
(gdb) bt
#0 0x00007ffff762e590 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*)@plt () from /mnt/archive/big/git/nix/src/libexpr/libnixexpr.so
#1 0x00007ffff780bde9 in std::basic_string_view<char, std::char_traits<char> >::operator[] (this=0x7fffffff56c0, __pos=4)
at /nix/store/r74fw2j8rx5idb0w8s1s6ynwwgs0qmh9-gcc-14.0.0/include/c++/14.0.0/string_view:258
#2 0x00007ffff78c8a78 in nix::SearchPath::Prefix::suffixIfPotentialMatch (this=0x7fffffff5780, path=...) at src/libexpr/search-path.cc:15
#3 0x00005555556b2be1 in nix::SearchPathElem_suffixIfPotentialMatch_partialPrefix_Test::TestBody (this=0x555555a17540) at src/libexpr/tests/search-path.cc:62
#4 0x00007ffff7fa262d in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) ()
from /nix/store/v5lc4i5yx0w71w18vxj5zk5s09s463h1-gtest-1.12.1/lib/libgtest.so.1.12.1
#5 0x00007ffff7f8a32e in testing::Test::Run() () from /nix/store/v5lc4i5yx0w71w18vxj5zk5s09s463h1-gtest-1.12.1/lib/libgtest.so.1.12.1
#6 0x00007ffff7f8a4e5 in testing::TestInfo::Run() () from /nix/store/v5lc4i5yx0w71w18vxj5zk5s09s463h1-gtest-1.12.1/lib/libgtest.so.1.12.1
#7 0x00007ffff7f8a605 in testing::TestSuite::Run() () from /nix/store/v5lc4i5yx0w71w18vxj5zk5s09s463h1-gtest-1.12.1/lib/libgtest.so.1.12.1
#8 0x00007ffff7f97c57 in testing::internal::UnitTestImpl::RunAllTests() () from /nix/store/v5lc4i5yx0w71w18vxj5zk5s09s463h1-gtest-1.12.1/lib/libgtest.so.1.12.1
#9 0x00007ffff7f8a7cf in testing::UnitTest::Run() () from /nix/store/v5lc4i5yx0w71w18vxj5zk5s09s463h1-gtest-1.12.1/lib/libgtest.so.1.12.1
#10 0x00007ffff7fbe0c0 in main () from /nix/store/v5lc4i5yx0w71w18vxj5zk5s09s463h1-gtest-1.12.1/lib/libgtest_main.so.1.12.1
#11 0x00007ffff642804e in __libc_start_call_main () from /nix/store/rx9a808bjg34w6pll5impbvw74y96qbd-glibc-2.38/lib/libc.so.6
#12 0x00007ffff6428109 in __libc_start_main_impl () from /nix/store/rx9a808bjg34w6pll5impbvw74y96qbd-glibc-2.38/lib/libc.so.6
#13 0x0000555555588b85 in _start ()
Activity
nixos-discourse commentedon Aug 14, 2023
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/error-while-installing-home-manager/31720/12
trofi commentedon Aug 14, 2023
Extracted backtrace:
trofi commentedon Aug 14, 2023
Proposed the fix as #8825