Segmentation fault & Bus Error

Hello everyone,

I’m currently using an RPI 5 and have an application built with PyQt5 that utilizes the Picamera2 library. The camera I’m using is a 64MP Hawkeye camera. Everything works fine, but I encounter a segmentation fault error and my code crashes when I expose the camera to high-intensity light.

Upon examining the system resources, I noticed that both the GPU and CPU are heavily utilized (around 70 to 80 percent) when the camera is active.

So how can I resolve it ?

Thank you in advance.