Systemd services crashes with error: "Main process exited, code=killed, status=11/SEGV"

Ivan Maltar 0 Reputation points
2024-08-01T07:25:46.71+00:00

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.

Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.