Raspistill is the standard camera app in Raspbian. Google will find lots of stuff on it. It will be easier to debug the problem using that.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."