My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 63: Exception while recording Video
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2011


 
Reported by ami...@fu-berlin.de, Mar 21, 2011
What steps will reproduce the problem?
1. Record video
2. Phone is ringing (or Home or Back button)
3. Crash

What is the expected output? What do you see instead?

03-21 12:20:09.230: DEBUG/SurfaceFlinger(96): Layer::requestBuffer(this=0x4a1b30), index=0, pid=96, w=480, h=394 success
03-21 12:20:09.250: ERROR/AndroidRuntime(13623): FATAL EXCEPTION: main
        java.lang.RuntimeException: lock failed
        at android.hardware.Camera.lock(Native Method)
        at gui.activity.RecordVideoActivity.surfaceDestroyed(RecordVideoActivity.java:114)
        at android.view.SurfaceView.reportSurfaceDestroyed(SurfaceView.java:581)
        at android.view.SurfaceView.updateWindow(SurfaceView.java:477)
        at android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:206)
        at android.view.View.dispatchDetachedFromWindow(View.java:6028)
        at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1164)
        at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1164)
        at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1164)
        at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1164)
        at android.view.ViewRoot.dispatchDetachedFromWindow(ViewRoot.java:1647)
        at android.view.ViewRoot.doDie(ViewRoot.java:2693)
        at android.view.ViewRoot.die(ViewRoot.java:2663)
        at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:254)
        at android.view.Window$LocalWindowManager.removeViewImmediate(Window.java:436)
        at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3935)
        at android.app.ActivityThread.access$2900(ActivityThread.java:135)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2169)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:144)
        at android.app.ActivityThread.main(ActivityThread.java:4937)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:521)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
        at dalvik.system.NativeStart.main(Native Method)

What version of the product are you using? On what operating system?


Please provide any additional information below.


Mar 21, 2011
Project Member #1 Skud...@googlemail.com
Fixed in r730. I hope.
Status: Fixed

Powered by Google Project Hosting