LuckSiege / LuckSiege/PictureSelector

Fatal Exception: java.util.concurrent.TimeoutException android.hardware.camera2.impl.CameraCaptureSessionImpl.finalize() timed out after 60 seconds

Open
#2,052 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Fatal Exception: java.util.concurrent.TimeoutException: android.hardware.camera2.impl.CameraCaptureSessionImpl.finalize() timed out after 60 seconds
at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:373)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.finalize(CameraCaptureSessionImpl.java:663)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:250)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:237)
at java.lang.Daemons$Daemon.run(Daemons.java:103)
at java.lang.Thread.run(Thread.java:764)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported android.hardware.camera2.impl.CameraCaptureSessionImpl.close and finalize stack frames and reproduce the timeout on the affected Android setup. Trace how PictureSelector creates and releases camera capture sessions; done means identifying and preventing the 60-second finalizer timeout, with a regression check for session cleanup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.