Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find a Raku core dump file?

Tags:

coredump

raku

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.

like image 242
lisprogtor Avatar asked Oct 11 '20 06:10

lisprogtor


People also ask

Where can I find the core dump file?

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.

Where does Apport store core dumps?

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.

Where are core dumps stored redhat?

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 .


1 Answers

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

like image 58
rubystallion Avatar answered Oct 16 '22 01:10

rubystallion