-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listblockedIssue is blocked by another issueIssue is blocked by another issuef: integration_testThe flutter/packages/integration_test pluginThe flutter/packages/integration_test pluginplatform-androidAndroid applications specificallyAndroid applications specificallyt: flutter driver"flutter driver", flutter_drive, or a driver test"flutter driver", flutter_drive, or a driver testteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
Reproduction:
- Start an Android 34 emulator
- Use the following
AndroidManifest.xmlto forcevulkan(i.e. no fallback logic), though other crashes might also cause this - Try running the app with
flutter drive lib/main.dart
You'll get something like:
$ flutter drive lib/main.dart
It is taking an unusually long time to connect to the VM...
Oops; flutter has exited unexpectedly: "HttpException: Connection closed before full header was receivedThere are two bugs:
- We are missing information on why we can't connect (more on that in a second)
- The crash has nothing to do with the VM service or HTTP
If you flutter run lib/main.dart (i.e. the same code, just with flutter run):
$ flutter run lib/main.dart
E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/capabilities_vk.cc(285)] Break on 'ImpellerValidationBreak' to inspect point of failure: Device does not support required Android extension: VK_KHR_external_semaphore_fd
E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/capabilities_vk.cc(310)] Break on 'ImpellerValidationBreak' to inspect point of failure: Device not suitable since required extensions are not supported.
E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/capabilities_vk.cc(393)] Break on 'ImpellerValidationBreak' to inspect point of failure: Device doesn't support the required queues.
E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/context_vk.cc(278)] Break on 'ImpellerValidationBreak' to inspect point of failure: No valid Vulkan device found.
I/flutter ( 5377): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan).
F/flutter ( 5377): [FATAL:flutter/shell/platform/android/platform_view_android.cc(127)] Check failed: android_context_->IsValid(). Could not create surface from invalid Android context.
Error connecting to the service protocol: failed to connect to http://127.0.0.1:58976/_qg3X7xW8FA=/ DartDevelopmentServiceException: WebSocketChannelException:
HttpException: Connection closed before full header was received, uri = http://127.0.0.1:58976/_qg3X7xW8FA=/wsBetter, at least we get the error messages (I'd expect to see these in flutter drive, but do not).
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listblockedIssue is blocked by another issueIssue is blocked by another issuef: integration_testThe flutter/packages/integration_test pluginThe flutter/packages/integration_test pluginplatform-androidAndroid applications specificallyAndroid applications specificallyt: flutter driver"flutter driver", flutter_drive, or a driver test"flutter driver", flutter_drive, or a driver testteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team