-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[wasm][aot] Uncaught errors in System.Runtime.Tests
#74302
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue Details
This is when building
|
This seems that there is |
Could this be
|
@vargaz do you have any ideas ? Thanks! |
@pavelsavara @radical @vargaz I am seeing this failure in this 7.0 backport PR: #74971 Can you please determine if this is something that needs a fix to get backported to 7.0?
From console.f9376408.log in the artifacts:
The
|
It happens on |
Rolling build for 7.0, and log:
|
I can reproduce it on my machine. It takes ~60 attempts to get one failure. I'm trying to capture better trace now. |
This is example when
|
Does it only fail when run from the browser ? |
This is stack trace when the
|
@vargaz is it actionable now ? |
@vargaz this is showing up regularly and we need to resolve it, it looks like some mixed paths aren't handling the unmanaged exception? |
Looking at this one, #74302 (comment), I think Actually I wonder if we're missing a Another thought: do we load/register AOT images asynchronously? is it possible we executed |
Disabling random testcase ordering for this assembly would probably work around the problem. |
If a method is tiered while being run from interp_run_clause_with_il_state (), the clause_args argument to interp_exec_method () still contains the old IL offsets confusing the EH code, i.e. this line: ``` if (clause_args && frame == clause_args->exec_frame && context->handler_ip >= clause_args->end_at_ip) ``` Clear out clause_args at the beginning to avoid this. Hopefully fixes dotnet#76134 dotnet#74302
* [mono][interp] Fix an issue with deopt and interpreter tiering. If a method is tiered while being run from interp_run_clause_with_il_state (), the clause_args argument to interp_exec_method () still contains the old IL offsets confusing the EH code, i.e. this line: ``` if (clause_args && frame == clause_args->exec_frame && context->handler_ip >= clause_args->end_at_ip) ``` Clear out clause_args at the beginning to avoid this. Hopefully fixes #76134 #74302 * [mono][interp] Avoid tiering up methods while running clauses. The IL offsets in the clause_args argument become out-of-date after tiering up.
If a method is tiered while being run from interp_run_clause_with_il_state (), the clause_args argument to interp_exec_method () still contains the old IL offsets confusing the EH code, i.e. this line: ``` if (clause_args && frame == clause_args->exec_frame && context->handler_ip >= clause_args->end_at_ip) ``` Clear out clause_args at the beginning to avoid this. Hopefully fixes #76134 #74302
…ork around dotnet#74302. (dotnet#76287)" This reverts commit 68593dd. dotnet#74302 should be fixed now by a071887.
Diff: https://github.com/dotnet/runtime/compare/d337cba786fa105d1b97ebe5e2f7f89ff0361627..5108757b997c59ab8ba1fc5309ab0d4e730e2b77 From: dotnet/runtime@d337cba To: dotnet/runtime@5108757 Commits: - Remove libstdc++ dependency from NativeAOT (#76705) dotnet/runtime@546fad9 - Add support for using sccache on Unix (#76889) dotnet/runtime@fc0e636 - Reintroduce typo in ICorDebug public API names (#76966) dotnet/runtime@e216458 - Disable JIT/opt/OSR/pinnedlocal on all Mono flavors (#76980) dotnet/runtime@c6235cd - Cleaner way of specifying environment variables for tests (#76458) dotnet/runtime@e514819 - Revert "Revert "Reduce CoreCLR PAL"" (#76972) dotnet/runtime@e6f3aa9 - Remove unused code from RegexGenerator (#76951) dotnet/runtime@15aeb77 - Improve HTTP/1 response header parsing (#74393) dotnet/runtime@d2d5ad3 - JIT: Fix profiler tail call insertion logic for FIELD_LIST (#76883) dotnet/runtime@8b999ee - [tvOS] Disable crashing test (#76952) dotnet/runtime@6556178 - Mark the port as implicit for empty values in Cookie (#76143) dotnet/runtime@a41ac2c - Reintroduce ICorDebug typo in Mono partition as well (#77002) dotnet/runtime@2244605 - Include hostcommon sources in hostfxr static library (#75858) dotnet/runtime@7c4bd4f - [PERF][MAUI] Update Maui build mac version (#76945) dotnet/runtime@b8cab1c - Improve the performance of Equals* for Vector128 and Vector on Arm64 (#76944) dotnet/runtime@b00ad94 - Fix insertion of alignment after BBJ_CALLFINALLY/BBJ_ALWAYS (#76988) dotnet/runtime@9086686 - [wasm] event pipe tweaks (#76994) dotnet/runtime@54c4a4b - ActivatorUtilities not depending on ctor order for creating instances (#75846) dotnet/runtime@f58cee2 - retire EOL Fedora 34 (#76902) dotnet/runtime@be5b26f - Disable the hugeexpr1 test failing intermittently with issue #74555 (#76950) dotnet/runtime@664d7c6 - [PERF] Fix Linux arm64 AOT ROOTFS_DIR missing (Less Impactful) (#77027) dotnet/runtime@ff4d324 - Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2020499 (#76907) dotnet/runtime@9d19137 - [main] Update dependencies from 10 repositories (#76811) dotnet/runtime@d4f078b - Use BitOperations in more places (#76933) dotnet/runtime@004d732 - Enable visual styles for host error dialog via activation context (#76762) dotnet/runtime@8bc9a07 - Add overloads to ReadFromJsonAsync (#75989) dotnet/runtime@65d2064 - Try changing alignment (#76451) dotnet/runtime@d47767a - use byte load instruction in OP_CHECK_THIS instead of double word instruction (#76990) dotnet/runtime@3b1df93 - [mono][interp] Fix an issue with deopt and interpreter tiering. (#76743) dotnet/runtime@a071887 - Remove closed issues from issues.targets (#77021) dotnet/runtime@8a9ca1a - API Debt - Microsoft.Extensions.Hosting (#76692) dotnet/runtime@2eee1ca - Revert "[wasm] Run System.Runtime tests in a deterministic order to work around dotnet/runtime#74302. (#76287)" (#77063) dotnet/runtime@c3bee84 - Align env var lookup in clrconfig and jithost (#77025) dotnet/runtime@d2b6ce6 - JIT: minor cleanup of some inlining methods (#77009) dotnet/runtime@bd3c1a4 - Fixed a typo in a variable name (#77062) dotnet/runtime@0ef6f9e - Updated nuget project model version from 6.2.1 to 6.2.2. (#77057) dotnet/runtime@9567f27 - Update comment (#77075) dotnet/runtime@9bcbf50 - Cleanup file descriptions baked into Windows unmanaged .dlls (#77080) dotnet/runtime@4a8c04c - Add "_generated.*" suffix to some auto-generated files (#77083) dotnet/runtime@9e7a8a1 - Delete unused extension (#77088) dotnet/runtime@8ed6b13 - Leverage the shipping, roslyn based ApiCompat in dotnet/runtime (#73263) dotnet/runtime@960e4d7 - Fix Typo (#77104) dotnet/runtime@6dc9a74 - NativeAOT: remove some headers that are not needed (#77042) dotnet/runtime@59f14ac - [main] Update dependencies from dotnet/linker (#76779) dotnet/runtime@4941a08 - Use hashcodes when looking up the JsonSerializerOptions global cache. (#76782) dotnet/runtime@fe921e0 - Fix ILLink running in incremental builds (#77110) dotnet/runtime@3e8a5b1 - Fix loading app-local ICU (#77065) dotnet/runtime@a54293e - #76596 update icu version for norwegian culture (#77003) dotnet/runtime@4574ccb - Emit ICorProfiler ModuleLoadFinished for dynamic modules (#77068) dotnet/runtime@3ba1dd2 - [NativeAOT] fix debug assert on large number of virtual methods (#77106) dotnet/runtime@8393c4e - Update area-System.IO.Pipelines lead (#77111) dotnet/runtime@3f600a1 - Avoid runtime "atomic write" check in ConcurrentDictionary for shared generics (#77005) dotnet/runtime@e8fa4a7 - JIT: Evaluate GDV call args early (#75634) dotnet/runtime@10fc8ae - use mono_class_interface_offset_with_variance for interface offset in MONO_RGCTX_INFO_VIRT_METHOD_CODE (#77113) dotnet/runtime@8a24ff0 - [mono][workload] Add workloads for win-arm64 using emulation (#68994) dotnet/runtime@cd66496 - Don't check handles in substitution (#76730) dotnet/runtime@7ac397e - Update Unix dependencies installation script (#77107) dotnet/runtime@3837c2a - Update README.md's to use "contribution bar" (#77134) dotnet/runtime@0796729 - Logging API doc additions (#77127) dotnet/runtime@0ba8b10 - JIT: fix out of bounds read during SPMI collection (#77147) dotnet/runtime@618e890 - API Debt - Microsoft.Extensions.DependencyInjection (#76940) dotnet/runtime@f7e6cf1 - Move leap seconds DateTime configuration statics into LeapSecondCache class (#77163) dotnet/runtime@570b373 - Modify __int64 definition in PAL to match the OS definition (#77056) dotnet/runtime@fda2fee - Update Strings.resx (#77175) dotnet/runtime@e55ece6 - Swallow MSDTC availability exceptions for CI test reliability (#77023) dotnet/runtime@fdcbc7b - Fixes a wrong not node insertion producing broken lir range on macos arm64 (#77166) dotnet/runtime@e7ca4a8 - Don't generate a nearly empty file (#76835) dotnet/runtime@ba99b91 - Use DOTNET_ variables in tests (#76997) dotnet/runtime@51e3afb - JIT: avoid LCL_FLD stress for locals that already have LCL_FLD appear… (#77082) dotnet/runtime@bd7e1cb - Fix regression when serializing untyped polymorphic root-level custom converters. (#77186) dotnet/runtime@5ef4c68 - [main] Update dependencies from dotnet/arcade (#76924) dotnet/runtime@b48c3ab - [main] Update dependencies from 7 repositories (#77043) dotnet/runtime@b6852e0 - Add missing docs for `M.E.Configuration.Xml` (#77188) dotnet/runtime@b8653dd - [mono][sgen] Fix detection of weakref objects (#77170) dotnet/runtime@31d4e3a - [wasm][debugger] Remove `JToken` properties that are for internal use only (#75958) dotnet/runtime@acb4564 - [ppc64le] Fixed FSharp crash issue (#77201) dotnet/runtime@10d342c - [JIT] ARM64 - Do not allow move and shifting with MSL on 16-bit vectors (#77123) dotnet/runtime@6c949f5 - [PERF][MAUI] Update Nuget.config branch for Maui workload install net7.0 (#77231) dotnet/runtime@6eb3ccb - Fold 'static readonly single-field-struct' to constants (#77102) dotnet/runtime@888ad2b - Add IR support for modeling multiple SSA definitions as one store (#76139) dotnet/runtime@2b61381 - [JIT] X64 - Three instruction replacement sequence for multiply in certain cases (#76981) dotnet/runtime@ccd9d16 - Add missing tests for NamedPipes (#72956) dotnet/runtime@88aea31 - [wasm] few JS interop tests (#77218) dotnet/runtime@9674537 - [wasm][debugger] Remove non-deterministic signals from debugger tests. (#77038) dotnet/runtime@a17d3d2 - [mono][interp] Don't use mov.vt when storing into primitive type fields (#77221) dotnet/runtime@12f9f91 - JIT: Support delegate GDV guards in loop cloning (#75140) dotnet/runtime@17d613e - Update dependencies from https://github.com/dotnet/linker build 20221018.2 (#77214) dotnet/runtime@57f64d9 - [wasm] Template nits 2 (#77205) dotnet/runtime@95d36a9 - Added snake and kebab naming policies to JSON serializer (#69613) dotnet/runtime@24813dc - [wasm] IDBFS test dotnet/runtime@7d06aff - Remove more swprintf_s uses (#77228) dotnet/runtime@35f4967 - Update .vsconfig file (#77189) dotnet/runtime@fce9117 - Make sure all heap segment fields are populated in the DAC (#77035) dotnet/runtime@a46a28e - Update System.Speech to Eric/Jeff (#77142) dotnet/runtime@b1aa168 - Fixes issue when monitoring a process launched via the same command line (#76965) dotnet/runtime@a32feb0 - Add [DebuggerStepThrough] to MulticastDelegate constructors. (#77132) dotnet/runtime@6e51009 - Port stackoverflow fix from Roslyn to SourceGenerator PolyFill (#76955) dotnet/runtime@6e6032c - Trim file type bits from mode header (#77151) dotnet/runtime@e242819 - Fix a signed/unsigned comparison warning (#77230) dotnet/runtime@9aaa21d - Modify ARM64 thunktemplates.S to make it work with GNU ld (#77275) dotnet/runtime@de5b185 - Adds `ActivatorUtilities.CreateFactory<T>` API (#77185) dotnet/runtime@e542a20 - Fix dotnet-pgo (#77259) dotnet/runtime@be7d6f5 - Don't invoke EnsureInstructionSetFlagsAreValid all the time in JIT (#77237) dotnet/runtime@ddebaf5 - Add new version of the ContentionStart event (#72627) dotnet/runtime@69a1da6 - Remove uses of PAL's `swprintf_s` from mono. (#77284) dotnet/runtime@9c35cfd - Fix recurisve `Monitor.TryEnter` to not return false due to a condition (#77243) dotnet/runtime@ffea6de - Fix the __int64 to be long long on macOS only (#77268) dotnet/runtime@4fc3eb4 - Fix link (#77297) dotnet/runtime@76c960b - [mono][jit] Disable inlining for constrained calls on gshared parameters. (#77274) dotnet/runtime@3df94de - Migrate host.tests from Newtonsoft to STJ (#76901) dotnet/runtime@b4a3c68 - Clearing all cards for free regions (#77224) dotnet/runtime@4708ca8 - Remove _fdopen from PAL (#77272) dotnet/runtime@d5151dc - Fix GCShadow for regions (#77011) dotnet/runtime@50f7ab6 - [ppc64le] Implementation of mono_arch_get_delegate_virtual_invoke_impl method for ppc64le architecture (#77308) dotnet/runtime@7ebeed1 - Filter out addresses that are not in bookkeeping range during background promote (#77067) dotnet/runtime@2acef87 - Simplify DynamicMethod arg validation (#77277) dotnet/runtime@43552c6 - [wasm] Misc fixes (#76942) dotnet/runtime@3cb7f5a - JIT: Clean up inliner substitution (#77176) dotnet/runtime@c34ccb1 - [tests][Android] ReAdd Android library test jobs (#77280) dotnet/runtime@1b4f17b - Sync shared code from aspnetcore (#77323) dotnet/runtime@b5a27cd - Fix `CacheEntryExtensions.SetValue()`'s signature to allow `null` values (#77305) dotnet/runtime@f436780 - Rename COMPlus_ to DOTNET_ (#77321) dotnet/runtime@77331bb - Remove some unnecessary path manipulation helpers (#77301) dotnet/runtime@2f9418d - JIT: Use metadata names for SIMD intrinsic method recognition (#76786) dotnet/runtime@3f40c3d - Update Value of TwoDigitYearMax to 2049 (#76848) dotnet/runtime@ebf4ea7 - Delete removed tests from list (#77344) dotnet/runtime@4238ef0 - Set DNER for all local fields (#77341) dotnet/runtime@4e85471 - [mono][interp] Small improvements to get span item (#77331) dotnet/runtime@72eb39c - [Android][tests] Replace hardcoded /tmp path (#77291) dotnet/runtime@33cb335 - Temporary instrumentation for #76280 (#77365) dotnet/runtime@e232f79 - Add ReadOnly{Observable}Collection/Dictionary.Empty (#76764) dotnet/runtime@bbcff6b - SmtpClientTest Assertion Fail Fix (#76361) dotnet/runtime@c092a76 - SPMI: Fix repPrintObjectDescription and repGetStringLiteral (#77372) dotnet/runtime@1c265ec - Revert "Override ReadAsync and WriteAsync methods on ConsoleStream. (#71971)" (#77360) dotnet/runtime@58a1180 - Update def flags in gtCloneExpr (#77378) dotnet/runtime@cc140fc - Fix comment (#77226) dotnet/runtime@2d8379d - [wasm] Add `IMemoryView` as exported type (#77371) dotnet/runtime@41db775 - Fold primitive-typed access to promoted structs in local morph and forbid mismatched struct assignments (#76766) dotnet/runtime@76cf397 - Fix copy propagation dump (#77389) dotnet/runtime@0c0102d - Detriplicate internal SingleProducerSingleConsumerQueue (#76932) dotnet/runtime@70fb135 - Fix reported PriorityQueue issue. (#77229) dotnet/runtime@090003a - SPMI: More information on CI failures (#77361) dotnet/runtime@9290f85 - Consolidate the `GUID` to string logic (#77394) dotnet/runtime@a394aea - Add null check before calling Path.GetFullPath (#76696) dotnet/runtime@5108757 [[ commit created by automation ]]
…tiering. (#77059) * [mono][interp] Fix an issue with deopt and interpreter tiering. If a method is tiered while being run from interp_run_clause_with_il_state (), the clause_args argument to interp_exec_method () still contains the old IL offsets confusing the EH code, i.e. this line: ``` if (clause_args && frame == clause_args->exec_frame && context->handler_ip >= clause_args->end_at_ip) ``` Clear out clause_args at the beginning to avoid this. Hopefully fixes #76134 #74302 * [mono][interp] Avoid tiering up methods while running clauses. The IL offsets in the clause_args argument become out-of-date after tiering up. Co-authored-by: Zoltan Varga <vargaz@gmail.com>
Does this still happen ? |
-> Fixed |
Build, and log:
This is when building
[wasm] Unwrap exception when calling entrypoint (#74235)
onmain
./cc @maraf @pavelsavara
The text was updated successfully, but these errors were encountered: