Repository: flutter
Issue: crash in ios
Labels: waiting for customer response,in triage

```
version=3.6.1 (stable) (Tue Jan 7 09:50:00 2025 -0800) on "ios_arm64"
pid=39791, thread=32771, isolate_group=main(0x116c72800), isolate=main(0x110549000)
os=ios, arch=arm64, comp=no, sim=no
isolate_instructions=11777b5a0, vm_instructions=11777b5a0
fp=16b9efb80, sp=16b9efb60, pc=1181cd87c
  pc 0x00000001181cd87c fp 0x000000016b9efb80 Dart_DumpNativeStackTrace+0x18
  pc 0x0000000117d7eed0 fp 0x000000016b9efba0 dart::Assert::Fail(char const*, ...) const+0x30
  pc 0x0000000117eb509c fp 0x000000016b9f0000 dart::OSThread::Start(char const*, void (*)(unsigned long), unsigned long)+0xf8
  pc 0x0000000117f48050 fp 0x000000016b9f0460 dart::ThreadPool::RunImpl(std::_fl::unique_ptr<dart::ThreadPool::Task, std::_fl::default_delete<dart::ThreadPool::Task>>)+0x100
  pc 0x0000000117e2cd08 fp 0x000000016b9f04a0 dart::NativeMessageHandler::PostMessage(std::_fl::unique_ptr<dart::Message, std::_fl::default_delete<dart::Message>>, bool)+0x60
  pc 0x0000000117eb70e8 fp 0x000000016b9f04d0 dart::PortMap::PostMessage(std::_fl::unique_ptr<dart::Message, std::_fl::default_delete<dart::Message>>, bool)+0x9c
  pc 0x00000001181cd914 fp 0x000000016b9f09d0 dart::PostCObjectHelper(long long, _Dart_CObject*)+0x78
  pc 0x0000000117d030e0 fp 0x000000016b9f0b90 dart::bin::CertificateVerificationCallback(ssl_st*, unsigned char*)+0x428
  pc 0x0000000117ccf33c fp 0x000000016b9f0be0 bssl::ssl_verify_peer_cert(bssl::SSL_HANDSHAKE*)+0x5c
  pc 0x0000000117cd0c2c fp 0x000000016b9f0f40 bssl::ssl_client_handshake(bssl::SSL_HANDSHAKE*)+0x990
  pc 0x0000000117cdeaa8 fp 0x000000016b9f0fc0 SSL_do_handshake+0x1dc
  pc 0x0000000117cf9148 fp 0x000000016b9f0ff0 dart::bin::SSLFilter::Handshake(long long)+0x20
  pc 0x0000000117cf9278 fp 0x000000016b9f1020 dart::bin::Builtin_SecureSocket_Handshake(_Dart_NativeArguments*)+0x50
  pc 0x0000000117e2c648 fp 0x000000016b9f1090 dart::NativeEntry::AutoScopeNativeCallWrapperNoStackCheck(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*))+0x198
  pc 0x000000011a5037f0 fp 0x000000016b9f10d0 Unknown symbol
  pc 0x000000013f6a3678 fp 0x000000016b9f1118 Unknown symbol
  pc 0x000000015132c780 fp 0x000000016b9f11c8 Unknown symbol
  pc 0x000000013f6a2e54 fp 0x000000016b9f1238 Unknown symbol
  pc 0x000000014f0c8880 fp 0x000000016b9f12e8 Unknown symbol
  pc 0x000000014f0a22a4 fp 0x000000016b9f1330 Unknown symbol
  pc 0x000000014f0929a8 fp 0x000000016b9f13c8 Unknown symbol
  pc 0x000000014d9a9250 fp 0x000000016b9f1420 Unknown symbol
  pc 0x000000014d99f0c8 fp 0x000000016b9f14b0 Unknown symbol
  pc 0x000000014d9a7040 fp 0x000000016b9f1530 Unknown symbol
  pc 0x000000014d9a3054 fp 0x000000016b9f1598 Unknown symbol
  pc 0x0000000145a03920 fp 0x000000016b9f15f0 Unknown symbol
  pc 0x000000014f0cc0fc fp 0x000000016b9f1628 Unknown symbol
  pc 0x000000011a50d4e0 fp 0x000000016b9f1658 Unknown symbol
  pc 0x000000014f0a22a4 fp 0x000000016b9f16a0 Unknown symbol
  pc 0x000000014f0929a8 fp 0x000000016b9f1738 Unknown symbol
  pc 0x000000014d9a9250 fp 0x000000016b9f1790 Unknown symbol
  pc 0x000000014d99f0c8 fp 0x000000016b9f1820 Unknown symbol
  pc 0x000000014d9a7040 fp 0x000000016b9f18a0 Unknown symbol
  pc 0x000000014d9a3054 fp 0x000000016b9f1908 Unknown symbol
  pc 0x0000000145a03920 fp 0x000000016b9f1960 Unknown symbol
  pc 0x000000014f0bedd0 fp 0x000000016b9f1998 Unknown symbol
  pc 0x000000014f0afb1c fp 0x000000016b9f1a38 Unknown symbol
  pc 0x000000014f0a8d4c fp 0x000000016b9f1a88 Unknown symbol
  pc 0x000000014f0834ac fp 0x000000016b9f1b38 Unknown symbol
  pc 0x000000014f0af2f0 fp 0x000000016b9f1b70 Unknown symbol
  pc 0x000000014f0c8048 fp 0x000000016b9f1bd8 Unknown symbol
  pc 0x000000014f0b19c4 fp 0x000000016b9f1c00 Unknown symbol
  pc 0x000000011a503af4 fp 0x000000016b9f1cd0 Unknown symbol
  pc 0x0000000117dcda98 fp 0x000000016b9f1d60 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&)+0x210
  pc 0x00000001181c7304 fp 0x000000016b9f1e70 Dart_InvokeClosure+0x4f4
  pc 0x0000000117d1dd4c fp 0x000000016b9f1f00 tonic::DartMicrotaskQueue::RunMicrotasks()+0xd4
  pc 0x00000001177f3b00 fp 0x000000016b9f1fe0 fml::MessageLoopImpl::FlushTasks(fml::FlushType)+0x3ec
  pc 0x00000001177f7ac4 fp 0x000000016b9f2000 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)+0x20
  pc 0x000000018d4d6894 fp 0x000000016b9f2010 <redacted>+0x20
  pc 0x824880018d4d6538 fp 0x000000016b9f20d0 <redacted>+0x82488000000003f4
  pc 0x0b0e00018d4d608c fp 0x000000016b9f2130 <redacted>+0xb0e000000000120
  pc 0x8e4780018d4753b4 fp 0x000000016b9f2ea0 <redacted>+0x8e47800000000740
  pc 0x8d6c00018d474830 fp 0x000000016b9f2f30 CFRunLoopRunSpecific+0x8d6c00000000024c
  pc 0x14720001177f7bb0 fp 0x000000016b9f2f70 fml::MessageLoopDarwin::Run()+0x1472000000000058
  pc 0x00000001177f6cb0 fp 0x000000016b9f2fa0 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()()+0xb4
  pc 0x00000001177f69c0 fp 0x000000016b9f2fc0 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*)+0x24
  pc 0x00000002159a937c fp 0x000000016b9f2fe0 _pthread_start+0x88
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x000000016b9f10d0 sp 0x0000000000000000 [Stub] CallAutoScopeNative
  pc 0x000000013f6a3678 fp 0x000000016b9f1118 sp 0x000000016b9f10e0 [Unoptimized] _SecureFilterImpl@15069316._handshake@15069316
  pc 0x000000015132c780 fp 0x000000016b9f11c8 sp 0x000000016b9f1128 [Optimized] _SecureFilterImpl@15069316.handshake
  pc 0x000000013f6a2e54 fp 0x000000016b9f1238 sp 0x000000016b9f11d8 [Unoptimized] _RawSecureSocket@15069316._secureHandshake@15069316
  pc 0x000000014f0c8880 fp 0x000000016b9f12e8 sp 0x000000016b9f1248 [Optimized] _RawSecureSocket@15069316._tryFilter@15069316
  pc 0x000000014f0a22a4 fp 0x000000016b9f1330 sp 0x000000016b9f12f8 [Optimized] _SuspendState@5048458._createAsyncCallbacks@5048458.thenCallback
  pc 0x000000014f0929a8 fp 0x000000016b9f13c8 sp 0x000000016b9f1340 [Optimized] _rootRunUnary@5048458
  pc 0x000000014d9a9250 fp 0x000000016b9f1420 sp 0x000000016b9f13d8 [Optimized] _rootRunUnary@5048458
  pc 0x000000014d99f0c8 fp 0x000000016b9f14b0 sp 0x000000016b9f1430 [Optimized] _FutureListener@5048458.handleValue
  pc 0x000000014d9a7040 fp 0x000000016b9f1530 sp 0x000000016b9f14c0 [Optimized] _Future@5048458._propagateToListeners@5048458.handleValueCallback
  pc 0x000000014d9a3054 fp 0x000000016b9f1598 sp 0x000000016b9f1540 [Optimized] _Future@5048458._propagateToListeners@5048458
  pc 0x0000000145a03920 fp 0x000000016b9f15f0 sp 0x000000016b9f15a8 [Optimized] _Future@5048458._completeWithValue@5048458
  pc 0x000000014f0cc0fc fp 0x000000016b9f1628 sp 0x000000016b9f1600 [Optimized] _SuspendState@5048458._returnAsyncNotFuture@5048458
  pc 0x000000011a50d4e0 fp 0x000000016b9f1658 sp 0x000000016b9f1638 [Stub] ReturnAsyncNotFuture
  pc 0x000000014f0a22a4 fp 0x000000016b9f16a0 sp 0x000000016b9f1668 [Optimized] _SuspendState@5048458._createAsyncCallbacks@5048458.thenCallback
  pc 0x000000014f0929a8 fp 0x000000016b9f1738 sp 0x000000016b9f16b0 [Optimized] _rootRunUnary@5048458
  pc 0x000000014d9a9250 fp 0x000000016b9f1790 sp 0x000000016b9f1748 [Optimized] _rootRunUnary@5048458
  pc 0x000000014d99f0c8 fp 0x000000016b9f1820 sp 0x000000016b9f17a0 [Optimized] _FutureListener@5048458.handleValue
  pc 0x000000014d9a7040 fp 0x000000016b9f18a0 sp 0x000000016b9f1830 [Optimized] _Future@5048458._propagateToListeners@5048458.handleValueCallback
  pc 0x000000014d9a3054 fp 0x000000016b9f1908 sp 0x000000016b9f18b0 [Optimized] _Future@5048458._propagateToListeners@5048458
  pc 0x0000000145a03920 fp 0x000000016b9f1960 sp 0x000000016b9f1918 [Optimized] _Future@5048458._completeWithValue@5048458
  pc 0x000000014f0bedd0 fp 0x000000016b9f1998 sp 0x000000016b9f1970 [Optimized] _Future@5048458._asyncCompleteWithValue@5048458.<anonymous closure>
  pc 0x000000014f0afb1c fp 0x000000016b9f1a38 sp 0x000000016b9f19a8 [Optimized] _rootRun@5048458
  pc 0x000000014f0a8d4c fp 0x000000016b9f1a88 sp 0x000000016b9f1a48 [Optimized] _rootRun@5048458
  pc 0x000000014f0834ac fp 0x000000016b9f1b38 sp 0x000000016b9f1a98 [Optimized] _CustomZone@5048458.runGuarded
  pc 0x000000014f0af2f0 fp 0x000000016b9f1b70 sp 0x000000016b9f1b48 [Optimized] _CustomZone@5048458.bindCallbackGuarded.<anonymous closure>
  pc 0x000000014f0c8048 fp 0x000000016b9f1bd8 sp 0x000000016b9f1b80 [Optimized] _startMicrotaskLoop@5048458
  pc 0x000000014f0b19c4 fp 0x000000016b9f1c00 sp 0x000000016b9f1be8 [Optimized] _startMicrotaskLoop@5048458
  pc 0x000000011a503af4 fp 0x000000016b9f1cd0 sp 0x000000016b9f1c10 [Stub] InvokeDartCode

```

flutter doctor -v
[✓] Flutter (Channel stable, 3.27.3, on macOS 15.2 24C101 darwin-arm64, locale en-IN)
    • Flutter version 3.27.3 on channel stable at /Users/sahilyadav/Devlopment/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c519ee916e (6 days ago), 2025-01-21 10:32:23 -0800
    • Engine revision e672b006cb
    • Dart version 3.6.1
    • DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/sahilyadav/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16C5032a
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)

[✓] VS Code (version 1.96.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] VS Code (version 1.96.4)
    • VS Code at /Applications/Visual Studio Code 2.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • Sahil’s iPhone (mobile)         • 00008120-001208492632201E • ios            • iOS 18.1.1 22B91
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.2 24C101 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 15.2 24C101 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 131.0.6778.265
    ! Error: Browsing on the local area network for Nitin’s iphone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

• No issues found!