Closed WinJayQ closed 2 months ago
Here is the symbolized stack trace:
Do you build app with Impeller enabled? Can you please try upgrading Flutter SDK to the latest version and retry to see if the crash still persists with the same trace?
Do you build app with Impeller enabled? Can you please try upgrading Flutter SDK to the latest version and retry to see if the crash still persists with the same trace?
Flutter enables Impeller by default on iOS.We didn't actively disable it. Because the upgrade changes are relatively large, we have no plan to upgrade to the latest recently. In addition, this is an occasional bug, which is difficult to reproduce。
Keeping this for further insight. This has a piece of Flutter traces similar to https://github.com/flutter/flutter/issues/126463:
10 Flutter 0x000000011a9534bc operator new(unsigned long) + 12 (new.cpp:67)
11 Flutter 0x000000011a9534bc void* std::_fl::__libcpp_operator_new[abi:v15000]<unsigned long>(unsigned long) + 12 (new:246)
12 Flutter 0x000000011a9534bc std::_fl::__libcpp_allocate[abi:v15000](unsigned long, unsigned long) + 12 (new:272)
This trace doesn't have anything to do with Impeller. Instead the crash seems to be OOM, or invalid ptr, which is likely related to https://github.com/flutter/flutter/issues/149340
@WinJayQ As the issue linked above, it's worth trying this on the latest Flutter stable 3.24.0 to see if the crash occurs on this version or not.
@WinJayQ As the issue linked above, it's worth trying this on the latest Flutter stable 3.24.0 to see if the crash occurs on this version or not.
Ok, we'll consider upgrading the version
If you are able to repro the issue or can confirm it is no longer happening please reopen. Otherwise closing as this is not actionable for us.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Steps to reproduce
This is an occasional crash, I don't know what causes it. testflight feedback some logs.
Code sample
Code sample
```dart [Paste your code here] ```What target platforms are you seeing this bug on?
iOS
OS/Browser name and version | Device information
iPhone 13,iOS 15.2
Does the problem occur on emulator/simulator as well as on physical devices?
Unknown
Logs
Logs
```console Thread 29 Crashed: 0 libsystem_kernel.dylib 0x00000001b7d51964 __pthread_kill + 8 (:-1) 1 libsystem_pthread.dylib 0x00000001f198d378 pthread_kill + 268 (pthread.c:1668) 2 libsystem_c.dylib 0x000000018b5d0420 __abort + 128 (abort.c:155) 3 libsystem_c.dylib 0x000000018b578f5c abort + 176 (abort.c:126) 4 libsystem_malloc.dylib 0x00000001923aba08 malloc_vreport + 552 (malloc_printf.c:183) 5 libsystem_malloc.dylib 0x00000001923abca4 malloc_zone_error + 104 (malloc_printf.c:219) 6 libsystem_malloc.dylib 0x00000001923a6178 nanov2_allocate_from_block + 568 (nanov2_malloc.c:2216) 7 libsystem_malloc.dylib 0x00000001923a521c nanov2_allocate + 128 (nanov2_malloc.c:2591) 8 libsystem_malloc.dylib 0x00000001923a5138 nanov2_malloc + 64 (nanov2_malloc.c:1013) 9 libsystem_malloc.dylib 0x0000000192395258 _malloc_zone_malloc + 156 (malloc.c:1606) 10 Flutter 0x000000011a9534bc operator new(unsigned long) + 12 (new.cpp:67) 11 Flutter 0x000000011a9534bc void* std::_fl::__libcpp_operator_new[abi:v15000]Flutter Doctor output
Doctor output
```console [✓] Flutter (Channel stable, 3.19.5, on macOS 14.6 23G80 darwin-arm64, locale zh-Hans-CN) • Flutter version 3.19.5 on channel stable at /Users/quwenjie/Documents/FlutterSDK/flutter_3.19.5 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 300451adae (5 months ago), 2024-03-27 21:54:07 -0500 • Engine revision e76c956498 • Dart version 3.3.3 • DevTools version 2.31.1 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/quwenjie/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.13.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2023.3) • 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 17.0.10+0-17.0.10b1087.21-11572160) [✓] VS Code (version 1.92.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (7 available) • iPhone14 Pro Max (mobile) • 00008120-0001296C3E83C01E • ios • iOS 18.0 22A5326f • dev的iPhone15Pro (mobile) • 00008130-000E0D0C01F0001C • ios • iOS 17.5.1 21F90 • macOS (desktop) • macos • darwin-arm64 • macOS 14.6 23G80 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.100 ```