Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ui_thread crashes in --debug mode on Pixel #6693

Closed
@adlr

Description

@adlr

Steps to Reproduce

Using Pixel phone

flutter create myapp
cd myapp
flutter run

Logs

Run your application with flutter run and attach all the log output.

Installing build/app.apk... 3860ms
Timed out while waiting for a debug connection.
Error launching DevFS loader on Pixel.
wall time: flutter run completed in 28 seconds

logcat:

11-03 12:43:52.280 1192 11167 I ActivityManager: START u0 {act=android.intent.action.RUN dat=/data/local/tmp/dev.flx flg=0x30000000 cmp=com.yourcompany.myapp/org.
domokit.sky.shell.SkyActivity (has extras)} from uid 2000 on display 0
11-03 12:43:52.289 1192 11167 D QCOM PowerHAL: LAUNCH HINT: ON
11-03 12:43:52.297 1192 11167 I QCOM PowerHAL: Activity launch hint handled
11-03 12:43:52.309 1192 11167 I ActivityManager: Start proc 7980:com.yourcompany.myapp/u0a216 for activity com.yourcompany.myapp/org.domokit.sky.shell.SkyActivity
11-03 12:43:52.311 7969 7969 D AndroidRuntime: Shutting down VM
11-03 12:43:52.327 7980 7980 I art : Late-enabling -Xcheck:jni
11-03 12:43:52.345 7980 7987 E art : Failed writing handshake bytes (-1 of 14): Broken pipe
11-03 12:43:52.345 7980 7987 I art : Debugger is no longer active
11-03 12:43:52.345 7980 7987 I art : Starting a blocking GC Instrumentation
11-03 12:43:52.346 1192 4864 I WindowManager: Failed to capture screenshot of Token{57adb49 ActivityRecord{2fd2d50 u0 com.google.android.apps.inbox/com.google.an
droid.apps.bigtop.activities.MainActivity t2860}} appWin=Window{552145f u0 com.google.android.apps.inbox/com.google.android.apps.bigtop.activities.MainActivity} dr
awState=4
11-03 12:43:52.386 7980 7980 I cr.library_loader: Time to load native libraries: 7 ms (timestamps 9718-9725)
11-03 12:43:52.386 7980 7980 I cr.library_loader: Expected native library version number "", actual native library version number ""
11-03 12:43:52.466 7980 7980 E ApkAssets: Error while loading asset assets/icudtl.dat: java.io.FileNotFoundException: This file can not be opened as a file descr
iptor; it is probably compressed
11-03 12:43:52.470 7980 7980 I Adreno : QUALCOMM build : a5b4970, If5818605d9
11-03 12:43:52.470 7980 7980 I Adreno : Build Date : 10/12/16
11-03 12:43:52.470 7980 7980 I Adreno : OpenGL ES Shader Compiler Version: XE031.09.00.04
11-03 12:43:52.470 7980 7980 I Adreno : Local Branch : N24D
11-03 12:43:52.470 7980 7980 I Adreno : Remote Branch :
11-03 12:43:52.470 7980 7980 I Adreno : Remote Branch :
11-03 12:43:52.470 7980 7980 I Adreno : Reconstruct Branch :
11-03 12:43:52.533 7980 8004 I OpenGLRenderer: Initialized EGL, version 1.4
11-03 12:43:52.533 7980 8004 D OpenGLRenderer: Swap behavior 1
11-03 12:43:52.582 2695 5899 I Icing : Indexing 6BE5355CF8E17C178F29EC639D363295AAC56949 from com.google.android.googlequicksearchbox
11-03 12:43:52.630 7980 8002 F libc : Fatal signal 4 (SIGILL), code 1, fault addr 0xca1586e4 in tid 8002 (ui_thread)
11-03 12:43:52.631 557 557 W : debuggerd: handling request: pid=7980 uid=10216 gid=10216 tid=8002
11-03 12:43:52.706 8008 8008 E : debuggerd: process stopped due to unexpected signal 27
11-03 12:43:52.708 1192 8009 W ActivityManager: Force finishing activity com.yourcompany.myapp/org.domokit.sky.shell.SkyActivity

Run flutter analyze and attach any output of that command also.

Analyzing lib/main.dart...
No analyzer warnings! (ran in 10.8s)

Flutter Doctor

Paste the output of running flutter doctor here.

[✓] Flutter (on Linux, channel master)
• Flutter at /mnt/ext/adlr/flutter/flutter
• Framework revision 594c4f9 (6 hours ago), 2016-11-03 15:19:57
• Engine revision 16077d4
• Tools Dart version 1.21.0-dev.3.0

[✓] Android toolchain - develop for Android devices (Android SDK 23.0.1)
• Android SDK at /usr/local/google/home/adlr/Android/Sdk
• Platform android-23, build-tools 23.0.1
• OpenJDK Runtime Environment (build 1.8.0-google-v7-132676107-132666263)

[x] Flutter IDE Support (No supported IDEs installed)
• IntelliJ - https://www.jetbrains.com/idea/

[✓] Connected devices
• Pixel • FA6890301609 • android-arm • Android 7.1.1 (API 25)

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consolee: device-specificOnly manifests on certain devicesplatform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions