Skip to content
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

[Xamarin.iOS] Crash on System.ExecutionEngineException: Attempting to JIT compile method... #15

Open
ryancheung opened this issue Dec 16, 2020 · 0 comments

Comments

@ryancheung
Copy link

I received the following exception when decompressing brotli file with Stream method:


{System.ExecutionEngineException: Attempting to JIT compile method '(wrapper other) void BrotliSharpLib.Brotli/BrotliDecoderStateStruct:PtrToStructure (intptr,object)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.

at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStructure(intptr,System.Type)
at System.Runtime.InteropServices.Marshal.PtrToStructure[T] (System.IntPtr ptr) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs:930
at BrotliSharpLib.Brotli.CreateStruct[T] () [0x00021] in <8abe3495f7f047ed822d11fb9d962483>:0
at BrotliSharpLib.Brotli.BrotliCreateDecoderState () [0x00000] in <8abe3495f7f047ed822d11fb9d962483>:0
at BrotliSharpLib.BrotliStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen) [0x00079] in <8abe3495f7f047ed822d11fb9d962483>:0
at BrotliSharpLib.BrotliStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode) [0x00000] in <8abe3495f7f047ed822d11fb9d962483>:0
at ...
at ...
base: {System.SystemException}


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant