You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter listen causes SkyShell to crash when a file is changed #47
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
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.
Activity
Hixie commentedon Dec 29, 2015
With #1037 I tweaked "listen" so it would do the "start" as well.
I can't reproduce this crash on Linux + Android.
Hixie commentedon Dec 29, 2015
@abarth Does this still happen on OS X + Android?
abarth commentedon Jan 2, 2016
Nope. No crash, works great.
Fix GN build to compile gen_snapshot on Windows. (flutter#47)
github-actions commentedon Aug 6, 2021
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 -vand a minimal reproduction of the issue.