Thread: FCam Errors
View Single Post
Posts: 17 | Thanked: 0 times | Joined on Jan 2011
#1
Hi all,

I wrote a timelapse application and it works well for the most part.

There were some road bumps along the way - I disabled meta tracker as it was complaining about being unable to connect to the sqlite database.

More recently, I cannot get rid of these errors:


Error: Expected image data not returned from V4L2. Likely caused by excess page faults (thrashing).

Error: VIDIOC_DQBUF: Resource temporarily unavailable

2011-01-25 12:46:27 - Error: Handler got a NULL frame


I am taking pictures every second. My code will be here (I am cleaning up the code base and will publish it this afternoon):

https://github.com/walterjwhite/maemo-timelapse


Do I need to delete the frame after saving it? Or is all of that handled for me? I am guessing that the device runs out of memory which is why it reboots after a period of time has elapsed. According to free, the memory declines as the application continues to run, but according to top, memory usage is just 10 - 11%.

Any ideas?


Thanks,

Walter