Default [Q] [HELP]Problem with galley and camera app

Hi all!
I have a big problem with camera app and gallery, i think it was related with the rom (slimkat build 4) but I get the same bug with cm11.
The camera app isn't working, it's autoclosing every time I opened it and the gallery don't show the preview of the video.
If i install another camera app from the store it work, and also the stock camera app in the original firmware never crashed!
How can i resolve it?
Thanks all!