Search code examples
macoscrash-reportscoredump

Are core dumps the same as crash reports?


I'd been trying in my system (MacOS) to generate core dumps without much success, even following several guides in this site.

Here I created a simple sleep process and killed it to force a segmentation fault:

sleep 100 &
killall -SIGSEGV sleep

Output:

[1]  + segmentation fault  sleep 100

I do see when I go to Utilities->Console.app a Crash report, is this similar to a core dump (or if not in what ways are they different)?


Solution

  • Console.app shows you an Error Log by default. I believe you can also view Crash Reports by opening files with an '.ips' extension. A Core Dump is an object file that can be explored with a debugging tool such as valgrind or gdb.

    You can read more about Console.app here.