Skip to content

flutter listen causes SkyShell to crash when a file is changed #47

Closed

Description

@abarth

From https://github.com/flutter/tools/issues/176

On OS X with fswatch installed.
Connected via adb to real android device.

cd into hello world app directory
Start the hello world app with flutter start --checked
Start listen with flutter listen
Open lib/main.dart and change the Hello world. text to anything, save.

adb logcat:

11-07 12:43:32.270  4335  4477 W UrlLoaderImpl: Network failure loading http://localhost:9888/lib/main.dart?rand=0.7224074384297607
11-07 12:43:32.272  4335  4357 E chromium: [ERROR:dart_library_loader.cc(299)] Library Load failed: http://localhost:9888/lib/main.dart?rand=0.7224074384297607
11-07 12:43:32.293  4335  4357 E chromium: [ERROR:dart_error.cc(16)] Dart_LookupLibrary: library 'http://localhost:9888/lib/main.dart?rand=0.7224074384297607' not found.
11-07 12:43:32.327  1906  3524 I WindowState: WIN DEATH: Window{29e51ec u0 SurfaceView EXITING}
11-07 12:43:32.327  1906  7745 D GraphicsStats: Buffer count: 3
11-07 12:43:32.329  1906  7745 I WindowState: WIN DEATH: Window{1f1c7fd u0 org.domokit.sky.shell/org.domokit.sky.shell.SkyActivity}
11-07 12:43:32.330  1906  7746 I WindowState: WIN DEATH: Window{6948678 u0 org.domokit.sky.shell/org.domokit.sky.shell.SkyActivity EXITING}
11-07 12:43:32.331  1906  1916 I WindowState: WIN DEATH: Window{2e6f9b5 u0 SurfaceView}
11-07 12:43:32.353  1409  1409 I Zygote  : Process 4335 exited cleanly (1)
11-07 12:43:32.372  1906  3790 I ActivityManager: Process org.domokit.sky.shell (pid 4335) has died
11-07 12:43:32.372  1906  3790 W ActivityManager: Force removing ActivityRecord{e40e49a u0 org.domokit.sky.shell/.SkyActivity t2371}: app died, no saved state
11-07 12:43:32.373  1906  3790 W ActivityManager: Force removing ActivityRecord{68357cf u0 org.domokit.sky.shell/.SkyActivity t2371}: app died, no saved state

/cc @jakerr

Activity

  1. added
    c: crashStack traces logged to the console
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Nov 7, 2015
  2. self-assigned this
    on Dec 29, 2015
  3. Hixie commented on Dec 29, 2015

    @Hixie
    Contributor

    With #1037 I tweaked "listen" so it would do the "start" as well.
    I can't reproduce this crash on Linux + Android.

  4. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Dec 29, 2015
  5. Hixie commented on Dec 29, 2015

    @Hixie
    Contributor

    @abarth Does this still happen on OS X + Android?

  6. abarth commented on Jan 2, 2016

    @abarth
    ContributorAuthor

    Nope. No crash, works great.

  7. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jan 20, 2021
  8. github-actions commented on Aug 6, 2021

    @github-actions

    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.

  9. locked as resolved and limited conversation to collaborators on Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions