ci: Use LLVM 17.0.6 & DEBUG=1 in depends for MSAN jobs #27495

pull fanquake wants to merge 2 commits into bitcoin:master from fanquake:msan_depends_debug_1 changing 3 files +3 −3
  1. fanquake commented at 5:41 pm on April 19, 2023: member
    Switch to using LLVM 17.0.6 and DEBUG=1 in MSAN CI jobs.
  2. DrahtBot commented at 5:41 pm on April 19, 2023: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK maflcko

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    Conflicts

    No conflicts as of last run.

  3. DrahtBot added the label CI failed on Apr 19, 2023
  4. fanquake force-pushed on Jun 2, 2023
  5. maflcko commented at 12:14 pm on June 5, 2023: member
    Looks like this is blocked on https://github.com/bitcoin/bitcoin/issues/27222
  6. maflcko commented at 3:23 pm on June 20, 2023: member
    Looks like the symbols are broken in the failed CI run. Maybe due to #27737 (comment) ?
  7. fanquake force-pushed on Jun 20, 2023
  8. fanquake referenced this in commit 8d5b93cf54 on Jun 21, 2023
  9. fanquake force-pushed on Jun 21, 2023
  10. fanquake renamed this:
    [WIP] ci: Use DEBUG=1 in depends for MSAN jobs
    ci: Use DEBUG=1 in depends for MSAN jobs
    on Jun 21, 2023
  11. sidhujag referenced this in commit 609f277bb3 on Jun 21, 2023
  12. fanquake force-pushed on Aug 23, 2023
  13. fanquake commented at 11:03 am on September 7, 2023: member
    Any discussion can continue in #27222.
  14. fanquake closed this on Sep 7, 2023

  15. fanquake reopened this on Sep 14, 2023

  16. fanquake force-pushed on Sep 14, 2023
  17. maflcko commented at 6:20 pm on September 14, 2023: member

    Ok, looks like there is no change in https://cirrus-ci.com/task/5307270007881728?logs=ci#L3240

     02023-09-14T18:15:2Uninitialized bytes in strlen at offset 113 inside [0x719000008708, 114)
     1==35540==WARNING: MemorySanitizer: use-of-uninitialized-value
     2    [#0](/bitcoin-bitcoin/0/) 0x55fdc1d5178b in sqlite3Strlen30 /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:32670:28
     3    [#1](/bitcoin-bitcoin/1/) 0x55fdc1d785b3 in sqlite3PagerOpen /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:57953:17
     4    [#2](/bitcoin-bitcoin/2/) 0x55fdc1d77d4b in sqlite3BtreeOpen /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:68679:10
     5    [#3](/bitcoin-bitcoin/3/) 0x55fdc1d69c44 in openDatabase /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:171911:8
     6    [#4](/bitcoin-bitcoin/4/) 0x55fdc1d69f8a in sqlite3_open_v2 /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:172034:10
     7    [#5](/bitcoin-bitcoin/5/) 0x55fdc0b4e78c in wallet::SQLiteDatabase::Open() src/wallet/sqlite.cpp:256:19
     8    [#6](/bitcoin-bitcoin/6/) 0x55fdc0b47887 in wallet::SQLiteDatabase::SQLiteDatabase(fs::path const&, fs::path const&, wallet::DatabaseOptions const&, bool) src/wallet/sqlite.cpp:139:9
     9    [#7](/bitcoin-bitcoin/7/) 0x55fdc0b5ae91 in std::__1::__unique_if<wallet::SQLiteDatabase>::__unique_single std::__1::make_unique[abi:v170000]<wallet::SQLiteDatabase, std::__1::__fs::filesystem::path, fs::path&, wallet::DatabaseOptions const&>(std::__1::__fs::filesystem::path&&, fs::path&, wallet::DatabaseOptions const&) /msan/cxx_build/include/c++/v1/__memory/unique_ptr.h:689:30
    10    [#8](/bitcoin-bitcoin/8/) 0x55fdc0b59670 in wallet::MakeSQLiteDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/sqlite.cpp:641:19
    11    [#9](/bitcoin-bitcoin/9/) 0x55fdc0aecff5 in wallet::MakeDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/walletdb.cpp:1501:16
    12    [#10](/bitcoin-bitcoin/10/) 0x55fdc0a20f85 in wallet::MakeWalletDatabase(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/wallet.cpp:2852:12
    13    [#11](/bitcoin-bitcoin/11/) 0x55fdc07ba91a in wallet::TestLoadWallet(wallet::WalletContext&) src/wallet/test/util.cpp:69:21
    14    [#12](/bitcoin-bitcoin/12/) 0x55fdc064ea71 in wallet::wallet_tests::CreateWallet::test_method() src/wallet/test/wallet_tests.cpp:792:19
    15    [#13](/bitcoin-bitcoin/13/) 0x55fdc064d39a in wallet::wallet_tests::CreateWallet_invoker() src/wallet/test/wallet_tests.cpp:785:1
    16    [#14](/bitcoin-bitcoin/14/) 0x55fdbf29d295 in boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/function/function_template.hpp:117:11
    17    [#15](/bitcoin-bitcoin/15/) 0x55fdbf18987e in boost::function0<void>::operator()() const /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/function/function_template.hpp:763:14
    18    [#16](/bitcoin-bitcoin/16/) 0x55fdbf18987e in boost::detail::forward::operator()() /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1388:32
    19    [#17](/bitcoin-bitcoin/17/) 0x55fdbf18987e in boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/function/function_template.hpp:137:18
    20    [#18](/bitcoin-bitcoin/18/) 0x55fdbf071270 in boost::function0<int>::operator()() const /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/function/function_template.hpp:763:14
    21    [#19](/bitcoin-bitcoin/19/) 0x55fdbf071270 in int boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>, boost::function<int ()>>(boost::shared_ptr<boost::detail::translator_holder_base> const&, boost::function<int ()> const&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/execution_monitor.ipp:301:30
    22    [#20](/bitcoin-bitcoin/20/) 0x55fdbf071270 in boost::execution_monitor::catch_signals(boost::function<int ()> const&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/execution_monitor.ipp:903:16
    23    [#21](/bitcoin-bitcoin/21/) 0x55fdbf0718fa in boost::execution_monitor::execute(boost::function<int ()> const&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1301:16
    24    [#22](/bitcoin-bitcoin/22/) 0x55fdbf064785 in boost::execution_monitor::vexecute(boost::function<void ()> const&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1397:5
    25    [#23](/bitcoin-bitcoin/23/) 0x55fdbf064785 in boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function<void ()> const&, unsigned long) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/unit_test_monitor.ipp:49:9
    26    [#24](/bitcoin-bitcoin/24/) 0x55fdbf0d7ab6 in boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/framework.ipp:815:44
    27    [#25](/bitcoin-bitcoin/25/) 0x55fdbf0d863b in boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/framework.ipp:784:58
    28    [#26](/bitcoin-bitcoin/26/) 0x55fdbf0d863b in boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/framework.ipp:784:58
    29    [#27](/bitcoin-bitcoin/27/) 0x55fdbf0614f8 in boost::unit_test::framework::run(unsigned long, bool) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/framework.ipp:1722:29
    30    [#28](/bitcoin-bitcoin/28/) 0x55fdbf09cd69 in boost::unit_test::unit_test_main(boost::unit_test::test_suite* (*)(int, char**), int, char**) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/unit_test_main.ipp:250:9
    31    [#29](/bitcoin-bitcoin/29/) 0x55fdbf09de34 in main /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/unit_test_main.ipp:306:12
    32    [#30](/bitcoin-bitcoin/30/) 0x7f9a96c8ed8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 229b7dc509053fe4df5e29e8629911f0c3bc66dd)
    33    [#31](/bitcoin-bitcoin/31/) 0x7f9a96c8ee3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f) (BuildId: 229b7dc509053fe4df5e29e8629911f0c3bc66dd)
    34    [#32](/bitcoin-bitcoin/32/) 0x55fdbef9ecb4 in _start (/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/test/test_bitcoin+0x1b7cb4)
    35  Uninitialized value was created by a heap allocation
    36    [#0](/bitcoin-bitcoin/0/) 0x55fdbefd7682 in malloc /msan/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp:955:3
    37    [#1](/bitcoin-bitcoin/1/) 0x55fdc1e786a9 in sqlite3MemMalloc /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:25163:7
    38    [#2](/bitcoin-bitcoin/2/) 0x55fdc1d6ec7c in mallocWithAlarm /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:28846:7
    39    [#3](/bitcoin-bitcoin/3/) 0x55fdc1d4d9f9 in sqlite3Malloc /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:28876:5
    40    [#4](/bitcoin-bitcoin/4/) 0x55fdc1d62959 in sqlite3DbMallocRaw /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:29176:7
    41    [#5](/bitcoin-bitcoin/5/) 0x55fdc1d78526 in sqlite3PagerOpen /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:57938:17
    42    [#6](/bitcoin-bitcoin/6/) 0x55fdc1d77d4b in sqlite3BtreeOpen /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:68679:10
    43    [#7](/bitcoin-bitcoin/7/) 0x55fdc1d69c44 in openDatabase /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:171911:8
    44    [#8](/bitcoin-bitcoin/8/) 0x55fdc1d69f8a in sqlite3_open_v2 /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:172034:10
    45    [#9](/bitcoin-bitcoin/9/) 0x55fdc0b4e78c in wallet::SQLiteDatabase::Open() src/wallet/sqlite.cpp:256:19
    46    [#10](/bitcoin-bitcoin/10/) 0x55fdc0b47887 in wallet::SQLiteDatabase::SQLiteDatabase(fs::path const&, fs::path const&, wallet::DatabaseOptions const&, bool) src/wallet/sqlite.cpp:139:9
    47    [#11](/bitcoin-bitcoin/11/) 0x55fdc0b5ae91 in std::__1::__unique_if<wallet::SQLiteDatabase>::__unique_single std::__1::make_unique[abi:v170000]<wallet::SQLiteDatabase, std::__1::__fs::filesystem::path, fs::path&, wallet::DatabaseOptions const&>(std::__1::__fs::filesystem::path&&, fs::path&, wallet::DatabaseOptions const&) /msan/cxx_build/include/c++/v1/__memory/unique_ptr.h:689:30
    48    [#12](/bitcoin-bitcoin/12/) 0x55fdc0b59670 in wallet::MakeSQLiteDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/sqlite.cpp:641:19
    49    [#13](/bitcoin-bitcoin/13/) 0x55fdc0aecff5 in wallet::MakeDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/walletdb.cpp:1501:16
    50    [#14](/bitcoin-bitcoin/14/) 0x55fdc0a20f85 in wallet::MakeWalletDatabase(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/wallet.cpp:2852:12
    51    [#15](/bitcoin-bitcoin/15/) 0x55fdc07ba91a in wallet::TestLoadWallet(wallet::WalletContext&) src/wallet/test/util.cpp:69:21
    52    [#16](/bitcoin-bitcoin/16/) 0x55fdc064ea71 in wallet::wallet_tests::CreateWallet::test_method() src/wallet/test/wallet_tests.cpp:792:19
    53    [#17](/bitcoin-bitcoin/17/) 0x55fdc064d39a in wallet::wallet_tests::CreateWallet_invoker() src/wallet/test/wallet_tests.cpp:785:1
    54    [#18](/bitcoin-bitcoin/18/) 0x55fdbf29d295 in boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/function/function_template.hpp:117:11
    55    [#19](/bitcoin-bitcoin/19/) 0x55fdbf18987e in boost::function0<void>::operator()() const /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/function/function_template.hpp:763:14
    56    [#20](/bitcoin-bitcoin/20/) 0x55fdbf18987e in boost::detail::forward::operator()() /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1388:32
    57    [#21](/bitcoin-bitcoin/21/) 0x55fdbf18987e in boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/x86_64-pc-linux-gnu/include/boost/function/function_template.hpp:137:18
    58SUMMARY: MemorySanitizer: use-of-uninitialized-value /ci_container_base/depends/work/build/x86_64-pc-linux-gnu/sqlite/3380500-e38b918af09/sqlite3.c:32670:28 in sqlite3Strlen30
    59Exiting
    60make[2]: *** [Makefile:20444: check-am] Error 2
    61make[1]: *** [Makefile:20109: check-recursive] Error 1
    62make[1]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
    63Exit status: 2
    
  18. maflcko commented at 6:22 pm on September 14, 2023: member

    Though, I wonder what this is (unrelated?) https://cirrus-ci.com/task/4563169004224512?logs=ci#L5461:

    0test/net_tests.cpp(1333): Entering test case "v2transport_test"
    1test/net_tests.cpp(1364): error: in "net_tests/v2transport_test": check !ret has failed
    2test/net_tests.cpp(1333): Leaving test case "v2transport_test"; testing time: 1822483us
    
  19. fanquake commented at 9:28 am on September 15, 2023: member

    Though, I wonder what this is (unrelated?)

    cc @sipa

  20. sipa commented at 11:22 am on September 15, 2023: member
  21. fanquake referenced this in commit 372e7b6510 on Sep 16, 2023
  22. fanquake force-pushed on Sep 16, 2023
  23. Frank-GER referenced this in commit d3181ea3ca on Sep 19, 2023
  24. fanquake force-pushed on Oct 16, 2023
  25. fanquake force-pushed on Jan 5, 2024
  26. fanquake commented at 11:15 am on January 5, 2024: member

    Pushed again as oss-fuzz closed the equivalent issue as flaky/not-reproducible, however it definitely still happens:

     02024-01-05T1Uninitialized bytes in strlen at offset 113 inside [0xe0900000a05c, 114)
     1==35245==WARNING: MemorySanitizer: use-of-uninitialized-value
     2    [#0](/bitcoin-bitcoin/0/) 0xaaaad75d2440 in sqlite3Strlen30 /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:32670:28
     3    [#1](/bitcoin-bitcoin/1/) 0xaaaad75fd278 in mkFullPathname /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:41233:15
     4    [#2](/bitcoin-bitcoin/2/) 0xaaaad75d48d0 in unixFullPathname /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:41370:12
     5    [#3](/bitcoin-bitcoin/3/) 0xaaaad76000dc in sqlite3OsFullPathname /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:24674:10
     6    [#4](/bitcoin-bitcoin/4/) 0xaaaad76002b4 in sqlite3PagerOpen /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:57943:10
     7    [#5](/bitcoin-bitcoin/5/) 0xaaaad75ff98c in sqlite3BtreeOpen /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:68679:10
     8    [#6](/bitcoin-bitcoin/6/) 0xaaaad75ef17c in openDatabase /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:171911:8
     9    [#7](/bitcoin-bitcoin/7/) 0xaaaad75ef58c in sqlite3_open_v2 /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:172034:10
    10    [#8](/bitcoin-bitcoin/8/) 0xaaaad672b7ac in wallet::SQLiteDatabase::Open() src/wallet/sqlite.cpp:256:19
    11    [#9](/bitcoin-bitcoin/9/) 0xaaaad6725a84 in wallet::SQLiteDatabase::SQLiteDatabase(fs::path const&, fs::path const&, wallet::DatabaseOptions const&, bool) src/wallet/sqlite.cpp:139:9
    12    [#10](/bitcoin-bitcoin/10/) 0xaaaad6736130 in std::__1::__unique_if<wallet::SQLiteDatabase>::__unique_single std::__1::make_unique[abi:de170006]<wallet::SQLiteDatabase, std::__1::__fs::filesystem::path, fs::path&, wallet::DatabaseOptions const&>(std::__1::__fs::filesystem::path&&, fs::path&, wallet::DatabaseOptions const&) /msan/cxx_build/include/c++/v1/__memory/unique_ptr.h:689:30
    13    [#11](/bitcoin-bitcoin/11/) 0xaaaad6734c94 in wallet::MakeSQLiteDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/sqlite.cpp:641:19
    14    [#12](/bitcoin-bitcoin/12/) 0xaaaad66da168 in wallet::MakeDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/walletdb.cpp:1501:16
    15    [#13](/bitcoin-bitcoin/13/) 0xaaaad662bd58 in wallet::MakeWalletDatabase(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/wallet.cpp:2850:12
    16    [#14](/bitcoin-bitcoin/14/) 0xaaaad642a234 in wallet::TestLoadWallet(wallet::WalletContext&) src/wallet/test/util.cpp:68:21
    17    [#15](/bitcoin-bitcoin/15/) 0xaaaad62e7008 in wallet::wallet_tests::ZapSelectTx::test_method() src/wallet/test/wallet_tests.cpp:897:19
    18    [#16](/bitcoin-bitcoin/16/) 0xaaaad62e5fa8 in wallet::wallet_tests::ZapSelectTx_invoker() src/wallet/test/wallet_tests.cpp:891:1
    19    [#17](/bitcoin-bitcoin/17/) 0xaaaad51e5da0 in boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:117:11
    20    [#18](/bitcoin-bitcoin/18/) 0xaaaad5102ad4 in boost::function0<void>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14
    21    [#19](/bitcoin-bitcoin/19/) 0xaaaad5102ad4 in boost::detail::forward::operator()() /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1388:32
    22    [#20](/bitcoin-bitcoin/20/) 0xaaaad5102ad4 in boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:137:18
    23    [#21](/bitcoin-bitcoin/21/) 0xaaaad50130bc in boost::function0<int>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14
    24    [#22](/bitcoin-bitcoin/22/) 0xaaaad50130bc in int boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>, boost::function<int ()>>(boost::shared_ptr<boost::detail::translator_holder_base> const&, boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:301:30
    25    [#23](/bitcoin-bitcoin/23/) 0xaaaad50130bc in boost::execution_monitor::catch_signals(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:903:16
    26    [#24](/bitcoin-bitcoin/24/) 0xaaaad5013640 in boost::execution_monitor::execute(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1301:16
    27    [#25](/bitcoin-bitcoin/25/) 0xaaaad5007f80 in boost::execution_monitor::vexecute(boost::function<void ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1397:5
    28    [#26](/bitcoin-bitcoin/26/) 0xaaaad5007f80 in boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function<void ()> const&, unsigned long) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_monitor.ipp:49:9
    29    [#27](/bitcoin-bitcoin/27/) 0xaaaad50690b8 in boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:815:44
    30    [#28](/bitcoin-bitcoin/28/) 0xaaaad5068b7c in boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58
    31    [#29](/bitcoin-bitcoin/29/) 0xaaaad5068b7c in boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58
    32    [#30](/bitcoin-bitcoin/30/) 0xaaaad5005224 in boost::unit_test::framework::run(unsigned long, bool) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:1722:29
    33    [#31](/bitcoin-bitcoin/31/) 0xaaaad5037798 in boost::unit_test::unit_test_main(boost::unit_test::test_suite* (*)(int, char**), int, char**) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:250:9
    34    [#32](/bitcoin-bitcoin/32/) 0xaaaad503857c in main /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:306:12
    35    [#33](/bitcoin-bitcoin/33/) 0xffffbb6773f8  (/lib/aarch64-linux-gnu/libc.so.6+0x273f8) (BuildId: b2eb52eb317bf12f124bc94b4e32643c450e6c9a)
    36    [#34](/bitcoin-bitcoin/34/) 0xffffbb6774c8 in __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x274c8) (BuildId: b2eb52eb317bf12f124bc94b4e32643c450e6c9a)
    37    [#35](/bitcoin-bitcoin/35/) 0xaaaad4f4d1ac in _start (/ci_container_base/ci/scratch/build/bitcoin-aarch64-unknown-linux-gnu/src/test/test_bitcoin+0x19d1ac)
    38
    39  Uninitialized value was created by a heap allocation
    40    [#0](/bitcoin-bitcoin/0/) 0xaaaad4f85a1c in malloc /msan/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp:955:3
    41    [#1](/bitcoin-bitcoin/1/) 0xaaaad772e910 in sqlite3MemMalloc /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:25163:7
    42    [#2](/bitcoin-bitcoin/2/) 0xaaaad75f4cf8 in mallocWithAlarm /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:28846:7
    43    [#3](/bitcoin-bitcoin/3/) 0xaaaad75cdfe0 in sqlite3Malloc /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:28876:5
    44    [#4](/bitcoin-bitcoin/4/) 0xaaaad75ce094 in sqlite3_malloc64 /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:28900:10
    45    [#5](/bitcoin-bitcoin/5/) 0xaaaad7717e28 in sqlite3ParseUri /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:171638:13
    46    [#6](/bitcoin-bitcoin/6/) 0xaaaad75ef0d4 in openDatabase /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:171901:10
    47    [#7](/bitcoin-bitcoin/7/) 0xaaaad75ef58c in sqlite3_open_v2 /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:172034:10
    48    [#8](/bitcoin-bitcoin/8/) 0xaaaad672b7ac in wallet::SQLiteDatabase::Open() src/wallet/sqlite.cpp:256:19
    49    [#9](/bitcoin-bitcoin/9/) 0xaaaad6725a84 in wallet::SQLiteDatabase::SQLiteDatabase(fs::path const&, fs::path const&, wallet::DatabaseOptions const&, bool) src/wallet/sqlite.cpp:139:9
    50    [#10](/bitcoin-bitcoin/10/) 0xaaaad6736130 in std::__1::__unique_if<wallet::SQLiteDatabase>::__unique_single std::__1::make_unique[abi:de170006]<wallet::SQLiteDatabase, std::__1::__fs::filesystem::path, fs::path&, wallet::DatabaseOptions const&>(std::__1::__fs::filesystem::path&&, fs::path&, wallet::DatabaseOptions const&) /msan/cxx_build/include/c++/v1/__memory/unique_ptr.h:689:30
    51    [#11](/bitcoin-bitcoin/11/) 0xaaaad6734c94 in wallet::MakeSQLiteDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/sqlite.cpp:641:19
    52    [#12](/bitcoin-bitcoin/12/) 0xaaaad66da168 in wallet::MakeDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/walletdb.cpp:1501:16
    53    [#13](/bitcoin-bitcoin/13/) 0xaaaad662bd58 in wallet::MakeWalletDatabase(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) src/wallet/wallet.cpp:2850:12
    54    [#14](/bitcoin-bitcoin/14/) 0xaaaad642a234 in wallet::TestLoadWallet(wallet::WalletContext&) src/wallet/test/util.cpp:68:21
    55    [#15](/bitcoin-bitcoin/15/) 0xaaaad62e7008 in wallet::wallet_tests::ZapSelectTx::test_method() src/wallet/test/wallet_tests.cpp:897:19
    56    [#16](/bitcoin-bitcoin/16/) 0xaaaad62e5fa8 in wallet::wallet_tests::ZapSelectTx_invoker() src/wallet/test/wallet_tests.cpp:891:1
    57    [#17](/bitcoin-bitcoin/17/) 0xaaaad51e5da0 in boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:117:11
    58    [#18](/bitcoin-bitcoin/18/) 0xaaaad5102ad4 in boost::function0<void>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14
    59    [#19](/bitcoin-bitcoin/19/) 0xaaaad5102ad4 in boost::detail::forward::operator()() /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1388:32
    60    [#20](/bitcoin-bitcoin/20/) 0xaaaad5102ad4 in boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:137:18
    61    [#21](/bitcoin-bitcoin/21/) 0xaaaad50130bc in boost::function0<int>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14
    62    [#22](/bitcoin-bitcoin/22/) 0xaaaad50130bc in int boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>, boost::function<int ()>>(boost::shared_ptr<boost::detail::translator_holder_base> const&, boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:301:30
    63    [#23](/bitcoin-bitcoin/23/) 0xaaaad50130bc in boost::execution_monitor::catch_signals(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:903:16
    64
    65SUMMARY: MemorySanitizer: use-of-uninitialized-value /ci_container_base/depends/work/build/aarch64-unknown-linux-gnu/sqlite/3380500-6ac42047a53/sqlite3.c:32670:28 in sqlite3Strlen30
    66Exiting
    67make[3]: *** [Makefile:22640: wallet/test/wallet_tests.cpp.test] Error 1
    68make[3]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-aarch64-unknown-linux-gnu/src'
    69make[2]: *** [Makefile:20579: check-am] Error 2
    70make[2]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-aarch64-unknown-linux-gnu/src'
    71make[1]: *** [Makefile:20244: check-recursive] Error 1
    72make[1]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-aarch64-unknown-linux-gnu/src'
    73make: *** [Makefile:816: check-recursive] Error 1
    74
    75real	53m21.651s
    76user	304m26.725s
    77sys	21m2.416s
    
  27. fanquake force-pushed on Jan 24, 2024
  28. DrahtBot removed the label CI failed on Jan 24, 2024
  29. DrahtBot added the label Tests on Jan 24, 2024
  30. in ci/test/01_base_install.sh:39 in 5af6c14ed7 outdated
    35@@ -36,7 +36,7 @@ if [ -n "$PIP_PACKAGES" ]; then
    36 fi
    37 
    38 if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
    39-  ${CI_RETRY_EXE} git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-17.0.2 /msan/llvm-project
    40+  ${CI_RETRY_EXE} git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-17.0.6 /msan/llvm-project
    


    maflcko commented at 12:15 pm on January 25, 2024:
    might as well use 18rc1, which will be tagged tomorrow?

    fanquake commented at 3:58 pm on January 25, 2024:
    Pushed release/18.x now to see what breaks. Will switch to the tag once it’s available.

    fanquake commented at 4:31 pm on January 25, 2024:
    0CMake Error at /msan/llvm-project/libcxxabi/CMakeLists.txt:51 (message):
    1  LIBCXXABI_USE_LLVM_UNWINDER is set to ON, but libunwind is not specified in
    2  LLVM_ENABLE_RUNTIMES.
    3
    4
    5-- Configuring incomplete, errors occurred!
    

    fanquake commented at 4:33 pm on January 25, 2024:
    Added libunwind the the libc++ build as well
  31. fanquake force-pushed on Jan 25, 2024
  32. fanquake renamed this:
    ci: Use DEBUG=1 in depends for MSAN jobs
    ci: Use LLVM 18.x & DEBUG=1 in depends for MSAN jobs
    on Jan 25, 2024
  33. fanquake force-pushed on Jan 25, 2024
  34. DrahtBot added the label CI failed on Jan 25, 2024
  35. DrahtBot commented at 7:11 pm on January 25, 2024: contributor

    🚧 At least one of the CI tasks failed. Make sure to run all tests locally, according to the documentation.

    Possibly this is due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch.

    Leave a comment here, if you need help tracking down a confusing failure.

    Debug: https://github.com/bitcoin/bitcoin/runs/20868472179

  36. ci: use LLVM 17.0.6 in MSAN jobs 800ddef6b9
  37. ci: Use DEBUG=1 in depends for MSAN jobs
    Followup to #27448, which was deffered, as it produces #27448 and
    another similar issue in sqlite, see comment here:
    https://github.com/bitcoin/bitcoin/pull/27448#issuecomment-1514902450.
    8531e1e731
  38. fanquake force-pushed on Jan 26, 2024
  39. fanquake renamed this:
    ci: Use LLVM 18.x & DEBUG=1 in depends for MSAN jobs
    ci: Use LLVM 17.0.6 & DEBUG=1 in depends for MSAN jobs
    on Jan 26, 2024
  40. fanquake marked this as ready for review on Jan 26, 2024
  41. fanquake commented at 1:41 pm on January 26, 2024: member
    I’m seeing multiple other issues when switching over to LLVM 18. Reverted to 17.0.6 for now. I think we could make this change to re-enable DEBUG=1, and follow up with LLVM 18 in future?
  42. DrahtBot removed the label CI failed on Jan 26, 2024
  43. maflcko commented at 4:36 pm on January 29, 2024: member
    lgtm ACK 8531e1e7312efe66204dc8ce56f21e44de99e956
  44. fanquake merged this on Jan 29, 2024
  45. fanquake closed this on Jan 29, 2024

  46. fanquake deleted the branch on Jan 29, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-07-01 13:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me