GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI-windows.yml: also run with AddressSanitizer by firewave · Pull Request #626 · cppcheck-opensource/simplecpp

Conversation

@firewave

@firewave firewave commented Jan 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
firewave added 2 commits January 16, 2026 11:35
@firewave
CI-windows.yml: also run with AddressSanitizer
6387ab1
@firewave
remove
d0a1367
@firewave

firewave commented Jan 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator Author

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
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@firewave

firewave commented Jan 16, 2026

Copy link
Copy Markdown
Collaborator Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@firewave
added some files to .gitignore
48bd78b
@firewave
firewave force-pushed the asan-vs branch from f4bbb5f to 48bd78b Compare January 16, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@firewave
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.