How to generate core dumps in Mac OS X?

By default, crashes are reported into .crash files which can be found in /Library/Logs/DiagnosticReports (system-wide) and ~/Library/Logs/DiagnosticReports (user). These files can be opened by using Console app, in User or System Reports. The .crash files are in plain text format and should include relevant information about the crash. In order to activate the full core … Read more

How to generate core dump file in Ubuntu [duplicate]

Linux Activate your coredumps by the following command: ulimit -c unlimited Also, check the core_pattern value by: sysctl kernel.core_pattern to see where your dumps are created (%e will be the process name, and %t will be the system time). You can change it in /etc/sysctl.conf and then reload by sysctl -p. You can test it … Read more

Core dump file is not generated

This link contains a good checklist why core dumps are not generated: The core would have been larger than the current limit. You don’t have the necessary permissions to dump core (directory and file). Notice that core dumps are placed in the dumping process’ current directory which could be different from the parent process. Verify … Read more