-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sporadic unresolved test failures #4308
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This won't solve the underlying problem causing the failure, but will hopefully provide enough info for us to analyze it. Addresses microsoft#4308
This comment was marked as resolved.
This comment was marked as resolved.
assert isinstance(result, tuple)
I believe this is #4268. (The The underlying failure is actually stable, which generally causes FAIL. It seems that the exception essentially comes from here: Lines 74 to 81 in 202e382
Perhaps the |
Changing a runtime test to contain this: // Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <cstdio>
using namespace std;
int main() {
puts("HEAP CORRUPTION DETECTED: before \x8d");
} caused it to reliably emit:
I can fix this. I'm still not sure exactly how the heap corruption is causing the UCRT to get confused when it tries to print the block type, but that's not something we can do anything about (we can fix iostreams someday, and we can fix the Python now). |
We're encountering sporadic unresolved failures. So far, they've always happened with x86 Clang in this test:
Test File
https://github.com/llvm/llvm-project/blob/57f42a8765cd3d878be4fb59ad44c85f8a7ca223/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.members/view.pass.cpp
Occurrences
Output
Thanks to #4323, we have some useful output:
Open Questions
_CrtIsValidHeapPointer
assertion, which is the underlying spurious failure?stringbuf.members/view.pass.cpp
? Is it a library bug in ourbasic_stringbuf
, a test bug, or a compiler bug?UnicodeDecodeError
? Is something about the test output, like the heap contents, tripping it up? Do we need to fix the Python code somewhere, or does the UCRT need to fix its output?The text was updated successfully, but these errors were encountered: