enable ubsan by fsb4000 · Pull Request #3452 · microsoft/STL (original) (raw)

X86 failing tests

Command: "C:\Dev\STL\out\build\x86\tests\std\tests\Dev11_0235721_async_and_packaged_task\Output\26\Dev11_0235721_async_and_packaged_task.exe"
Exit Code: 1
Standard Error:
--
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144: runtime error: constructor call on misaligned address 0x025ef6d4 for type 'std::function<void ()>', which requires 8 byte alignment
0x025ef6d4: note: pointer points here
  82 87 7d 00 f4 ed 97 00  f2 88 7d 00 64 5b 8a 00  80 27 7a 00 20 f7 5e 02  e3 87 7d 00 ec ed 97 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144 in
--
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\GH_002488_promise_not_default_constructible_types\Output\26\GH_002488_promise_not_default_constructible_types.exe"
Exit Code: 1
Standard Error:
--
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144: runtime error: constructor call on misaligned address 0x0253f6ec for type 'std::function<void ()>', which requires 8 byte alignment
0x0253f6ec: note: pointer points here
  88 c2 9b 00 84 9c 85 00  f8 c3 9b 00 e4 e9 a8 00  20 c0 96 00 38 f7 53 02  e9 c2 9b 00 7c 9c 85 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144 in
--
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\P0024R2_parallel_algorithms_find_end\Output\26\P0024R2_parallel_algorithms_find_end.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\forward_list:282:53: runtime error: reference binding to misaligned address 0x00afe6bc for type 'std::_Flist_val<std::_Flist_simple_types<double>>::_Node' (aka 'std::_Flist_node<double, void *>'), which requires 8 byte alignment
0x00afe6bc: note: pointer points here
  60 aa b8 00 00 00 00 00  d4 e5 af 00 10 fc af 00  30 31 bb 00 ff ff ff ff  02 6a bf 00 e6 69 bf 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\forward_list:282:53 in
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\Dev11_0000000_function_crashes\Output\28\Dev11_0000000_function_crashes.exe"
Exit Code: 1
Standard Error:
--
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144: runtime error: constructor call on misaligned address 0x0320f4f4 for type 'std::function<void ()>', which requires 8 byte alignment
0x0320f4f4: note: pointer points here
  3e 9b 52 00 9c 6d 56 01  ae 9c 52 00 e4 91 5c 00  a0 88 50 00 40 f5 20 03  9f 9b 52 00 94 6d 56 01
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144 in
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\P1135R6_atomic_wait\Output\18\P1135R6_atomic_wait.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\__msvc_chrono.hpp:302:16: runtime error: constructor call on misaligned address 0x00aff454 for type 'std::chrono::duration<long long, std::ratio<1, 1000000000>>', which requires 8 byte alignment
0x00aff454: note: pointer points here
  fc cc b3 00 a0 f4 af 00  b0 f4 af 00 90 f4 af 00  a0 f4 af 00 a8 f4 af 00  b0 f4 af 00 5c f4 af 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\__msvc_chrono.hpp:302:16 in
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\P2322R6_ranges_alg_fold\Output\14\P2322R6_ranges_alg_fold.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\algorithm:2639:74: runtime error: load of misaligned address 0x011ef6fc for type 'remove_reference_t<double &>' (aka 'double'), which requires 8 byte alignment
0x011ef6fc: note: pointer points here
  f0 af 02 01 00 00 00 00  00 00 00 00 03 00 00 00  4c 00 5c 00 6f 00 75 00  74 00 5c 00 62 00 75 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\algorithm:2639:74 in
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\Dev11_0377755_thread_ctor_move_only_types\Output\26\Dev11_0377755_thread_ctor_move_only_types.exe"
Exit Code: 1
Standard Error:
--
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144: runtime error: constructor call on misaligned address 0x030af9ac for type 'std::function<void ()>', which requires 8 byte alignment
0x030af9ac: note: pointer points here
  a5 95 be 00 9c 04 30 01  15 97 be 00 e4 b6 c9 00  00 83 bc 00 f8 f9 0a 03  06 96 be 00 94 04 30 01
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144 in
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\GH_000431_copy_move_family\Output\28\GH_000431_copy_move_family.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\tests\std\tests\GH_000431_copy_move_family\test.cpp:486:45: runtime error: reference binding to misaligned address 0x0053eeec for type 'mfn_ptr[5]' (aka 'int (StatefulDerived::*[5])() __attribute__((thiscall))'), which requires 8 byte alignment
0x0053eeec: note: pointer points here
  18 04 19 04 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\tests\std\tests\GH_000431_copy_move_family\test.cpp:486:45 in
Command: "C:\Dev\STL\out\build\x86\tests\tr1\tests\streambuf1\Output\27\streambuf1.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\streambuf:214:25: runtime error: applying non-zero offset to non-null pointer 0x005cf8df produced null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\streambuf:214:25 in
--
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\GH_002058_debug_iterator_race\Output\26\GH_002058_debug_iterator_race.exe"
Exit Code: 1
Standard Error:
--
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144: runtime error: constructor call on misaligned address 0x02ecf74c for type 'std::function<void ()>', which requires 8 byte alignment
0x02ecf74c: note: pointer points here
  be 91 99 00 5c 06 11 01  2e 93 99 00 24 3c a7 00  a0 7c 93 00 98 f7 ec 02  1f 92 99 00 54 06 11 01
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144 in
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\P0024R2_parallel_algorithms_search\Output\26\P0024R2_parallel_algorithms_search.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\forward_list:282:53: runtime error: reference binding to misaligned address 0x005fe38c for type 'std::_Flist_val<std::_Flist_simple_types<double>>::_Node' (aka 'std::_Flist_node<double, void *>'), which requires 8 byte alignment
0x005fe38c: note: pointer points here
  d0 b1 eb 00 00 00 00 00  dc e2 5f 00 e0 f8 5f 00  e0 1a ee 00 ff ff ff ff  bc 4f f2 00 a0 4f f2 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\forward_list:282:53 in
--
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\P1135R6_atomic_wait_vista\Output\18\P1135R6_atomic_wait_vista.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\__msvc_chrono.hpp:302:16: runtime error: constructor call on misaligned address 0x0053f5e4 for type 'std::chrono::duration<long long, std::ratio<1, 1000000000>>', which requires 8 byte alignment
0x0053f5e4: note: pointer points here
  e4 ce d3 00 30 f6 53 00  40 f6 53 00 20 f6 53 00  30 f6 53 00 38 f6 53 00  40 f6 53 00 ec f5 53 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\__msvc_chrono.hpp:302:16 in
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\Dev11_1127004_future_has_exceptions_0\Output\53\Dev11_1127004_future_has_exceptions_0.exe"
Exit Code: 1
Standard Error:
--
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144: runtime error: constructor call on misaligned address 0x02e6f82c for type 'std::function<void ()>', which requires 8 byte alignment
0x02e6f82c: note: pointer points here
  20 73 d7 00 a4 6e f1 00  90 74 d7 00 a4 42 e1 00  20 62 d5 00 78 f8 e6 02  81 73 d7 00 9c 6e f1 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32213\include\ppltasks.h:3541:144 in
--
Command: "C:\Dev\STL\out\build\x86\tests\std\tests\VSO_0102478_moving_allocators\Output\28\VSO_0102478_moving_allocators.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\forward_list:282:53: runtime error: reference binding to misaligned address 0x00aff644 for type 'std::_Flist_val<std::_Flist_simple_types<double>>::_Node' (aka 'std::_Flist_node<double, void *>'), which requires 8 byte alignment
0x00aff644: note: pointer points here
  10 f7 af 00 00 00 00 00  74 f7 af 00 73 7f 41 00  74 f7 af 00 6c 65 00 00  00 00 00 00 50 f6 af 00
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\forward_list:282:53 in
--
Command: "C:\Dev\STL\out\build\x86\tests\tr1\tests\streambuf2\Output\27\streambuf2.exe"
Exit Code: 1
Standard Error:
--
C:\Dev\STL\out\build\x86\out\inc\streambuf:214:25: runtime error: applying non-zero offset to non-null pointer 0x0135fbde produced null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior C:\Dev\STL\out\build\x86\out\inc\streambuf:214:25 in
--