Skip to content

simple MAUI application that is obfuscated and targeted for iOS platform crashes in Interpreter mode #107456

Description

@SatishDCelestial

Description

I have a simple MAUI app targeting iOS platform.
The app works fine when interpreter mode is turned off, but crashes when it is turned on.
This makes me believe that the interpreter mode is chocking on some of the IL instructions which work normally in a non-interpreter mode.

Additional information : The app has been obfuscated using preemptive Dotfuscator tool

Steps to Reproduce

  1. build the sample maui app.
  2. obfuscate using preemptive dotfuscator. (license and other details can be provided as necessary)
  3. deploy to an ios device
  4. click button . observe crash
  5. remove " UseInterpreter - true" from the project configuration
  6. build, obfuscate and deploy to ios
  7. Click the button, application doesn't crash

Link to public reproduction project repository

https://github.com/SatishDCelestial/dotnetmauibug

Version with bug

8.0.3 GA

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

Not using interpreter mode is the only workaround and it is not acceptable to the user.

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions