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

shorebird patch ios CRASH #2788

Open
devmfouad opened this issue Jan 21, 2025 · 8 comments
Open

shorebird patch ios CRASH #2788

devmfouad opened this issue Jan 21, 2025 · 8 comments
Labels

Comments

@devmfouad
Copy link

i build ipa from my app using shorebird release ios
and it build successfully

i created update to my app and run shorebird patch ios

but it crach and here is log content

`Command: shorebird patch ios --verbose

2025-01-21T13:53:51.932151 �[90mNo checksum provided for patch, skipping file corruption validation�[0m
2025-01-21T13:53:52.274277 �[90mNo checksum provided for aot-tools.dill, skipping file corruption validation�[0m
2025-01-21T13:53:52.281898 �[90m[HTTP] GET https://api.shorebird.dev/api/v1/apps�[0m
2025-01-21T13:53:52.360260 �[?7l�[2K
�[92m⠙�[0m Fetching apps... �[90m(82ms)�[0m
2025-01-21T13:53:52.440073 �[?7l�[2K
�[92m⠹�[0m Fetching apps... �[90m(0.2s)�[0m
2025-01-21T13:53:52.520547 �[?7l�[2K
�[92m⠸�[0m Fetching apps... �[90m(0.2s)�[0m
2025-01-21T13:53:52.599692 �[?7l�[2K
�[92m⠼�[0m Fetching apps... �[90m(0.3s)�[0m
2025-01-21T13:53:52.680813 �[?7l�[2K
�[92mâ ´�[0m Fetching apps... �[90m(0.4s)�[0m
2025-01-21T13:53:52.759848 �[?7l�[2K
�[92m⠦�[0m Fetching apps... �[90m(0.5s)�[0m
2025-01-21T13:53:52.840558 �[?7l�[2K
�[92m⠧�[0m Fetching apps... �[90m(0.6s)�[0m
2025-01-21T13:53:52.883167 �[?7h�[2K
�[92m✓�[0m Fetching apps �[90m(0.6s)�[0m

............

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=SEGV_MAPERR(1), si_addr=0xb61cd09c
version=3.6.0 (stable) (Thu Dec 12 11:58:55 2024 -0600) on "macos_simarm64"
pid=59607, thread=259, isolate_group=isolate(0x7fa33181f400), isolate=isolate(0x7fa331822200)
os=macos, arch=arm64, comp=no, sim=yes
isolate_instructions=0, vm_instructions=0
fp=3051de150, sp=3051de110, pc=100829db4
pc 0x0000000100829db4 fp 0x00000003051de150 dart::kernel::TranslationHelper::DartString(dart::kernel::StringIndex, dart::Heap::Space)+0x44
pc 0x000000010064bb23 fp 0x00000003051df270 dart::Precompiler::DoCompileAll()+0x24b3
pc 0x00000001006492c7 fp 0x00000003051df6f0 dart::Precompiler::CompileAll()+0x957
pc 0x00000001003a4ccc fp 0x00000003051dfe70 dart::bin::CreateIsolateAndSnapshot(dart::bin::CommandLineOptions const&)+0x40dc
pc 0x00000001003a8e7a fp 0x00000003051e0360 main+0x10da
pc 0x0000000200d64366 fp 0x00000003051e0580 Unknown symbol
-- End of DumpStackTrace
=== Crash occurred when compiling unknown function in AOT mode in unknown pass
=== Flow Graph not available
�[0m
2025-01-21T13:57:52.848723 �[?7h�[2K
�[31m✗�[0m Failed to create snapshot:
===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=SEGV_MAPERR(1), si_addr=0xb61cd09c
version=3.6.0 (stable) (Thu Dec 12 11:58:55 2024 -0600) on "macos_simarm64"
pid=59607, thread=259, isolate_group=isolate(0x7fa33181f400), isolate=isolate(0x7fa331822200)
os=macos, arch=arm64, comp=no, sim=yes
isolate_instructions=0, vm_instructions=0
fp=3051de150, sp=3051de110, pc=100829db4
pc 0x0000000100829db4 fp 0x00000003051de150 dart::kernel::TranslationHelper::DartString(dart::kernel::StringIndex, dart::Heap::Space)+0x44
pc 0x000000010064bb23 fp 0x00000003051df270 dart::Precompiler::DoCompileAll()+0x24b3
pc 0x00000001006492c7 fp 0x00000003051df6f0 dart::Precompiler::CompileAll()+0x957
pc 0x00000001003a4ccc fp 0x00000003051dfe70 dart::bin::CreateIsolateAndSnapshot(dart::bin::CommandLineOptions const&)+0x40dc
pc 0x00000001003a8e7a fp 0x00000003051e0360 main+0x10da
pc 0x0000000200d64366 fp 0x00000003051e0580 Unknown symbol
-- End of DumpStackTrace
=== Crash occurred when compiling unknown function in AOT mode in unknown pass
=== Flow Graph not available
�[90m(188.9s)�[0m

2025-01-21T13:57:52.849478 �[90m[Process.run] git symbolic-ref HEAD (in /Users/devmfouad/.shorebird/bin/cache)�[0m
2025-01-21T13:57:52.887486 �[90mExited with code 0�[0m
2025-01-21T13:57:52.887601 �[90m
stdout:
refs/heads/stable
�[0m
2025-01-21T13:57:52.887753 �[90m[Process.run] git rev-parse --verify HEAD (in /Users/devmfouad/.shorebird/bin/cache)�[0m
2025-01-21T13:57:52.908323 �[90mExited with code 0�[0m
2025-01-21T13:57:52.908440 �[90m
stdout:
09dfd60
�[0m
2025-01-21T13:57:52.908563 �[90m[Process.run] git remote prune origin (in /Users/devmfouad/.shorebird/bin/cache)�[0m
2025-01-21T13:57:54.941822 �[90mExited with code 0�[0m
2025-01-21T13:57:54.942939 �[90m[Process.run] git fetch --tags (in /Users/devmfouad/.shorebird/bin/cache)�[0m
2025-01-21T13:57:56.241719 �[90mExited with code 0�[0m
2025-01-21T13:57:56.241902 �[90m[Process.run] git rev-parse --verify @{upstream} (in /Users/devmfouad/.shorebird/bin/cache)�[0m
2025-01-21T13:57:56.263318 �[90mExited with code 0�[0m
2025-01-21T13:57:56.263455 �[90m
stdout:
09dfd60
�[0m`

@devmfouad
Copy link
Author

Image

@bryanoltman
Copy link
Contributor

Can you share your app ID and the release version for which this happened?

@devmfouad
Copy link
Author

app_id: 17f74d2f-6d20-4545-91ad-29bb6617abd4
Release version : 1.0.18+18

@bryanoltman
Copy link
Contributor

It looks like you're using Flutter 3.27.0. Could you try with the latest version of Flutter (3.27.2) and see if this has been resolved?

@devmfouad
Copy link
Author

i upgraded to latest flutter version 3.27.2 and build new release from my app 1.0.19+19
and still same issue appear

Image

Image

@eseidel eseidel added this to 1.1 Jan 24, 2025
@eseidel eseidel moved this to Support Burden in 1.1 Jan 24, 2025
@eseidel eseidel moved this from Support Burden to Todo in 1.1 Jan 24, 2025
@eseidel eseidel added the crash label Jan 24, 2025
@eseidel
Copy link
Contributor

eseidel commented Jan 24, 2025

I seem to recall that this is a mismatch between app.dill and gen_snapshot in version. flutter clean might resolve the problem, but it may also just be our bug here. The engineer whose worked most in this code is out for the next ~10 days or so, but it might be a while before we can get back to you here.

@devmfouad
Copy link
Author

flutter clean not fix the issue waiting for your update ... thanks

@eseidel
Copy link
Contributor

eseidel commented Feb 3, 2025

@felangel is back, I can sync with him later this week (we're digging out some other issues atm).

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

No branches or pull requests

3 participants