Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
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)