@eco_bach1 some things I would look at to debug this:
- do you have any other USB devices plugged in, that could be shorting the USB bus ( Griffen Powermate USB knobs are famous at doing this )
- do you have the Energy Saver settings in OS X set to do anything funny after a certain time?
- a REALLY helpful way to catch an issue like this is if you are running it from Xcode, when it freezes first check if there is any messages in the console ( avoid ofLogtoFile in this case, so the messages come through ), then hit the pause button in the debugger.
If a thread is hanging you should be able to see where its stuck ( this will only work if its actually hanging and probably not work if the device is simply not delivering frames ).
One other thing to test - which would really help debug the issue, is can you simply run the videoGrabber example from the 0.8.4 examples. Run it overnight and see if it also freezes. This would help identify if the issues is with your code or OF.
Hope that helps!
Theo