Hi,
I expirianced some crashes with Qt widget based camera preview (q_gl_picamera2) taking stills with switch_mode_and_capture_file.
Long terms short, I'm able to replicate the chrashes after taking some stills in the example "app_capture.py" too. Simply take some stills repeatedly and it will crash at around ten pics (at me the first try 8 times, the second try 13 times).
The error displayed will be: Camera did not start properly.