I have a Raspberry Pi model B Revision : 0002 connected to a camera board of the very first batch released in May 2013 which is not over clocked. I have been running mjpg-streamer successfully with different input plugins on this hardware combination. Currently I'm trying to use the mjpg-streamer plugin input_raspicam.so on this hardware combination with the command
[code/usr/local/bin/mjpg_streamer -i "/usr/local/lib/input_raspicam.so -d 950 -x 960 -y 720 -ex night" -o "/usr/local/lib/output_http.so -p 8090 -w /usr/local/www" &][/code]
This works at night when there is no or very little light. At dawn or during daytime this command will fail with the error message Segmentation fault.
I have also a Raspberry Pi Model A Revision : 0008 with a camera board from the second batch.
I run the same mjpg-streamer plugin input_raspicam.so on the Raspberry Pi A without any problems.
I run exactly the same versions of mjpg_streamer, firmware and kernel on both of these the Raspberry Pi systems so the only difference is the hardware revisions of the Raspberry Pi boards. The PCB for the camera board was slightly changed, but otherwise I guess it is supposed to the same version in May and the second batch.
Is there some dependency of the Raspberry Pi model release version on the camera code that could explain this problem?
With strace I can see that it segfaults at this point
[code DBG(/home/pi/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/input_raspicam.c, worker_thread(), 719): Encoder enabled, creating pool and connecting ports
DBG(/home/pi/mjpg-streamer/mjpg-streamer-experimental/plugins/input_raspicam/input_raspicam.c, worker_thread(), 777): Starting output
<unfinished ...>
+++ killed by SIGSEGV +++][/code]
