Thank you both of you. Ok, I will do further testings and try if it is possible to avoid a crash in my script as discussed in the mentioned topic.
My camera is a SX620HS. But I also got a slightly older SX710HS for testing. The older SX710HS hasn't crashed yet, but I am not sure if I ever had such a long path with it.
How can I check my DryOS version?