The app crashes when using the Impeller.
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
When I compile the app with Flutter 3.27.4 and install it on the vivo Y77 (Android version: 12; ABI: arm64-v8a), the app crashes.
Crash info
```dart
[2025-12-15 14:59:02.408] [19299] [19299] [7] [DEBUG] : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[2025-12-15 14:59:02.408] [19299] [19299] [7] [DEBUG] : Build fingerprint: 'vivo/PD2219/PD2219:12/SP1A.210812.003/compiler01031103:user/release-keys'
[2025-12-15 14:59:02.408] [19299] [19299] [7] [DEBUG] : Revision: '0'
[2025-12-15 14:59:02.408] [19299] [19299] [7] [DEBUG] : ABI: 'arm64'
[2025-12-15 14:59:02.408] [19299] [19299] [7] [DEBUG] : Timestamp: 2025-12-15 14:59:02.093203655+0800
[2025-12-15 14:59:02.408] [19299] [19299] [7] [DEBUG] : Process uptime: 0s
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : Cmdline: com.xxx.xxxxxxxxx
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : pid: 19169, tid: 19209, name: io.worker.1 >>> com.xxx.xxxxxxxxx <<<
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : uid: 10245
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : tagged_addr_ctrl: 0000000000000001
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : Abort message: 'Scudo ERROR: invalid chunk state when deallocating address 0x200007bd67b9bd0
'
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x0 0000000000000000 x1 0000000000004b09 x2 0000000000000006 x3 0000007b0b41b200
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x4 0000000000808080 x5 0000000000808080 x6 0000000000808080 x7 8080800000000000
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x8 00000000000000f0 x9 0000007e41b7a120 x10 0000000000000000 x11 ffffff80fffffbdf
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x12 0000000000000001 x13 000000007fffffff x14 00000000002e1d94 x15 0000000000000070
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x16 0000007e41c18050 x17 0000007e41bf50c0 x18 0000007b07b86000 x19 0000000000004ae1
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x20 0000000000004b09 x21 00000000ffffffff x22 0000000000000000 x23 0000000000000000
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x24 b400007ca67d8ad8 x25 b400007ca67d8a90 x26 0000000000000001 x27 0000000000000004
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : x28 0000000000000001 x29 0000007b0b41b280
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : lr 0000007e41ba7814 sp 0000007b0b41b1e0 pc 0000007e41ba7844 pst 0000000000001000
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : backtrace:
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #00 pc 000000000004f844 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 66a3c7f4a7e769b621f3220a14d1651c)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #01 pc 0000000000040220 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+8) (BuildId: 66a3c7f4a7e769b621f3220a14d1651c)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #02 pc 000000000004088c /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+32) (BuildId: 66a3c7f4a7e769b621f3220a14d1651c)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #03 pc 0000000000040ac0 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+76) (BuildId: 66a3c7f4a7e769b621f3220a14d1651c)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #04 pc 00000000000420bc /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+308) (BuildId: 66a3c7f4a7e769b621f3220a14d1651c)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #05 pc 00000000000abcec /vendor/lib64/mt6855/libsrv_um.so (BuildId: 61e722e8bb19b73813d85972b326ce57)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #06 pc 00000000000abac4 /vendor/lib64/mt6855/libsrv_um.so (BuildId: 61e722e8bb19b73813d85972b326ce57)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #07 pc 00000000000b393c /vendor/lib64/mt6855/libsrv_um.so (BuildId: 61e722e8bb19b73813d85972b326ce57)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #08 pc 0000000000097144 /vendor/lib64/mt6855/libsrv_um.so (BuildId: 61e722e8bb19b73813d85972b326ce57)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #09 pc 0000000000085e34 /vendor/lib64/mt6855/libsrv_um.so (RGXTDMPrepare+328) (BuildId: 61e722e8bb19b73813d85972b326ce57)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #10 pc 000000000008267c /vendor/lib64/hw/mt6855/vulkan.mtk.so (BuildId: dafc4eee0385cb5c18d0956803894d07)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #11 pc 00000000000832f4 /vendor/lib64/hw/mt6855/vulkan.mtk.so (BuildId: dafc4eee0385cb5c18d0956803894d07)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #12 pc 0000000000790a74 /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #13 pc 00000000004e6658 /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #14 pc 00000000007ef6ec /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #15 pc 00000000007efbd8 /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #16 pc 00000000004808e4 /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #17 pc 00000000007eef00 /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #18 pc 00000000007eebe4 /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #19 pc 000000000047cfa8 /data/app/~~d4m9wEARLguWh0WAxw22qw==/com.xxx.xxxxxxxxx-r8aWRzqlT-qhweUo6dKGLQ==/base.apk!libflutter.so (BuildId: 31386f7abec07a9f7e731afe5e1e3d88369bf766)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #20 pc 00000000000b1ae8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+224) (BuildId: 66a3c7f4a7e769b621f3220a14d1651c)
[2025-12-15 14:59:02.409] [19299] [19299] [7] [DEBUG] : #21 pc 00000000000512a0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 66a3c7f4a7e769b621f3220a14d1651c)
```
When I use the code below to disable Impeller, the app functions properly without any crashes.
``
### Flutter Doctor output
Doctor output
```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.4, on macOS 15.6 24G84 darwin-arm64, locale
zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 16.4)
! CocoaPods 1.12.1 out of date (1.13.0 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see
https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
[✓] Connected device (5 available)
! Error: Browsing on the local area network for Mi的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
```
Contributor guide
Assessment
This issue has not been assessed yet.