admin管理员组

文章数量:1290957

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)?

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)?

Share Improve this question asked Feb 13 at 20:54 tadm123tadm123 8,7939 gold badges35 silver badges58 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

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.

本文标签: macosAre core dumps the same as crash reportsStack Overflow