GeezerVison is showing github.com — CI-windows.yml: also run with AddressSanitizer by firewave · Pull Request #626 · cppcheck-opensource/simplecpp
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
firewave
commented
Jan 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Somehow the CI is not showing the ASAN output and fails the build without any information.
Locally I get:
=================================================================
==16024==ERROR: AddressSanitizer: stack-use-after-scope on address 0x00353e4ff690 at pc 0x7ff6187b1eea bp 0x00353e4ff670 sp 0x00353e4ff678
WRITE of size 8 at 0x00353e4ff690 thread T0
#0 0x7ff6187b1ee9 in std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>::max_size(void) const C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xstring:2381
#1 0x7ff618782a76 in std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>::_Construct<1, char const *>(char const *const, unsigned __int64) C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xstring:881
#2 0x7ff618794214 in std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>(char const *const) C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xstring:769
#3 0x7ff6186f1016 in `dynamic initializer for 'testSourceDir'' S:\GitHub\simplecpp-fw\test.cpp:26
#4 0x7ff8991524f7 (C:\WINDOWS\SYSTEM32\ucrtbased.dll+0x1800a24f7)
#5 0x7ff6188bf45a in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:256
#6 0x7ff6188bf3bd in __scrt_common_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:330
#7 0x7ff6188bf62d in mainCRTStartup D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:16
#8 0x7ff8c2fd7373 (C:\WINDOWS\System32\KERNEL32.DLL+0x180017373)
#9 0x7ff8c48dcc90 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x18004cc90)
Address 0x00353e4ff690 is located in stack of thread T0
SUMMARY: AddressSanitizer: stack-use-after-scope C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xstring:2381 in std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>::max_size(void) const
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Somehow the CI is not showing the ASAN output and fails the build without any information.
Actually the process crashes in the CI as evident by the exitcode.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.