{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/6280","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/6280/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/6280/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/6280/events","html_url":"https://github.com/flutter/flutter/issues/6280","id":182403592,"number":6280,"title":"Exception when running default app on Samsung Galaxy Note 5","user":{"login":"raju-bitter","id":296926,"avatar_url":"https://avatars.githubusercontent.com/u/296926?v=3","gravatar_id":"","url":"https://api.github.com/users/raju-bitter","html_url":"https://github.com/raju-bitter","followers_url":"https://api.github.com/users/raju-bitter/followers","following_url":"https://api.github.com/users/raju-bitter/following{/other_user}","gists_url":"https://api.github.com/users/raju-bitter/gists{/gist_id}","starred_url":"https://api.github.com/users/raju-bitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raju-bitter/subscriptions","organizations_url":"https://api.github.com/users/raju-bitter/orgs","repos_url":"https://api.github.com/users/raju-bitter/repos","events_url":"https://api.github.com/users/raju-bitter/events{/privacy}","received_events_url":"https://api.github.com/users/raju-bitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-10-11T23:59:30Z","updated_at":"2016-10-21T20:59:05Z","closed_at":null,"body":"## Error message\r\n\r\nSeeing a strange behavior for the Galaxy Note 5 only when running the hello world application created by running `flutter create`. After a reboot of the phone, I can launch the application as expected. But trying to run the same application again for the 2nd time, the app gets stuck at the *Flutter Debug Loader* screen, with the message: \"This is a hot-reload-enabled debug-mode Flutter application...\".\r\n\r\nThe behavior is tied to the hot reload feature, when I disable it by using `flutter run --no-hot`, everything is working fine on the Galaxy Note 5.\r\n\r\nException / error message shown: I've seen this exception a couple of times, but that doesn't seem to be the main problem, since the app get's stuck with different error messages as well. \r\n```\r\n 0 ms • I/flutter : ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════\r\n   0 ms • I/flutter : The following ArgumentError was thrown during performLayout():\r\n   0 ms • I/flutter : Invalid argument(s): 0.0\r\n```\r\n\r\nOn an Nvidia Shield tablet or Lumigon T3 Android phone everything is working fine. These are the engine and framework revisions:\r\n * Framework revision 6777766d2d (57 minutes ago), 2016-10-11 15:51:35\r\n * Engine revision e8d046e9e2\r\n\r\nWhen running the app as a release using `flutter run --release`, it launches as expected.\r\n\r\n## Steps to Reproduce\r\n\r\nOn a Galaxy Note 5 (Android 6.0.1, build MMB29K.N920SKSU2BPH3), run the following steps:\r\n1. Reboot the phone\r\n1. Create a new default app using `flutter create helloworld`.\r\n1. Run the app by executing `flutter run lib/main.dart` or `flutter run`: Application should run as expected\r\n1. Stop the app and run again: Application launches with black screen, or with the \"Flutter Debug Loader\" screen (This is a hot-reload-enabled debug-mode Flutter application...\"). \r\n1. Now run the app with hot reload disabled: `flutter run --no-hot`, and the app will load again.\r\n\r\n## Logs\r\n\r\nflutter run -v output:\r\n*Running app after a reboot of device for the first time (everything working fine)*\r\nhttps://gist.github.com/raju-bitter/080e446a570c512133936bbc35e245b0\r\n\r\n*Running app for second time, now it doesn't launch, stuck at loader screen*\r\nhttps://gist.github.com/raju-bitter/5e978edbf03145715039d7ae2ec193b2\r\n\r\n`flutter analyze` output:\r\n```\r\nAnalyzing lib/main.dart...\r\nNo analyzer warnings! (ran in 5.7s)\r\n```\r\n\r\n## Flutter Doctor\r\n\r\n```\r\n[✓] Flutter (on Linux, channel master)\r\n    • Flutter at /home/raju/dev/flutter\r\n    • Framework revision 6777766d2d (57 minutes ago), 2016-10-11 15:51:35\r\n    • Engine revision e8d046e9e2\r\n    • Tools Dart version 1.20.0-dev.10.2\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 24.0.3)\r\n    • Android SDK at /home/raju/Android/Sdk\r\n    • Platform android-24, build-tools 24.0.3\r\n    • Java(TM) SE Runtime Environment (build 1.8.0_101-b13)\r\n\r\n[✓] Atom - a lightweight development environment for Flutter\r\n    • flutter plugin version 0.2.6\r\n    • dartlang plugin version 0.6.40\r\n\r\n[-] IntelliJ WebStorm (version 2016.2)\r\n    • Dart plugin not installed; this adds Dart specific functionality.\r\n    • Flutter plugin not installed; this adds Flutter specific functionality.\r\n    • For information about managing plugins, see\r\n      https://www.jetbrains.com/help/idea/2016.2/managing-plugins.html\r\n\r\n[✓] Connected devices\r\n    • SM N920S • 05157df5d93b793d • android-arm\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/255463711","html_url":"https://github.com/flutter/flutter/issues/6280#issuecomment-255463711","issue_url":"https://api.github.com/repos/flutter/flutter/issues/6280","id":255463711,"user":{"login":"johnmccutchan","id":224266,"avatar_url":"https://avatars.githubusercontent.com/u/224266?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmccutchan","html_url":"https://github.com/johnmccutchan","followers_url":"https://api.github.com/users/johnmccutchan/followers","following_url":"https://api.github.com/users/johnmccutchan/following{/other_user}","gists_url":"https://api.github.com/users/johnmccutchan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmccutchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmccutchan/subscriptions","organizations_url":"https://api.github.com/users/johnmccutchan/orgs","repos_url":"https://api.github.com/users/johnmccutchan/repos","events_url":"https://api.github.com/users/johnmccutchan/events{/privacy}","received_events_url":"https://api.github.com/users/johnmccutchan/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T20:59:05Z","updated_at":"2016-10-21T20:59:05Z","body":"I can confirm that I can reproduce the failure as described. It's flaky but I can make it happen.\r\n\r\nInitial investigation points at a low level networking failure between the host machine and the phone. We fail to make the initial service protocol connection. The client receives and HTTP error but the server (running on the phone) never sees the connection attempt. Possibly something bad is happening at the adb level."}}
{"actor":{"display_login":"johnmccutchan"}}