-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolee: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systeme: device-specificOnly manifests on certain devicesOnly manifests on certain devicese: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Steps to reproduce
After upgrading to flutter 3.29.0, a newly-created Android app crashes on a Nexus 5 (6.0.1, Marshmallow) with the counter demo app. According to https://docs.flutter.dev/reference/supported-platforms this should be supported.
- flutter create --platforms=android sample
- cd sample
- flutter run
Actual results
App crashes before the sample gets running. See logs.
Logs
Logs
C:\Projects\sample>flutter run
Launching lib\main.dart on Nexus 5 in debug mode...
Running Gradle task 'assembleDebug'... 1,854ms
√ Built build\app\outputs\flutter-apk\app-debug.apk
Installing build\app\outputs\flutter-apk\app-debug.apk... 15.0s
I/flutter (14647): [IMPORTANT:flutter/shell/platform/android/android_context_gl_impeller.cc(94)] Using the Impeller rendering backend (OpenGLES).
Syncing files to device Nexus 5... 65ms
Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
A Dart VM Service on Nexus 5 is available at: http://127.0.0.1:60164/cGUwS9qWsos=/
I/Choreographer(14647): Skipped 279 frames! The application may be doing too much work on its main thread.
The Flutter DevTools debugger and profiler on Nexus 5 is available at:
http://127.0.0.1:9100?uri=http://127.0.0.1:60164/cGUwS9qWsos=/
I/art (14647): Rejecting re-init on previously-failed class java.lang.Class<androidx.window.layout.adapter.sidecar.DistinctElementSidecarCallback>
I/art (14647): Rejecting re-init on previously-failed class java.lang.Class<androidx.window.layout.adapter.sidecar.DistinctElementSidecarCallback>
I/art (14647): Rejecting re-init on previously-failed class java.lang.Class<androidx.window.layout.adapter.sidecar.SidecarCompat$TranslatingCallback>
I/art (14647): Rejecting re-init on previously-failed class java.lang.Class<androidx.window.layout.adapter.sidecar.SidecarCompat$TranslatingCallback>
I/OpenGLRenderer(14647): Initialized EGL, version 1.4
F/libc (14647): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x34 in tid 14686 (1.raster)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys'
Revision: '11'
ABI: 'arm'
pid: 14647, tid: 14686, name: 1.raster >>> com.example.sample <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x34
r0 90869bdc r1 00000004 r2 00000000 r3 00000018
r4 90822abc r5 00000007 r6 90822ed4 r7 90822cac
r8 00000003 r9 00000078 sl 908226a0 fp 92a85ef4
ip 00000013 sp 9ce7dba0 lr a97f382d pc a97ce84c cpsr 00070030
backtrace:
#00 pc 0007184c /system/vendor/lib/libsc-a3xx.so
#01 pc 000715fd /system/vendor/lib/libsc-a3xx.so
#02 pc 000717cb /system/vendor/lib/libsc-a3xx.so
#03 pc 001fdc64 [stack:14686]
Tombstone written to: /data/tombstones/tombstone_05
Lost connection to device.
adb logcat gives:
--------- beginning of crash
08-04 20:59:53.742 5824 5852 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x3000e in tid 5852 (Compiler driver)
08-04 20:59:53.800 199 199 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-04 20:59:53.800 199 199 F DEBUG : Build fingerprint: 'google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys'
08-04 20:59:53.800 199 199 F DEBUG : Revision: '11'
08-04 20:59:53.800 199 199 F DEBUG : ABI: 'arm'
08-04 20:59:53.800 199 199 F DEBUG : pid: 5824, tid: 5852, name: Compiler driver >>> /system/bin/dex2oat <<<
08-04 20:59:53.800 199 199 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3000e
08-04 20:59:53.806 199 199 F DEBUG : r0 b14c2040 r1 b14c2210 r2 ffffffcc r3 b14c20d8
08-04 20:59:53.807 199 199 F DEBUG : r4 b14c2040 r5 b14c24e8 r6 b14c2480 r7 b14c4058
08-04 20:59:53.807 199 199 F DEBUG : r8 0003000e r9 00000000 sl 00000000 fp b14c2040
08-04 20:59:53.807 199 199 F DEBUG : ip b6f139e4 sp b1ce8440 lr b6c905b9 pc b6c8e100 cpsr 200f0030
08-04 20:59:53.830 199 199 F DEBUG :
08-04 20:59:53.830 199 199 F DEBUG : backtrace:
08-04 20:59:53.831 199 199 F DEBUG : #00 pc 000d1100 /system/lib/libart-compiler.so (_ZNSt3__16__treeINS_12__value_typeIjjEENS_19__map_value_compareIjS2_NS_4lessIjEELb1EEEN3art21ArenaAllocatorAdapterIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE+667)
08-04 20:59:53.831 199 199 F DEBUG : #01 pc 000d35b5 /system/lib/libart-compiler.so (_ZN3art20GlobalValueNumberingD1Ev+1332)
08-04 20:59:53.831 199 199 F DEBUG : #02 pc 001b84b3 /system/lib/libart-compiler.so (_ZN3art8MIRGraph27GlobalValueNumberingCleanupEv+30)
08-04 20:59:53.831 199 199 F DEBUG : #03 pc 001b8841 /system/lib/libart-compiler.so (_ZN3art16PassDriverMEOpts9ApplyPassEPNS_14PassDataHolderEPKNS_4PassE+24)
08-04 20:59:53.831 199 199 F DEBUG : #04 pc 00168567 /system/lib/libart-compiler.so
08-04 20:59:53.831 199 199 F DEBUG : #05 pc 00168da3 /system/lib/libart-compiler.so (_ZNK3art13QuickCompiler7CompileEPKNS_7DexFile8CodeItemEjNS_10InvokeTypeEtjP8_jobjectRKS1_+1406)
08-04 20:59:53.831 199 199 F DEBUG : #06 pc 0026276b /system/lib/libart-compiler.so (_ZNK3art18OptimizingCompiler7CompileEPKNS_7DexFile8CodeItemEjNS_10InvokeTypeEtjP8_jobjectRKS1_+110)
08-04 20:59:53.831 199 199 F DEBUG : #07 pc 001c7f61 /system/lib/libart-compiler.so (_ZN3art14CompilerDriver13CompileMethodEPNS_6ThreadEPKNS_7DexFile8CodeItemEjNS_10InvokeTypeEtjP8_jobjectRKS3_NS_24DexToDexCompilationLevelEb+1904)
08-04 20:59:53.831 199 199 F DEBUG : #08 pc 001c8c2d /system/lib/libart-compiler.so (_ZN3art14CompilerDriver12CompileClassEPKNS_26ParallelCompilationManagerEj+1972)
08-04 20:59:53.831 199 199 F DEBUG : #09 pc 001bebcf /system/lib/libart-compiler.so
08-04 20:59:53.831 199 199 F DEBUG : #10 pc 0035d255 /system/lib/libart.so (_ZN3art16ThreadPoolWorker3RunEv+264)
08-04 20:59:53.831 199 199 F DEBUG : #11 pc 0035d91f /system/lib/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+54)
08-04 20:59:53.831 199 199 F DEBUG : #12 pc 0003f45f /system/lib/libc.so (_ZL15__pthread_startPv+30)
08-04 20:59:53.831 199 199 F DEBUG : #13 pc 00019b43 /system/lib/libc.so (__start_thread+6)
08-04 20:59:54.006 199 199 F DEBUG :
08-04 20:59:54.006 199 199 F DEBUG : Tombstone written to: /data/tombstones/tombstone_07Flutter Doctor output
Doctor output
[√] Flutter (Channel master, 3.30.0-1.0.pre.223, on Microsoft Windows [Version 10.0.19045.5487], locale en-US) [1,782ms] • Flutter version 3.30.0-1.0.pre.223 on channel master at C:\Users\User\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 8d100a6416 (2 hours ago), 2025-02-19 14:37:35 -0600
• Engine revision 8d100a6416
• Dart version 3.8.0 (build 3.8.0-92.0.dev)
• DevTools version 2.43.0
[√] Windows Version (10 Pro 64-bit, 22H2, 2009) [1,072ms]
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.2s]
• Android SDK at C:\Users\User\AppData\Local\Android\sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
• All Android licenses accepted.
[√] Chrome - develop for the web [23ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps [22ms]
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2024.1) [19ms]
• Android Studio at C:\Program Files\Android\Android Studio
• 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.11+0--11852314)
[√] VS Code (version 1.97.2) [18ms]
• VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.104.0
[√] Connected device (4 available) [347ms]
• Nexus 5 (mobile) • 06b053caf0e9599b • android-arm • Android 6.0.1 (API 23)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.5487]
• Chrome (web) • chrome • web-javascript • Google Chrome 133.0.6943.100
• Edge (web) • edge • web-javascript • Microsoft Edge 133.0.3065.69
[√] Network resources [292ms]
• All expected network resources are available.
istornz and jakobaltendorferpatrykkonieczny-lunchspot
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolee: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systeme: device-specificOnly manifests on certain devicesOnly manifests on certain devicese: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team