boostorg / boost

Super-project for modularized Boost
https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
Boost Software License 1.0
7.22k stars 1.77k forks source link

[MSVC] Submodule filesystem test failed due to memory access violation #963

Closed brianGriifin114 closed 1 month ago

brianGriifin114 commented 1 month ago

Hi, we are part of the MSVC test team. Recently, we encountered a memory access violation when running the boost test module. According to the log, the following tests failed and resulted in the same exit status: -1073741819 (access violation error):

operations_test_static.run (static link version) operations_test_v3.run operations_test.run The exit status of these tests is -1073741819, indicating that memory access violation problems were encountered in these tests. Plz refer test.log for more detail. Test.log filesystem-Test.log

Steps to repro:

  1. Open VS2022 x64 Native Tools command.
  2. git clone https://github.com/boostorg/boost.git
  3. cd boostorg\boost
  4. git fetch --recurse-submodules=no --force
  5. git -C "C:\gitP\boostorg\boost" submodule sync
  6. git submodule foreach git reset --hard
  7. git submodule foreach git clean -xdf
  8. git submodule update --init --recursive
  9. set CL=/DBOOST_TIMER_ENABLE_DEPRECATED %CL%
  10. .\b2 -j16 variant=release --build-dir=C:\gitP\boostorg\boost\amd64 libs\filesystem\test address-model=64 2>&1