Monday, June 29, 2026
HomeiOS Developmentmultithreading - Flutter crashes on iOS resulting from failing building of a...

multithreading – Flutter crashes on iOS resulting from failing building of a thread

[ad_1]

I simply wished to debug some adjustments I made in my Flutter app on iOS. Began it from VS Code and obtained the next error:

libc++abi: terminating with uncaught exception of kind std::__1::system_error: thread constructor failed: Useful resource quickly unavailable
* thread #1, queue="com.apple.main-thread", cease cause = sign SIGABRT
    body #0: 0x00000001b928e964 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1b928e964 <+8>:  b.lo   0x1b928e984               ; <+40>
    0x1b928e968 <+12>: pacibsp 
    0x1b928e96c <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1b928e970 <+20>: mov    x29, sp
Goal 0: (Runner) stopped.

So far as I perceive and what I discovered on the web, the applying fails to create a thread. Sadly, it doesn’t inform a lot about why this occurs or who’s making an attempt to create the thread.

I attempted a number of issues to cut back the inflicting prospects:

  • used Simulator
  • used actual gadget
  • flutter clear
  • restarted VS Code
  • restarted Mac
  • rolled again my code adjustments
  • set up on gadget as a substitute of debug

None of it adjustments something. Error nonetheless happens. Did not had the possibility to run it from one other Mac.

Does anyone know the error or has a tip of what to do?

flutter physician -v:

[✓] Flutter (Channel secure, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-DE)
    • Flutter model 2.5.3 at /Customers/****/instruments/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 weeks in the past), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart model 2.14.4

[✓] Android toolchain - develop for Android gadgets (Android SDK model 31.0.0)
    • Android SDK at /Customers/****/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Purposes/Android Studio.app/Contents/jre/Contents/Residence/bin/java
    • Java model OpenJDK Runtime Setting (construct 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Purposes/Xcode.app/Contents/Developer
    • Xcode 13.1, Construct model 13A1030d
    • CocoaPods model 1.11.2

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

[✓] Android Studio (model 2020.3)
    • Android Studio at /Purposes/Android Studio.app/Contents
    • Flutter plugin could be put in from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin could be put in from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java model OpenJDK Runtime Setting (construct 11.0.10+0-b96-7249189)

[✓] VS Code (model 1.62.3)
    • VS Code at /Purposes/Visible Studio Code.app/Contents
    • Flutter extension model 3.28.0

[✓] Related gadget (3 out there)
    • MyRealDevice (cellular) • 00008030-0001359001******            • ios            • iOS 15.1 19B74
    • iPhone 13 (cellular)  • 1D5FF828-1E37-4E2B-88E8-B2010FC5DB3E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • Chrome (internet)        • chrome                               • web-javascript • Google Chrome 96.0.4664.55

• No points discovered!

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments