-
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
A/V with from an unrestored MethodTable used in coreclr!JIT_NewArr1 #8408
Comments
It is likely a regression from dotnet/coreclr#12369 @jkotas FYI Note that the MethodTable is mis-aligned at a 0x2 odd address: pArrayMT = 0x00007ffc`2d387a7a |
The callsite in this Jitted generic method:
Note that
Stopping at the start of coreclr!JIT_NewArr1:
We can see that ebx/rbx is 1 So we previously called:
This will call this stub/thunk to (possibly) load a new value for rcx:
So dumping rsi:
So
resulting in: |
This looks like a R2R versioning problem: The convention for I think we should keep the convention the same - for now at least:
|
I plan to open pull request with fix today. |
Small failing test case:
Dump:
Issue is in calling |
…rray method table from type descriptor. Related issue: #12463
…oth MethodTable-based and TypeDesc-based helpers. Related issue: #12463
…oth MethodTable-based and TypeDesc-based helpers. Related issue: #12463
…oth MethodTable-based and TypeDesc-based helpers. Related issue: #12463
…oth MethodTable-based and TypeDesc-based helpers. Related issue: #12463
…oth MethodTable-based and TypeDesc-based helpers. Related issue: #12463
I did rebuild all of the native images using the latest build. So its more than just a version to version compat issue, I believe. |
…oth MethodTable-based and TypeDesc-based helpers. (#12475) Related issue: #12463
Fixed by |
Running the MusicStore App with everything crossgened I get this A/V:
Here is the stack trace:
Here is the A/V location
The text was updated successfully, but these errors were encountered: