Open srxqds opened 2 weeks ago
Tagging subscribers to this area: @cston See info in area-owners.md if you want to be subscribed.
@lambdageek can you help figure out this issuse?
why the MonoClass* is nullptr, access the offset 0x20, when call __icall_wrapper_mono_marshal_isinst_with_cache
?https://github.com/dotnet/runtime/blob/797306fb84b3cab32ddbea1659b93267e98c3140/src/mono/mono/mini/method-to-ir.c#L9606-L9624
the CHECK_TYPELOAD
will check the klass value.
this will be effected by gc?
the crash code of main branch : https://github.com/dotnet/runtime/blob/797306fb84b3cab32ddbea1659b93267e98c3140/src/mono/mono/metadata/object.c#L6809
the reason maybe the same with this issuse https://github.com/dotnet/runtime/issues/109443
hope it can give you more clues to help analyze.
Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.
hi, @steveisok this issue only rise on production game, not found in development.
it is happened many times, have a great bad impact on our project.
Description
hit crash on android with execute at https://github.com/dotnet/runtime/blob/d2a2a79b2eaf66d68a02f35917907bd9fbe97ea7/src/libraries/System.Linq.Expressions/src/System/Dynamic/Utils/ExpressionUtils.cs#L90
build linq expression in thread and the main thread call gc collect.
Reproduction Steps
we can't reproduct it, but it occur in our production app
Expected behavior
not crash
Actual behavior
crash
Regression?
I don't know, we use 8.0.3 version
Known Workarounds
no
Configuration
No response
Other information
the c backtrace:
we also dump the c# stacktrace when crash:
mabye the main thread is calling gc.collect