I ran /home/foo/bar.p6 from /path/to/data and it says "Segmentation fault (core dumped)"
I cannot find the core dump file in /var/crash or my home directory or current working directory.
I think it is Raku itself that core-dumped.
Where would raku put the core dump file if my program caused the dump, and where would I find the dump file if Raku itself core-dumped?
Thanks.
By default, all core dumps are stored in /var/lib/systemd/coredump (due to Storage=external ) and they are compressed with zstd (due to Compress=yes ). Additionally, various size limits for the storage can be configured. Note: The default value for kernel.
If apport is enabled, it stores core dumps in the /var/crash directory by default, and you should ensure that sufficient space is maintained in the file system with that directory.
Red Hat Enterprise Linux 6, 7 and 8 has a service called ABRT [2], which automatically collects the core dump files on the server and stores them inside the /var/spool/abrt .
/var/crash is for system crash dumps. Core dumps are usually saved under /var/lib/systemd/coredump/, if not, then it might help to also tell us your distribution and whether your system uses systemd. Also check /etc/systemd/coredump.conf for custom settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With