Skip to content

Webassembly AOT Crashes Android Mobile (v96) #62149

@legistek

Description

@legistek

Hi, unfortunately this closed issue seems to have re-emerged.

AOT .NET6 works perfectly in Chrome on Windows but on mobile Android the Webassembly piece starts to load, then gives the "Aw Snap" reload screen of death. Also works perfectly on mobile Chrome when using interpreted mode so this is limited to AOT on Chrome Mobile.

Other info:
Chrome 96.0.4664.45
Android 11
Pixel 4 XL Build RQ3A.210905.001

My co-worker had the same problem on his Pixel 5, but NOT when using the Adblock browser - only Chrome.

I'm afraid I'm not in a position to post code and have not found the minimal reproducible steps yet. I'm hoping someone might understand the basics of what might be going on sufficiently to suggest some diagnostic steps.

BTW, it took me awhile to get around to upgrading to NET6 to try AOT but it's really fantastic. My application is MUCH MUCH faster across the board and honestly the file sizes and startup times aren't any worse than our legacy Angular app primarily because our main JS payload is so much smaller now.

So I really think AOT will be important for mobile devices and will do what I can to assist in finding a solution to this.

Originally posted by @danroth27 in dotnet/aspnetcore#33559 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions