Systemd services crashes with error: "Main process exited, code=killed, status=11/SEGV"
Hello, I have a custom made application built in net6.0 that I run on my Raspberry Pi Compute Module 4S Rev 1.0 controllers with Raspbian GNU/Linux 10 (buster) using systemd.
Every now and then, the service crashes with error "Main process exited, code=killed, status=11/SEGV". The crash appears to be random and is not related to any event happening in the application, nor the controller.
When I google the problem, I see that the error is segmentation fault, specific for Linux OS, but I can't find the real reason why my application causes this fault.
I was wondering if somebody else had the similar problem? Where can I find more information about the error and how to debug it? What should be checked to determine the cause of the problem? Best regards.