[HTC Amaze 4G] dcacklam:
BTW, I confirmed (via a logcat of a camcorder crash) that Sound Device 2 (which is disabled) is the speaker...

Now, with the missing libs in place, however, I have a different error and my camcorder no longer crashes - it just won't record video anymore:

It still crashes when special-effects are enabled...

The camera crashes are DEFINATELY due to missing .so libraries.

---------- Post added at 01:43 AM ---------- Previous post was at 01:41 AM ----------

SPECIAL-EFFECT ENABLE CRASH

V/videocamera( 1506): onEffectsUpdate. Effect Message = 5

I/ ( 1506): Face detector initialized

E/Adreno200-EGLSUB( 1506): <ShadowBufferCreate:394>: alloc mmap(fd=52, size=1413120, prot=3) failed (Try again)

E/Adreno200-EGLSUB( 1506): <ShadowWindowDequeueBuffer:557>: <failed to deque a buffer>

W/Adreno200-EGLSUB( 1506): <GetBackBuffer:2155>: global_shadow_buffer is NULL

W/Adreno200-ES20( 1506): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY

W/Adreno200-EGL( 1506): <qeglDrvAPI_eglSwapBuffers:3477>: EGL_BAD_ALLOC

E/MCA ( 1506): EGL Error: Operation 'eglSwapBuffers' caused EGL error (0x3003)

I/QualcommCamera( 143): void android::stop_preview(camera_device*): E

I/QualcommCameraHardwareZSL( 143): stopPreviewInternal E: 1

I/QualcommCameraHardwareZSL( 143): cancelAutoFocusInternal E

I/QualcommCameraHardwareZSL( 143): cancelAutoFocusInternal X: 0

W/CameraService( 143): lockIfMessageWanted(1024): dropped unwanted message

I/mm-camera( 143): config_proc_ctrl_command: pendingCtrlCmd 0x1a36298

I/mm-camera( 143): sending CTRL_CMD_DONE to kernel!, length = 0, status = 1 , ctrlCmd:0x1a36298

I/QualcommCameraHardwareZSL( 143): deinitPreview E

I/QualcommCameraHardwareZSL( 143): deinitPreview: waiting for preview thread to complete.

I/QualcommCameraHardwareZSL( 143): deinitPreview: old preview thread completed.

I/CAMFRAME( 143): In camframe_terminate E

I/CAMFRAME( 143): In camframe_terminate X

I/QualcommCameraHardwareZSL( 143): deinitPreview X

D/GPUPostEffect( 143): virtual int mlabs::GPUPostEffect::stopPreview() E.

D/GPUPostEffect( 143): int mlabs::GPUPostEffect::stopPreview(mlabs::GPUPostEffect::GPUTask*) E.

D/GPUPostEffect( 143): int mlabs::GPUPostEffect::stopPreview(mlabs::GPUPostEffect::GPUTask*) X.

D/GPUPostEffect( 143): virtual int mlabs::GPUPostEffect::stopPreview() X.

D/QualcommCameraHardwareZSL( 143): void android::QualcommCameraHardware::stopPreviewInternal(): stopPreview done.

I/QualcommCameraHardwareZSL( 143): stopPreviewInternal X: 0

I/QualcommCamera( 143): void android::stop_preview(camera_device*): X

D/Camera ( 1506): app passed NULL surface

D/QualcommCameraHardwareZSL( 143): previewEnabled() E, mZslEnable 0

D/QualcommCameraHardwareZSL( 143): previewEnabled() X, mCameraRunning=0 mPreviewStartInProgress=0

I/CAMFRAME( 143): cam_frame: exit 1 378

I/CAMFRAME( 143): Exiting camframe thread - 142

D/QualcommCameraHardwareZSL( 143): relinquishBuffers: Cancelling preview buffers 83

D/libgenlock( 143): Invalid gralloc handle (at 0x1b28258): ver(27508752/12) ints(12/12) fds(1074947508/2) magic(gmsm/gmsm)

E/libgenlock( 143): perform_lock_unlock_operation: handle is invalid

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: genlock_unlock_buffer failed

E/SurfaceTextureClient( 143): getSlotFromBufferLocked: unknown buffer: 0x1b28258

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: cancelBuffer failed for preview buffer 83

D/QualcommCameraHardwareZSL( 143): relinquishBuffers: Cancelling preview buffers 92

D/libgenlock( 143): Invalid gralloc handle (at 0x1abd5a0): ver(26893528/12) ints(12/12) fds(28419808/2) magic(gmsm/gmsm)

E/libgenlock( 143): perform_lock_unlock_operation: handle is invalid

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: genlock_unlock_buffer failed

E/SurfaceTextureClient( 143): getSlotFromBufferLocked: unknown buffer: 0x1abd5a0

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: cancelBuffer failed for preview buffer 92

D/QualcommCameraHardwareZSL( 143): relinquishBuffers: Cancelling preview buffers 96

D/libgenlock( 143): Invalid gralloc handle (at 0x1b1a6e8): ver(28038552/12) ints(12/12) fds(27490040/2) magic(gmsm/gmsm)

E/libgenlock( 143): perform_lock_unlock_operation: handle is invalid

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: genlock_unlock_buffer failed

E/SurfaceTextureClient( 143): getSlotFromBufferLocked: unknown buffer: 0x1b1a6e8

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: cancelBuffer failed for preview buffer 96

D/QualcommCameraHardwareZSL( 143): relinquishBuffers: Cancelling preview buffers 100

D/libgenlock( 143): Invalid gralloc handle (at 0x1a37700): ver(28419808/12) ints(12/12) fds(1074947500/2) magic(gmsm/gmsm)

E/libgenlock( 143): perform_lock_unlock_operation: handle is invalid

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: genlock_unlock_buffer failed

E/SurfaceTextureClient( 143): getSlotFromBufferLocked: unknown buffer: 0x1a37700

E/QualcommCameraHardwareZSL( 143): relinquishBuffers: cancelBuffer failed for preview buffer 100

I/QualcommCameraHardwareZSL( 143): unregistering all preview buffers, mTotalPreviewBufferCount 7

I/QualcommCameraHardwareZSL( 143): unregistering all record buffers

I/MCA ( 1506): Releasing ANativeWindow!

E/EffectsRecorder( 1506): Error running filter graph!

I/QualcommCameraHardwareZSL( 143): runPreviewThread X

I/QualcommCameraHardwareZSL( 143): preview_thread X

D/AndroidRuntime( 1506): Shutting down VM

W/dalvikvm( 1506): threadid=1: thread exiting with uncaught exception (group=0x40aa2300)

E/MCA ( 1506): GL Error: Operation 'glAttachShader' caused GL error (0x505)

W/Adreno200-ES20( 1506): <qgl2DrvAPI_glGetProgramiv:1575>: GL_INVALID_VALUE

E/AndroidRuntime( 1506): FATAL EXCEPTION: main

E/AndroidRuntime( 1506): java.lang.RuntimeException: Error during recording!

E/AndroidRuntime( 1506): at com.android.camera.VideoCamera.onEffectsError(VideoCamera.java:2083)

E/AndroidRuntime( 1506): at com.android.camera.EffectsRecorder$6.run(EffectsRecorder.java:946)

E/AndroidRuntime( 1506): at android.os.Handler.handleCallback(Handler.java:615)

E/AndroidRuntime( 1506): at android.os.Handler.dispatchMessage(Handler.java:92)

E/AndroidRuntime( 1506): at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 1506): at android.app.ActivityThread.main(ActivityThread.java:4931)

E/AndroidRuntime( 1506): at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 1506): at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 1506): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)

E/AndroidRuntime( 1506): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)

E/AndroidRuntime( 1506): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 1506): Caused by: java.lang.RuntimeException: Error swapping EGL buffers!

E/AndroidRuntime( 1506): at android.filterfw.core.GLEnvironment.swapBuffers(GLEnvironment.java:98)

E/AndroidRuntime( 1506): at android.filterpacks.videosrc.SurfaceTextureTarget.process(SurfaceTextureTarget.java:256)

E/AndroidRuntime( 1506): at android.filterfw.core.Filter.performProcess(Filter.java:474)

E/AndroidRuntime( 1506): at android.filterfw.core.SyncRunner.processFilterNode(SyncRunner.java:164)

E/AndroidRuntime( 1506): at android.filterfw.core.SyncRunner.performStep(SyncRunner.java:212)

E/AndroidRuntime( 1506): at android.filterfw.core.AsyncRunner$AsyncRunnerTask.doInBackground(AsyncRunner.java:77)

E/AndroidRuntime( 1506): at android.filterfw.core.AsyncRunner$AsyncRunnerTask.doInBackground(AsyncRunner.java:51)

E/AndroidRuntime( 1506): at android.os.AsyncTask$2.call(AsyncTask.java:287)

E/AndroidRuntime( 1506): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

E/AndroidRuntime( 1506): at java.util.concurrent.FutureTask.run(FutureTask.java:137)

E/AndroidRuntime( 1506): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)

E/AndroidRuntime( 1506): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)

E/AndroidRuntime( 1506): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

E/AndroidRuntime( 1506): at java.lang.Thread.run(Thread.java:856)

I/QualcommCameraHardwareZSL( 143): runFrameThread X

D/QualcommCameraHardwareZSL( 143): frame_thread X

W/ActivityManager( 348): Force finishing activity com.android.gallery3d/com.android.camera.VideoCamera

W/WindowManager( 348): Failure taking screenshot for (218x387) to layer 21025

W/ActivityManager( 348): Activity pause timeout for ActivityRecord{40f6aaf0 com.android.gallery3d/com.android.camera.VideoCamera}

---------- Post added at 01:45 AM ---------- Previous post was at 01:43 AM ----------

RECORD FAILURE-NO CRASH

V/videocamera( 1506): startVideoRecording

D/CameraStorage( 1506): External storage state=mounted

V/videocamera( 1506): initializeRecorder

D/QualcommCameraHardwareZSL( 143): virtual bool android::QualcommCameraHardware::recordingEnabled() recordingState=0

W/StagefrightRecorder( 143): Max file duration is not positive: 0 us. Disabling duration limit.

W/StagefrightRecorder( 143): Target duration (0 us) too short to be respected

V/videocamera( 1506): New video filename: /storage/sdcard0/DCIM/Camera/VID_20121207_163225.mp4.tmp

W/StagefrightRecorder( 143): Intended video encoding bit rate (5000000 bps) is too small and will be set to (20000000 bps)

W/StagefrightRecorder( 143): Intended video encoding frame rate (30 fps) is too large and will be set to (15 fps)

D/CameraSource( 143): Camera does not support setVideoSize()

I/QualcommCameraHardwareZSL( 143): request capture mode normal

I/QualcommCameraHardwareZSL( 143): requested preview size 720 x 480

I/QualcommCameraHardwareZSL( 143): requested picture size 3264 x 2448, mCaptureMode 0

I/QualcommCameraHardwareZSL( 143): requested jpeg thumbnail size 512 x 384

I/QualcommCameraHardwareZSL( 143): requested jpeg quality 100

D/QualcommCameraHardwareZSL( 143): flip-video = 0

D/QualcommCameraHardwareZSL( 143): setZoom pre_value 0 value 0

I/QualcommCameraHardwareZSL( 143): Set zoom=0 40

I/QualcommCameraHardwareZSL( 143): request burst picture count 1

D/QualcommCameraHardwareZSL( 143): setSharpness pre_value 10 value 10

D/QualcommCameraHardwareZSL( 143): initDefaultParameters AfArea : (0,0,0,0,0)

D/QualcommCameraHardwareZSL( 143): initDefaultParameters AecArea : (0,0,0,0,0)

D/QualcommCameraHardwareZSL( 143): setAecLock pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): setAwbLock pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): setAntibanding pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): setSceneMode pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): requested video size 720 x 480

D/QualcommCameraHardwareZSL( 143): virtual bool android::QualcommCameraHardware::recordingEnabled() recordingState=0

I/QualcommCameraHardwareZSL( 143): setRecordingHint value 1 actual-camera-mode 1 cam-mode -1 recordingEnabled 0

I/QualcommCameraHardwareZSL( 143): requested Fps Range min: 1 x max: 200000

D/mm-camera( 143): config_proc_CAMERA_SET_PARM_FPS: 30

D/QualcommCameraHardwareZSL( 143): setAutoExposure pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): setExposureCompensation pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): setISOValue pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): setSaturation pre_value 5 value 5

I/QualcommCameraHardwareZSL( 143): requested effect 0

D/QualcommCameraHardwareZSL( 143): setEffect mColorEffectState 0

D/QualcommCameraHardwareZSL( 143): setEffect pre_value 0 value 0

D/QualcommCameraHardwareZSL( 143): setWhiteBalance pre_value 1 value 1

D/QualcommCameraHardwareZSL( 143): pre_mColorEffectState value = 0 mColorEffectState 0

D/QualcommCameraHardwareZSL( 143): setContrast pre_value 5 value 5

I/QualcommCameraHardwareZSL( 143): Setting flash 0

D/ ( 143): [GECameraParameters::getGPUEffect] enter

D/ ( 143): [GECameraParameters::getGPUEffect] leave. no key GPU-effect

D/ ( 143): [GECameraParameters::getGPUEffectParam] leave. no key GE-param0

D/ ( 143): [GECameraParameters::getGPUEffectParam] leave. no key GE-param1

I/GPUPostEffect( 143): int mlabs::GPUPostEffect::setParameters(mlabs::GPUPostEffect::GPUTask*): old effect = -1, new effect = -1.

D/GPUPostEffect( 143): setParameters: isGEInit == false: no call to ChooseEffect.

E/CameraSource( 143): Failed to set preview frame rate to 15 fps. The actual frame rate is 31

D/QualcommCameraHardwareZSL( 143): virtual bool android::QualcommCameraHardware::recordingEnabled() recordingState=0

E/MediaRecorder( 1506): start failed: -19

E/videocamera( 1506): Could not start media recorder.

E/videocamera( 1506): java.lang.RuntimeException: start failed.

E/videocamera( 1506): at android.media.MediaRecorder.start(Native Method)

E/videocamera( 1506): at com.android.camera.VideoCamera.startVideoRecording(VideoCamera.java:1546)

E/videocamera( 1506): at com.android.camera.VideoCamera.onShutterButtonClick(VideoCamera.java:619)

E/videocamera( 1506): at com.android.camera.ShutterButton.performClick(ShutterButton.java:108)

E/videocamera( 1506): at android.view.View$PerformClick.run(View.java:16966)

E/videocamera( 1506): at android.os.Handler.handleCallback(Handler.java:615)

E/videocamera( 1506): at android.os.Handler.dispatchMessage(Handler.java:92)

E/videocamera( 1506): at android.os.Looper.loop(Looper.java:137)

E/videocamera( 1506): at android.app.ActivityThread.main(ActivityThread.java:4931)

E/videocamera( 1506): at java.lang.reflect.Method.invokeNative(Native Method)

E/videocamera( 1506): at java.lang.reflect.Method.invoke(Method.java:511)

E/videocamera( 1506): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)

E/videocamera( 1506): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)

E/videocamera( 1506): at dalvik.system.NativeStart.main(Native Method)

V/videocamera( 1506): Releasing media recorder.

V/videocamera( 1506): Empty video file deleted: /storage/sdcard0/DCIM/Camera/VID_20121207_163225.mp4.tmp