-
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
iOS: error: Ran out of trampolines of type 1 in '/private/var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/System.Private.CoreLib.dll' (limit 0). #47047
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @CoffeeFlux Issue DetailsDescriptioniOS App crashes upon launch on device with:
Repro: git clone https://github.com/rolfbjarne/xamarin-macios
cd xamarin-macios
git checkout dotnet-dontlink-trampoline-inexistence
./configure --enable-dotnet --enable-xamarin
make reset
make all -j8
make install -j8
make dontlink -C tests/dotnet Output:
Configuration.NET 6.0.100-alpha.1.21060.3 Binlog: Regression?No Other infoThis might be size related: this crash only occurs when the linker is disabled (the app is 446MB).
|
@marek-safar @vargaz is this something that could be looked at? |
ios is using infinite trampolines, at least on arm64, so this shouldn't happen. |
yeah, I've wondered if it's just a build problem where a define isn't set. |
Different parts of our stack keep updating :/ In any case:
If you get a bunch of errors about "One or more errors occurred. (Permission denied)", then you need to do this:
|
This seems fixed in the latest versions of .NET 6. |
Description
iOS App crashes upon launch on device with:
Repro:
git clone https://github.com/rolfbjarne/xamarin-macios --recurse-submodules
(my fork, not from the xamarin org)git checkout dotnet-runtime-issue-47047
make reset
make run -C "tests/linker/ios/dont link/dotnet/iOS"
The last step will build & run the test project that crashes on a connected device.
Configuration
Binlog: run.binlog.zip
Build.txt: build.txt.zip
Other info
This might be size related: this crash only occurs when the linker is disabled (the app is 446MB).
The text was updated successfully, but these errors were encountered: