-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Tests failed on WASM with NRE in CustomAttributeTypedArgument.CanonicalizeValue #39473
Comments
Same for unrelated Asn1 test:
|
@akoeplinger and I were looking at this. This is a flaky issue that started happening yesterday morning. @akoeplinger is suspecting of: ef2ecfd#diff-a70a13cf973dcdf79e3a506980ae1a2d I looked at the first build that hit this which ran against the following commits: The commit in question above is not in that tree, however there is: c80cc2a#diff-a70a13cf973dcdf79e3a506980ae1a2d But I don't have enough expertise to know that? Maybe the runtime is returning null when doing This is flaky enough that I was not able to get a repro, but since this is hit when Xunit tries to get attributes for the test to execute, it could hit any test case. |
@vargaz I sent a private job that ran g_warning ("NULL interp_runtime_invoke"); To this if block: runtime/src/mono/mono/mini/interp/interp.c Lines 1915 to 1921 in c80cc2a
And it did print the warning when failed:
So it seems like: c80cc2a is what introduced this regression, right? |
I can't reproduce the failures locally, but it does look like this is the cause, we should revert. |
It reproed 2 times out of 30 runs for System.Memory.Tests and that took like 3 hours to run 😫 |
I also tried the same with a bit more logging to print out the exception stacktrace and it is indeed the NullReferenceException:
We currently think that this might have been there all the time, it's just that c80cc2a now properly propagates the exception instead of hiding it. Since there shouldn't be a way to hit a NullRef in that method we currently think we're hitting some sort of GC bug. |
… invoke in create_cattr_typed/named_arg (). Hopefully fixes dotnet#39473.
… invoke in create_cattr_typed/named_arg (). Hopefully fixes dotnet/runtime#39473.
… invoke in create_cattr_typed/named_arg (). (#20148) Hopefully helps with dotnet/runtime#39473. Co-authored-by: vargaz <vargaz@users.noreply.github.com>
Another hit in: #39854 |
… invoke in create_cattr_typed/named_arg (). (mono#20148) Hopefully helps with dotnet/runtime#39473. Co-authored-by: vargaz <vargaz@users.noreply.github.com>
We think this is fixed with #39856 which is merged now (I ran four helix jobs with a loop of System.Memory.Tests for three hours with no crashes). I'll keep a close eye on the CI results over the next few days. |
… invoke in create_cattr_typed/named_arg (). (dotnet#39774) Hopefully helps with dotnet#39473.
Let's keen an eye and look at the data tomorrow or Monday that will give us an idea as there can be many runs today that checked out sources without this change. |
I checked the data and couldn't find any run that hit this after the fix was merged :) |
Nice job everybody! That was a tough one. |
This looks like a different stack trace. Maybe another bug. @v-haren would you mind opening a new issue? |
Actually that is: #40307 |
… invoke in create_cattr_typed/named_arg (). (dotnet#39774) Hopefully helps with dotnet#39473.
net5.0-Browser-Release-wasm-Mono_Release-Ubuntu.1804.Amd64.Open
https://dev.azure.com/dnceng/public/_build/results?buildId=733324&view=ms.vss-test-web.build-test-results-tab&runId=22691562&resultId=139620&paneView=debug
#39420
The text was updated successfully, but these errors were encountered: