Skip to content

Conversation

@davidmrdavid
Copy link
Member

@davidmrdavid davidmrdavid commented Jan 10, 2026

⚠️ This is a work in progress ⚠️

Related to: #4324

Context:
The STL-ASan-CI pipeline has been flaky in x86 for a long time now. We've made some progress, such as identifying that the issue may be related to a nullptr de-reference, and that it seemingly occurs during program shutdown, but we have yet to root cause it.

This PR aims to make a dent in root causing the problem by opting in to capturing memory dumps when a program fast-fails.

The next step is to kick off the pipeline a few times internally, and confirm this is working / producing dumps (a log should be emitted). Then we'll want to move those dumps to the pipeline attachments area, so they can be further analyzed.

@davidmrdavid
Copy link
Member Author

/azp run STL-ASan-CI

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@AlexGuteniev
Copy link
Contributor

/azp run STL-ASan-CI

This will not work for a Draft PR, not even with your spell

@StephanTLavavej StephanTLavavej added infrastructure Related to repository automation test Related to test code labels Jan 10, 2026
@StephanTLavavej StephanTLavavej moved this from Initial Review to Work In Progress in STL Code Reviews Jan 10, 2026
@StephanTLavavej
Copy link
Member

It did: https://dev.azure.com/vclibs/STL/_build/results?buildId=20005&view=results

@StephanTLavavej
Copy link
Member

To investigate this while reducing cost, I recommend (1) temporarily altering the test suite to run a single shard with a single test, (2) damaging that test so it will crash, (3) working on your changes to capture a dump as an artifact. That way, you can skip the massive expense of full test runs, and feel less bad about using the CI for development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Related to repository automation test Related to test code

Projects

Status: Work In Progress

Development

Successfully merging this pull request may close these issues.

3 participants