[Galaxy S II General] lfrst05:
I updated to CM9 nightly 04-21-2012 and SiyahKernel 3.1rc6 today (from CM9 04-09-2012 / Siyah 3.1rc5).

Now the camera app crashes with a "java.lang.RuntimeException: startPreview failed" exception. (I cleared cache, davlik cache and the data of the app (in the app menu))

I flashed nearly all nigtly builds since February and all worked fine everytime.

I know its a nightly build - so its not stable, no support,... but does anyone have an idea how to fix this (withou doing a full wipe)?

logcat:

I/ActivityManager( 7609): Start proc com.android.camera for activity com.android.camera/.Camera: pid=11594 uid=10007 gids={1006, 1015}
D/OpenGLRenderer( 9930): Flushing caches (mode 1)
D/OpenGLRenderer( 9930): Flushing caches (mode 0)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
V/CameraHolder(11594): open camera 0
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
I/CameraService( 1944): Opening camera 0
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getNumberOfCameras()
D/SecCameraHardware( 1944): int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**) LSIHAL
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getNumberOfCameras()
D/SecCameraHardware( 1944): int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**): LSIHAL open camera 0
D/SecCameraHardware( 1944): init E
D/dalvikvm(11594): GC_CONCURRENT freed 277K, 5% free 9274K/9671K, paused 1ms+3ms
D/dalvikvm(11594): GC_FOR_ALLOC freed 10K, 4% free 9317K/9671K, paused 16ms
I/dalvikvm-heap(11594): Grow heap (frag case) to 9.571MB for 373696-byte allocation
D/dalvikvm(11594): GC_FOR_ALLOC freed 3K, 4% free 9678K/10055K, paused 25ms
D/dalvikvm(11594): GC_FOR_ALLOC freed 20K, 3% free 9886K/10183K, paused 13ms
D/SecCameraHardware( 1944): createInstance: Back camera, created
D/SecCameraHardware( 1944): int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**): LSIHAL opened camera 0 (0x144548)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_set_callbacks(camera_device*, void (*)(int32_t, int32_t, int32_t, void*), void (*)(int32_t, const camera_memory_t*, unsigned int, camera_frame_metadata_t*, void*), void (*)(int64_t, int32_t, const camera_memory_t*, unsigned int, void*), camera_memory_t* (*)(int, size_t, unsigned int, void*), void*)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_enable_msg_type(camera_device*, int32_t)
I/AwesomePlayer( 1944): setDataSource_l('/system/media/audio/ui/camera_click.ogg')
E/OMXCodec( 1944): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 1944): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/AwesomePlayer( 1944): setDataSource_l('/system/media/audio/ui/VideoRecord.ogg')
E/OMXCodec( 1944): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 1944): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
D/CameraWrapper( 1944): camera_fixup_getparams: get parameters fixed up
D/CameraWrapper( 1944): camera_fixup_getparams: get parameters fixed up
D/Camera (11594): app passed NULL surface
D/SecCameraHardware( 1944): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
D/CameraWrapper( 1944): camera_fixup_getparams: get parameters fixed up
V/camera (11594): Preview size is 640x480
V/MediaProfilesJNI(11594): native_get_num_image_encoding_quality_levels
V/MediaProfilesJNI(11594): native_get_image_encoding_quality_level
V/MediaProfilesJNI(11594): native_get_image_encoding_quality_level
V/MediaProfilesJNI(11594): native_get_image_encoding_quality_level
D/CameraWrapper( 1944): camera_fixup_setparams: set parameters fixed up
D/SecCameraHardware( 1944): int android::HAL_camera_device_set_parameters(camera_device*, const char*)
D/ISecCameraHardware( 1944): setParameters X: success
I/Process ( 7609): Sending signal. PID: 11594 SIG: 3
I/dalvikvm(11594): threadid=3: reacting to signal 3
I/dalvikvm(11594): Wrote stack traces to '/data/anr/traces.txt'
V/camera (11594): startPreview
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_enable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_preview_enabled(camera_device*)
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_set_preview_window(camera_device*, preview_stream_ops*)
D/ISecCameraHardware( 1944): virtual android::status_t android::ISecCameraHardware::setPreviewWindow(preview_stream_ops*): mPreviewWindow 0x0
E/ISecCameraHardware( 1944): preview window is NULL!
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_start_preview(camera_device*)
D/ISecCameraHardware( 1944): startPreview E
D/SecCameraHardware( 1944): nativeStartPreview E
D/SecCameraHardware( 1944): virtual android::status_t android::SecCameraHardware::nativeStartPreview(): mPreviewFormat = NV21
E/SecCameraHardware( 1944): FimcV4l2 start: error, unsupported pixel format
E/SecCameraHardware( 1944): int android::SecCameraHardware::FimcV4l2::start(android::image_rect_type*, android::cam_pixel_format, int, int): fmtdesc.pixelformat = 0,
E/SecCameraHardware( 1944): nativeStartPreview: error, mFimc.start
E/ISecCameraHardware( 1944): startPreview: error, nativeStartPreview
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_stop_preview(camera_device*)
D/ISecCameraHardware( 1944): stopPreview E
W/ISecCameraHardware( 1944): stopPreview: warning, preview has been stopped
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_disable_msg_type(camera_device*, int32_t)
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_stop_preview(camera_device*)
D/ISecCameraHardware( 1944): stopPreview E
W/ISecCameraHardware( 1944): stopPreview: warning, preview has been stopped
D/SecCameraHardware( 1944): LSIHAL int android::HAL_camera_device_take_picture(camera_device*)
D/ISecCameraHardware( 1944): takePicture E
D/ISecCameraHardware( 1944): takePicture X
D/SecCameraHardware( 1944): LSIHAL void android::HAL_camera_device_release(camera_device*)
D/SecCameraHardware( 1944): release E
D/dalvikvm(11594): GC_CONCURRENT freed 70K, 3% free 10275K/10503K, paused 1ms+1ms
I/CameraService( 1944): Destroying camera 0
I/SecCameraHardware( 1944): int android::HAL_camera_device_close(hw_device_t*)
W/dalvikvm(11594): threadid=11: thread exiting with uncaught exception (group=0x40a441f8)
W/AudioFlinger( 1944): session id 114 not found for pid 1944
W/AudioFlinger( 1944): session id 115 not found for pid 1944
E/AndroidRuntime(11594): FATAL EXCEPTION: Thread-346
E/AndroidRuntime(11594): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime(11594): at com.android.camera.Camera.startPreview(Camera.java:1963)
E/AndroidRuntime(11594): at com.android.camera.Camera.access$3200(Camera.java:86)
E/AndroidRuntime(11594): at com.android.camera.Camera$5.run(Camera.java:1130)
E/AndroidRuntime(11594): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime(11594): Caused by: java.lang.RuntimeException: startPreview failed
E/AndroidRuntime(11594): at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime(11594): at com.android.camera.Camera.startPreview(Camera.java:1960)
E/AndroidRuntime(11594): ... 3 more
W/ActivityManager( 7609): Force finishing activity com.android.camera/.Camera
D/dalvikvm( 7609): GC_CONCURRENT freed 1718K, 14% free 16772K/19463K, paused 2ms+6ms
I/Process ( 7609): Sending signal. PID: 11594 SIG: 3
I/dalvikvm(11594): threadid=3: reacting to signal 3
I/dalvikvm(11594): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 7609): Sending signal. PID: 11594 SIG: 3
W/ActivityManager( 7609): Activity pause timeout for ActivityRecord{416aba80 com.android.camera/.Camera}
I/dalvikvm(11594): threadid=3: reacting to signal 3
I/dalvikvm(11594): Wrote stack traces to '/data/anr/traces.txt'
I/ActivityManager( 7609): No longer want com.teamhacksung.tvout (pid 8475): hidden #16
I/ActivityManager( 7609): No longer want org.onaips.vnc (pid 8931): hidden #16
W/ActivityManager( 7609): Scheduling restart of crashed service org.onaips.vnc/.StartAtBootService in 10034ms
W/ActivityManager( 7609): Scheduling restart of crashed service com.teamhacksung.tvout/.TvOutService in 20033ms
I/ActivityManager( 7609): Start proc com.bel.android.dspmanager for service com.bel.android.dspmanager/.service.HeadsetService: pid=11628 uid=10009 gids={3002}
I/ActivityManager( 7609): No longer want com.mobisystems.editor.office_registered:search (pid 8998): hidden #16
I/HeadsetService(11628): Starting service.
W/ActivityManager( 7609): Scheduling restart of crashed service com.mobisystems.editor.office_registered/com.mobisystems.office.search.EnumerateFilesService in 29939ms