-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
flutter/plugins
#2239Labels
p: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
Steps to Reproduce
- Run ml_vision example app on a Note 10+ and select CameraPreviewScanner.
- Move the camera around and wait.
- App freezes.
Target Platform: Android
Target OS version/browser: Android 9, One UI
Devices: Samsung Galaxy Note 10+, Exynos version
Logs
E/CameraCaptureSession(13690): Session 1: Exception while stopping repeating:
E/CameraCaptureSession(13690): android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
E/CameraCaptureSession(13690): at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2435)
E/CameraCaptureSession(13690): at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1126)
E/CameraCaptureSession(13690): at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:526)
E/CameraCaptureSession(13690): at io.flutter.plugins.camera.Camera.closeCaptureSession(Camera.java:480)
E/CameraCaptureSession(13690): at io.flutter.plugins.camera.Camera.close(Camera.java:486)
E/CameraCaptureSession(13690): at io.flutter.plugins.camera.Camera$2.onError(Camera.java:187)
E/CameraCaptureSession(13690): at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.notifyError(CameraDeviceImpl.java:1929)
E/CameraCaptureSession(13690): at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.lambda$Sm85frAzwGZVMAK-NE_gwckYXVQ(Unknown Source:0)
E/CameraCaptureSession(13690): at android.hardware.camera2.impl.-$$Lambda$CameraDeviceImpl$CameraDeviceCallbacks$Sm85frAzwGZVMAK-NE_gwckYXVQ.accept(Unknown Source:8)
E/CameraCaptureSession(13690): at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(PooledLambdaImpl.java:258)
E/CameraCaptureSession(13690): at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(PooledLambdaImpl.java:182)
E/CameraCaptureSession(13690): at com.android.internal.util.function.pooled.OmniFunction.run(OmniFunction.java:77)
E/CameraCaptureSession(13690): at android.os.Handler.handleCallback(Handler.java:873)
E/CameraCaptureSession(13690): at android.os.Handler.dispatchMessage(Handler.java:99)
E/CameraCaptureSession(13690): at android.os.Looper.loop(Looper.java:216)
E/CameraCaptureSession(13690): at android.app.ActivityThread.main(ActivityThread.java:7263)
E/CameraCaptureSession(13690): at java.lang.reflect.Method.invoke(Native Method)
E/CameraCaptureSession(13690): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
E/CameraCaptureSession(13690): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
E/BufferQueueProducer(13690): [ImageReader-720x480f23m2-13690-1] dequeueBuffer: attempting to exceed the max dequeued buffer count (9)
[✓] Flutter (Channel beta, v1.10.7, on Mac OS X 10.15 19A602, locale en-GB)
• Flutter version 1.10.7 at /Users/per/dev/flutter
• Framework revision e70236e36c (3 weeks ago), 2019-10-02 09:32:30 -0700
• Engine revision 9e6314d348
• Dart version 2.6.0 (build 2.6.0-dev.0.0 1103600280)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/per/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (1 available)
• SM N975F • RF8M911HL8N • android-arm64 • Android 9 (API 28)
• No issues found!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight