Fixed
Status Update
Comments
tr...@google.com <tr...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Android build
Which Android build are you using? (e.g. OPP1.170223.012)
Steps to reproduce
What steps are needed to reproduce this issue?
Please provide sample project or apk to reproduce the issue. Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Screen record of the issue, for clarity
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue.
NOTE : To avoid leaking private information, please share screenshots and bugreports only in Google Drive. Share files with android-bugreport@google.com and include only Google drive links in your bug. Bug report attachments should not be included directly in issue reports.
Android build
Which Android build are you using? (e.g. OPP1.170223.012)
Steps to reproduce
What steps are needed to reproduce this issue?
Please provide sample project or apk to reproduce the issue. Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Screen record of the issue, for clarity
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue.
NOTE : To avoid leaking private information, please share screenshots and bugreports only in Google Drive. Share files with android-bugreport@google.com and include only Google drive links in your bug. Bug report attachments should not be included directly in issue reports.
Description
Please describe your issue and include details such as the version of CameraX you are using and any relevant logs related to your issue.
// If at all possible, capture an Android logcat (
CAMERAX VERSION:
camera-core: 1.0.0-beta03
camera-camera2: 1.0.0-beta03
camera-lifecycle: 1.0.0-beta03
camera-view: 1.0.0-alpha10
ANDROID OS BUILD NUMBER: 8.1.0
DEVICE NAME: Samsung Galaxy XCover4
DESCRIPTION:
I can see some crashes on Crashlytics in my production app. It may be difficult to reproduce, I don't know what the user did.
I don't know if this is the right place to report this kind of issues, but I think it may let you to improve the camera library
Thanks.
Fatal Exception: java.lang.IllegalStateException: Camera surface session should only fail with request cancellation. Instead failed due to:
c.f.a.b$b: The completer object was garbage collected - this future would otherwise never complete. The tag was: SurfaceRequest[size: 1280x720, id: 68262726]-status
at androidx.core.util.Preconditions.checkState(Preconditions.java:96)
at androidx.camera.core.SurfaceRequest$4.onFailure(SurfaceRequest.java:264)
at androidx.camera.core.impl.utils.futures.Futures$CallbackListener.run(Futures.java:338)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7000)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)