Search code examples
rakucoredump

Where can I find a Raku core dump file?


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.


Solution

  • /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.