Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Service segmentation fault in AWS EC2

Tags:

I have my service running in EC2 (under systemd). It is a self-contained app built for .Net Core 2.1. From time to time (a few times a week) it crashes with SEGV.

Apr 30 21:20:51 ip-10-4-226-55 kernel: traps: App.Name[26176] general protection ip:7f22da3609da sp:7f1fedf11510 error:0 in libc-2.26.so[7f22da2e3000+1ad000]

Apr 30 21:20:51 ip-10-4-226-55 systemd: appname.service: main process exited, code=killed, status=11/SEGV

Apr 30 21:20:51 ip-10-4-226-55 systemd: Unit appname.service entered failed state.

Apr 30 21:20:51 ip-10-4-226-55 systemd: appname.service failed.

For some reason, crash dump is not created (even though I removed the size limit). How can I investigate the problem further? What can be the source of the issue?