Open duerig opened 9 years ago
Can you try and see if this is related to chdkptp/spreads at all? That is, does merely reconnecting the USB devices repeatedly with no application using them also cause a crash? I've seen messages about device resets in my kernel log when attaching CHDK cameras, maybe these are related? Can you see something in your log? I noticed that when these errors happened on my machines (Laptop, Desktop and RPi 1 and 2) the device ID would be incremented. This is just a suspicion, but maybe at some point that value overflows and a crash is the result...
This could be tested quite quickly by looping through camera reboots via chdkptp versus in a script on the camera I guess...
Using SpreadPi on a Raspberry Pi 2, repeatedly connecting and reconnecting a camera via USB (powering it on and off) will cause a null pointer exception in the kernel and crash the Pi.