Everything I see tells me to configure core dumps via
ulimit, but Void doesn't have this command (at least not out of the box). I can't seem to find any relevant results to help me enable them.
I'm using Void because it has more security than distributions using
systemd, and I'm trying to help some developers debug their program that runs on Void.
I need to enable core dumps to help them get proper debugging information.
Does anyone know how to do this?
If we search the repository for packages related to the keyword, dump, we find among the results a package named ProcDump. The package description claims that the software "provides a way to create core dumps."
xbps-query -Rs dump
-R switch asks
xbps-query to search repositories, and the
-s switch searches for matches on a string or regular expression. Installation is accomplished as shown below, using the
-S (synchronize) switch.
xbps-install -S ProcDump-for-Linux
This action also installs dependencies:
According to it's website, "ProcDump is a Linux reimagining of the classic ProcDump tool from the Sysinternals suite of tools for Windows. ProcDump provides a convenient way for Linux developers to create core dumps of their application based on performance triggers." Documentation and examples are given by the developers, and a manual is included in the package,
man 8 procdump.