[Galaxy Tab  Android Development] espionage724:
Everything that occurs when taking a picture from rear camera:

03-12 00:46:24.628: V/FocusManager(1153): Start autofocus.
03-12 00:46:24.687: V/camera(1153): onShutterButtonClick: mCameraState=2
03-12 00:46:26.656: V/camera(1153): mAutoFocusTime = 2028ms
03-12 00:46:26.671: I/CameraHardwareSec(105): focus area: (0,0,0,0,0)
03-12 00:46:26.749: I/CameraHardwareSec(105): int android::CameraHardwareSec::previewThreadWrapper(): calling mSecCamera->stopPreview() and waiting
03-12 00:46:26.835: I/SecCamera(105): int android::fimc_v4l2_querybuf(int, android::fimc_buffer*, v4l2_buf_type) :
03-12 00:46:26.835: I/SecCamera(105): int android::fimc_v4l2_querybuf(int, android::fimc_buffer*, v4l2_buf_type): buffer->start = 0x437da000 v4l2_buf.length = 3403776
03-12 00:46:27.519: E/SecCamera(105): ERR(int android::fimc_v4l2_s_ext_ctrl(int, unsigned int, void*)):VIDIOC_S_EXT_CTRLS failed
03-12 00:46:27.519: E/SecCamera(105): int android::SecCamera::setSnapshotCmd()::1165 fail. errno: Invalid argument, m_camera_id = 0
03-12 00:46:27.531: V/camera(1153): mShutterLag = 869ms
03-12 00:46:27.609: D/AudioHardware(105): AudioHardware pcm playback is exiting standby.
03-12 00:46:27.609: V/AudioHardware(105): open pcm_out driver
03-12 00:46:27.609: D/AudioHardware(105): openPcmOut_l() mPcmOpenCnt: 0
03-12 00:46:27.671: V/AudioHardware(105): openMixer_l() mMixerOpenCnt: 0
03-12 00:46:27.671: V/AudioHardware(105): open playback normal
03-12 00:46:27.671: V/AudioHardware(105): write() wakeup setting route SPK
03-12 00:46:27.718: V/camera(1153): mShutterToRawCallbackTime = 188ms
03-12 00:46:27.730: V/camera(1153): mPictureDisplayedToJpegCallbackTime = 10ms
03-12 00:46:27.730: V/camera(1153): stopPreview
03-12 00:46:27.734: I/SecCamera(105): int android::SecCamera::endSnapshot() :
03-12 00:46:27.734: I/SecCamera(105): munmap():virt. addr 0x437da000 size = 3403776
03-12 00:46:27.898: I/CameraHardwareSec(105): void android::CameraHardwareSec::stopPreviewInternal() : preview not running, doing nothing
03-12 00:46:27.914: V/camera(1153): Preview size is 800x600
03-12 00:46:27.921: I/CameraHardwareSec(105): focus area: (0,0,0,0,0)
03-12 00:46:27.921: V/camera(1153): startPreview
03-12 00:46:28.511: D/CameraHardwareSec(105): mPreviewHeap(fd(22), size(720000), width(800), height(600))
03-12 00:46:28.515: I/CameraHardwareSec(105): int android::CameraHardwareSec::previewThreadWrapper(): return from wait
03-12 00:46:28.519: I/CameraExif(1153): Orientation not found
03-12 00:46:28.531: D/CameraStorage(1153): External storage state=mounted
03-12 00:46:28.531: V/camera(1153): mJpegCallbackFinishTime = 801ms
03-12 00:46:28.742: D/dalvikvm(1153): GC_FOR_ALLOC freed 3940K, 44% free 13004K/22855K, paused 67ms
03-12 00:46:28.749: I/dalvikvm-heap(1153): Grow heap (frag case) to 15.875MB for 3145744-byte allocation
03-12 00:46:28.910: D/dalvikvm(1153): GC_CONCURRENT freed 2K, 30% free 16073K/22855K, paused 6ms+25ms
03-12 00:46:29.023: V/PicasaContentProvider(795): querySettings: defaults: {sync_on_wifi_only=1, auto_upload_account_type=null, sync_on_battery=1, sync_picasa_on_wifi_only=1, auto_upload_enabled=0, video_upload_wifi_only=1, sync_on_roaming=0, auto_upload_account_name=null}
03-12 00:46:31.257: D/AudioHardware(105): AudioHardware pcm playback is going to standby.
03-12 00:46:31.257: V/AudioHardware(105): closeMixer_l() mMixerOpenCnt: 1
03-12 00:46:31.257: D/AudioHardware(105): closePcmOut_l() mPcmOpenCnt: 1

The most interesting lines being:

03-12 00:46:27.519: E/SecCamera(105): ERR(int android::fimc_v4l2_s_ext_ctrl(int, unsigned int, void*)):VIDIOC_S_EXT_CTRLS failed
03-12 00:46:27.519: E/SecCamera(105): int android::SecCamera::setSnapshotCmd()::1165 fail.

I don't know where to even begin to try to fix those errors though. Maybe someone should take a picture on a GB-based ROM and see if anything similar to that line appears?