Step-by-Step: Diagnosing Segmentation Fault (core dumped) in multi-threaded C/C++ daemons on DigitalOcean Servers
Enabling Core Dumps on DigitalOcean Segmentation faults in multi-threaded C/C++ daemons are notoriously difficult to debug, especially in production environments. The first hurdle is ensuring that core dumps are actually generated when a crash occurs. By default, many Linux distributions, including those commonly used on DigitalOcean, have core dump generation disabled or severely restricted. We […]