Project

General

Profile

Actions

Issue #1920

open

RuntimeException: Camera is being used after Camera.release() was called

Added by Michael Rogers over 5 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Camera
Target version:
Start date:
04/02/2019
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Grant:
Type of work:
Any programming languages (scripts, C, etc), Unknown

Description

I'm one of the developers of Briar, an Android messaging app that uses the camera for scanning QR codes. We've received four crash reports with the same stacktrace. One of the reports mentions that the user is running Replicant 6.003 and the other reports have the same Android version, which is too recent to be a stock ROM for these devices. I suspect this may be a Replicant bug as we haven't had any other reports.

  • Android version: 6.0.1
  • Phone model: Samsung GT-I9100 and GT-I9300 (S2 4G and S3 Neo, respectively)
  • User feedback: "I could not scan other device. They could scan me. I have Replicant 6.003."
  • Downstream ticket: https://code.briarproject.org/briar/briar/issues/1523

Stacktrace:

java.lang.RuntimeException: Camera is being used after Camera.release() was called
        at android.hardware.Camera.native_getParameters(Native Method)
        at android.hardware.Camera.getParameters(Camera.java:1999)
        at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1152)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:148)
        at android.app.ActivityThread.main(ActivityThread.java:5461)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Keep fighting the good fight! :-)

Actions

Also available in: Atom PDF