[LG Optimus 4X HD] Flying_Bear:
hey everyone,

i'm running arararagi's modded CM with WW CM kernel, and yesterday i noticed i have an issue with 4.2 camera ported from nexus 4 (i use it for photosphere). when i try opening the camera, the app crashes instantly. the app works flawlessly on a fresh installation of arararagi's CM, so it must be one of my apps that are installed somehow crashing it, but i have no idea which one.

anyway, here are two separate logcats of crash events, one is with all debug info, one is with error info only. if anyone could give me any tips on how to solve this, i'd be grateful:

06-14 21:38:54.744 D/NvOmxCamera(149): OMX_ERRORTYPE android::NvOmxCamera::allocatePreviewBuffersFromNativeWindow(NvxComponent*, OMX_U32):--
06-14 21:38:54.744 D/NvOmxCamera(149): <<<Event handler got event [0] == 0x3
06-14 21:38:54.744 D/NvOmxCamera(149): sendANBs ++
06-14 21:38:54.744 D/NvOmxCamera(149): sendANBs --
06-14 21:38:54.744 V/NvOmxCamera(149): preparePreviewPort: ---
06-14 21:38:54.744 D/NvOmxCamera(149): NvxDoCameraControl +++++ 0
06-14 21:38:54.744 E/NvOmxCamera(149): NvxCameraControl_PreviewStart ++0
06-14 21:38:54.744 D/NvOmxCamera(149): NvxDoCameraControl ----- 0
06-14 21:38:54.744 D/NvOsDebugPrintf(149): [imx111]NvCameraUpdateResolution 3264x2448 SetViClock(ViClockType_Core) : ClockTemp = 199200
06-14 21:38:54.744 D/NvOsDebugPrintf(149): [imx111] SensorClockkHz=24000, ClockRatio=8.500000, PllMult=83, VtPixClkFreqHz:199200000
06-14 21:38:54.744 D/NvOsDebugPrintf(149): [imx111] IMX111_IOCTL_SET_MODE start
06-14 21:38:54.754 D/GmsClient(4857): service broker connected, binder: android.os.BinderProxy@41e0ed80
06-14 21:38:54.764 W/ResourceType(4857): Skipping entry 0xa040078 in package table 0 because it is not complex!
06-14 21:38:54.764 D/AndroidRuntime(4857): Shutting down VM
06-14 21:38:54.764 W/dalvikvm(4857): threadid=1: thread exiting with uncaught exception (group=0x4188d930)
06-14 21:38:54.764 E/AndroidRuntime(4857): FATAL EXCEPTION: main
06-14 21:38:54.764 E/AndroidRuntime(4857): android.view.InflateException: While create instance ofcom.android.camera.IconListPreference
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PreferenceInflater.newPreference(PreferenceInflater.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PreferenceInflater.inflate(PreferenceInflater.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PreferenceInflater.inflate(PreferenceInflater.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.CameraSettings.getPreferenceGroup(CameraSettings.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PhotoModule.loadCameraPreferences(PhotoModule.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PhotoModule.initializePhotoControl(PhotoModule.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PhotoModule.initializeAfterCameraOpen(PhotoModule.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PhotoModule.access$2400(PhotoModule.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.PhotoModule$MainHandler.handleMessage(PhotoModule.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at android.os.Handler.dispatchMessage(Handler.java:99)
06-14 21:38:54.764 E/AndroidRuntime(4857): at android.os.Looper.loop(Looper.java:137)
06-14 21:38:54.764 E/AndroidRuntime(4857): at android.app.ActivityThread.main(ActivityThread.java:5222)
06-14 21:38:54.764 E/AndroidRuntime(4857): at java.lang.reflect.Method.invokeNative(Native Method)
06-14 21:38:54.764 E/AndroidRuntime(4857): at java.lang.reflect.Method.invoke(Method.java:511)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
06-14 21:38:54.764 E/AndroidRuntime(4857): at dalvik.system.NativeStart.main(Native Method)
06-14 21:38:54.764 E/AndroidRuntime(4857): Caused by: java.lang.reflect.InvocationTargetException
06-14 21:38:54.764 E/AndroidRuntime(4857): at java.lang.reflect.Constructor.constructNative(Native Method)
06-14 21:38:54.764 E/AndroidRuntime(4857): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
06-14 21:38:54.764 E/AndroidRuntime(4857): ... 17 more
06-14 21:38:54.764 E/AndroidRuntime(4857): Caused by: android.content.res.Resources$NotFoundException: Array resource ID #0xa040078
06-14 21:38:54.764 E/AndroidRuntime(4857): at android.content.res.Resources.obtainTypedArray(Resources.java:491)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.IconListPreference.getIds(IconListPreference.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): at com.android.camera.IconListPreference.<init>(IconListPreference.java)
06-14 21:38:54.764 E/AndroidRuntime(4857): ... 19 more
06-14 21:38:54.764 W/ActivityManager(488): Force finishing activity com.google.android.gallery3d/com.android.camera.CameraLauncher
06-14 21:38:54.844 D/NvOsDebugPrintf(149): [imx111] IMX111_IOCTL_SET_MODE end

06-14 21:58:16.604 E/NvOmxCameraSettingsParser(149): Param type 70 not supported
06-14 21:58:16.604 E/NvOmxCameraSettingsParser(149): Param type 82 not supported
06-14 21:58:16.604 E/NvOmxCameraSettingsParser(149): Param type 83 not supported
06-14 21:58:16.714 E/NvOmxCamera(149): stopPreviewInternal - Invalid state (No graph || preview already stopped not paused)
06-14 21:58:16.714 E/NvOmxCamera(149): bongryong -- bracketCaptureCount---burstCaptureCount = 1 ====
06-14 21:58:16.714 E/NvOmxCamera(149): bongryong -- bracketCaptureCount---Morpho HDR OFF ++
06-14 21:58:16.714 E/NvOmxCamera(149): ====
06-14 21:58:16.744 E/NvOmxCamera(149): NvxCameraControl_PreviewStart ++0
06-14 21:58:16.744 E/AndroidRuntime(5529): FATAL EXCEPTION: main
06-14 21:58:16.744 E/AndroidRuntime(5529): android.view.InflateException: While create instance ofcom.android.camera.IconListPreference
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PreferenceInflater.newPreference(PreferenceInflater.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PreferenceInflater.inflate(PreferenceInflater.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PreferenceInflater.inflate(PreferenceInflater.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.CameraSettings.getPreferenceGroup(CameraSettings.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PhotoModule.loadCameraPreferences(PhotoModule.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PhotoModule.initializePhotoControl(PhotoModule.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PhotoModule.initializeAfterCameraOpen(PhotoModule.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PhotoModule.access$2400(PhotoModule.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.PhotoModule$MainHandler.handleMessage(PhotoModule.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at android.os.Handler.dispatchMessage(Handler.java:99)
06-14 21:58:16.744 E/AndroidRuntime(5529): at android.os.Looper.loop(Looper.java:137)
06-14 21:58:16.744 E/AndroidRuntime(5529): at android.app.ActivityThread.main(ActivityThread.java:5222)
06-14 21:58:16.744 E/AndroidRuntime(5529): at java.lang.reflect.Method.invokeNative(Native Method)
06-14 21:58:16.744 E/AndroidRuntime(5529): at java.lang.reflect.Method.invoke(Method.java:511)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
06-14 21:58:16.744 E/AndroidRuntime(5529): at dalvik.system.NativeStart.main(Native Method)
06-14 21:58:16.744 E/AndroidRuntime(5529): Caused by: java.lang.reflect.InvocationTargetException
06-14 21:58:16.744 E/AndroidRuntime(5529): at java.lang.reflect.Constructor.constructNative(Native Method)
06-14 21:58:16.744 E/AndroidRuntime(5529): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
06-14 21:58:16.744 E/AndroidRuntime(5529): ... 17 more
06-14 21:58:16.744 E/AndroidRuntime(5529): Caused by: android.content.res.Resources$NotFoundException: Array resource ID #0xa040078
06-14 21:58:16.744 E/AndroidRuntime(5529): at android.content.res.Resources.obtainTypedArray(Resources.java:491)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.IconListPreference.getIds(IconListPreference.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): at com.android.camera.IconListPreference.<init>(IconListPreference.java)
06-14 21:58:16.744 E/AndroidRuntime(5529): ... 19 more
06-14 21:58:17.984 E/InputDispatcher(488): channel '41c41310 com.google.android.gallery3d/com.android.camera.CameraActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-14 21:58:17.984 E/SurfaceTextureClient(149): queueBuffer: error queuing buffer to SurfaceTexture, -32
06-14 21:58:17.984 E/NvOmxCamera(149): Queue Buffer Failed
06-14 21:58:17.984 E/NvOmxCamera(149): Queue Buffer Failed 1
06-14 21:58:17.994 E/DatabaseUtils(4317): Writing exception to parcel
06-14 21:58:17.994 E/DatabaseUtils(4317): java.lang.SecurityException: Permission Denial: reading com.google.android.gm.provider.PublicContentProvider uri content://com.google.android.gm/my@mail.com/labels from pid=1138, uid=10075 requires com.google.android.gm.permission.READ_CONTENT_PROVIDER, or grantUriPermission()
06-14 21:58:17.994 E/DatabaseUtils(4317): at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:332)
06-14 21:58:17.994 E/DatabaseUtils(4317): at android.content.ContentProvider$Transport.query(ContentProvider.java:188)
06-14 21:58:17.994 E/DatabaseUtils(4317): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:113)
06-14 21:58:17.994 E/DatabaseUtils(4317): at android.os.Binder.execTransact(Binder.java:351)
06-14 21:58:17.994 E/DatabaseUtils(4317): at dalvik.system.NativeStart.run(Native Method)
06-14 21:58:17.994 E/ApexNotifier(1138): Error opening Gmail labels
06-14 21:58:17.994 E/ApexNotifier(1138): java.lang.SecurityException: Permission Denial: reading com.google.android.gm.provider.PublicContentProvider uri content://com.google.android.gm/my@mail.com/labels from pid=1138, uid=10075 requires com.google.android.gm.permission.READ_CONTENT_PROVIDER, or grantUriPermission()
06-14 21:58:17.994 E/ApexNotifier(1138): at android.os.Parcel.readException(Parcel.java:1425)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.content.ContentProviderProxy.query(ContentProviderNative.java:366)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.content.ContentResolver.query(ContentResolver.java:376)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.content.ContentResolver.query(ContentResolver.java:319)
06-14 21:58:17.994 E/ApexNotifier(1138): at com.anddoes.notifier.a.o.b(SourceFile:206)
06-14 21:58:17.994 E/ApexNotifier(1138): at com.anddoes.notifier.a.o.run(SourceFile:155)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.os.Handler.handleCallback(Handler.java:725)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.os.Handler.dispatchMessage(Handler.java:92)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.os.Looper.loop(Looper.java:137)
06-14 21:58:17.994 E/ApexNotifier(1138): at android.os.HandlerThread.run(HandlerThread.java:60)
06-14 21:58:18.984 E/NvOmxCamera(149): Queue Buffer Failed 2
06-14 21:58:18.984 E/SurfaceTextureClient(149): queueBuffer: error queuing buffer to SurfaceTexture, -32
06-14 21:58:18.984 E/NvOmxCamera(149): Queue Buffer Failed
06-14 21:58:18.984 E/NvOmxCamera(149): Queue Buffer Failed 1
06-14 21:58:19.984 E/NvOmxCamera(149): Queue Buffer Failed 2
06-14 21:58:19.984 E/NvOmxCamera(149): NvxDoCameraControl(PreviewStop) failed [0x80001011]
06-14 21:58:20.004 E/NvOmxCamera(149): stopPreviewInternal - Invalid state (No graph || preview already stopped not paused)
06-14 21:58:20.004 E/NvOmxCamera(149): mError Val unprepare encoder^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1
06-14 21:58:20.004 E/NvOmxCamera(149): mError Val unprepare camera^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1
06-14 21:58:20.264 E/NvOmxCamera(149): mError Val ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1
06-14 21:58:20.264 E/NvOmxCamera(149): Error has come ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
06-14 21:58:20.474 E/NvOmxCamera(149): +++++Unprepare camera done
06-14 21:58:20.474 E/NvOmxCamera(149): +++++Delete camera object done camera done
06-14 21:58:20.474 E/NvOmxCamera(149): Already called release()
06-14 21:58:20.474 E/NvOmxCamera(149): Current opened camera made NULL **********************************

thank you everyone