You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A/V Exceptions in unsafe delegate cause runtime failure #12754
An A/V in an unsafe delegate causes the runtime to crash. See below for example code.
On Windows the dereference of a null is converted to a System.NullReferenceException, but not on Linux. The IL instruction in this case is ldind.i4. Based on Ecma-335, that instruction can trigger a NullReferenceException for null as well as misalignment - which would seem to imply the catch block should handle the invalid dereference.
I believe this was a mistake during testing. Further investigation has been unable to reproduce the crashing behavior - even on the original machine. Closing.
Activity
AaronRobinsonMSFT commentedon May 29, 2019
I believe this was a mistake during testing. Further investigation has been unable to reproduce the crashing behavior - even on the original machine. Closing.