[Verizon Samsung Galaxy S 4] mlin:
Hello, I have been trying to build CM 10.2 from source as a way to start familiarizing myself with Android development. Unfortunately, on each of my builds the camera is broken (though camcorder works). I am running a Ubuntu 12.10 virtual machine on my mac book air with 4th gen i7 processor. I have tried the following things to fix: use proprietary blobs from external source instead of those pulled from my phone, different versions of 64 bit Ubuntu from scratch, rebuilding my android development environment. As you may be able to see, I thought something was going wrong with the build or extraction process so I thought it was a problem with my setup. Anyhow, nothing I've done has resolved the issue. Here is what I believe to be the critical portion of the logcat showing the camera crashing AFTER I try to take a pic. I have also included the entire logcat. I have looked through the logcat but with my limited knowledge I can't devise a solution to the problem.

08-29 12:42:13.333 I/QCameraHWI(3317): takePicture: X

08-29 12:42:13.774 D/QCameraHWI_Rdi(3317): jpegMode 1 jpegCount 0 jpegLength 3166584, jpegFrameId 18 yuvFrameId 22

08-29 12:42:13.774 E/QCameraHWI(3317): enqueue: queue size = 1

08-29 12:42:13.774 E/QCameraHWI(3317): enqueue: queue size = 1

08-29 12:42:13.784 D/QCameraHWI(3317): sendCmd: enqueue cmd 3

08-29 12:42:13.784 E/QCameraHWI(3317): enqueue: queue size = 1

08-29 12:42:13.784 D/QCameraHWI(3317): dataProcessRoutine: get cmd 3

08-29 12:42:13.784 D/QCameraHWI(3317): dataProcessRoutine: active is 1

08-29 12:42:13.784 D/QCameraHWI(3317): dataProcessRoutine: Deque thumb super buf

08-29 12:42:13.784 D/QCameraHWI(3317): mIsYUVSensor 1 super_buf b7a6c410 super_buf2 b7a7bb58

08-29 12:42:13.784 I/QCameraHWI(3317): encodeData: E

08-29 12:42:13.784 D/QCameraHWI(3317): encodeData: isYuv TRUE num_bufs 1 stream id 2049

08-29 12:42:13.794 D/QCameraHWI_Parm(3317): Clearing EXIF data

08-29 12:42:13.794 I/QCameraHWI(3317): encodeData: meta pointer 0xb7a93750, frame idx 23, frame length 11550720

08-29 12:42:13.794 D/QCameraHWI(3317): encodeData: thumbnail frame ptr b7a917c8, frame idx 19

08-29 12:42:13.794 E/QCameraHWI(3317): encodeData: mPictureHeight 3096 mPictureWidth 4128

08-29 12:42:13.804 D/QCameraHWI_Parm(3317): EXIF -FW : S13F0SAGG01 S13F0SAGG01

08-29 12:42:14.064 I/DEBUG (323): #05 pc 000171bb /system/lib/hw/camera.msm8960.so (android::QCameraHardwareInterface::initExifData()+266)

08-29 12:42:14.064 I/DEBUG (323): #06 pc 000210b3 /system/lib/hw/camera.msm8960.so (android::QCameraHardwareInterface::encodeData(mm_camera_super_buf_t*, unsigned int*, mm_camera_super_buf_t*)+1170)

08-29 12:42:14.064 I/DEBUG (323): #07 pc 00021acb /system/lib/hw/camera.msm8960.so (android::QCameraHardwareInterface::dataProcessRoutine(void*)+338)

08-29 12:42:14.064 I/DEBUG (323): b254f580 b645c139 /system/lib/hw/camera.msm8960.so

08-29 12:42:14.064 I/DEBUG (323): b254f5b0 b6467412 /system/lib/hw/camera.msm8960.so

08-29 12:42:14.514 I/ServiceManager(317): service 'media.camera' died

08-29 12:42:14.514 W/CameraBase(5321): Camera service died!

08-29 12:42:14.514 W/CameraBase(5321): mediaserver's remote binder Camera object died

08-29 12:42:14.514 E/Camera (5321): Error 100

08-29 12:42:14.514 E/CameraErrorCallback(5321): Got camera error callback. error=100

08-29 12:42:14.524 E/AndroidRuntime(5321): at com.android.camera.CameraErrorCallback.onError(CameraErrorCallback.java:32)

08-29 12:42:14.524 E/AndroidRuntime(5321): at android.hardware.Camera$EventHandler.handleMessage(Camera.java:850)

08-29 12:42:14.534 W/ActivityManager(731): Force finishing activity com.android.gallery3d/com.android.camera.CameraLauncher

08-29 12:42:14.554 E/mm-camera(512): config_shutdown_pp Camera not in streaming mode. Returning.

08-29 12:42:14.554 E/mm-camera(512): sensor_client_set_params: cmd type: 12

08-29 12:42:14.574 E/mm-camera(512): sensor_client_set_params: failed 274

08-29 12:42:14.574 E/mm-camera(512): ispif_process_release MSM_CAM_IOCTL_ISPIF_IO_CFG failed

08-29 12:42:14.574 E/mm-camera(512): ispif_client_destroy: subdev release failed; error: -1 Invalid argument

08-29 12:42:14.574 E/mm-camera(512): axi_client_destroy: subdev release failed; error: -1

Thanks!

View attachment 2223962