On Thu, Oct 1, 2020 at 10:44 PM aihui zhu <[email protected]> wrote:
>
> C program could generate a core dump file, my os is Big Sur beta.

Thanks.

I see now that for darwin-amd64 we do not generate core dumps.  Sorry
for forgetting about that.

We have this comment:

// OS X core dumps are linear dumps of the mapped memory,
// from the first virtual byte to the last, with zeros in the gaps.
// Because of the way we arrange the address space on 64-bit systems,
// this means the OS X core file will be >128 GB and even on a zippy
// workstation can take OS X well over an hour to write (uninterruptible).
// Save users from making that mistake.

It may be worth investigating whether this is still a problem on
current macOS systems.  The comment in question is in
runtime/signal_unix.go.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUY%3D5x3AS9_bwETojn%2B7uXxvPxu3FJT4naLkH1zL689dQ%40mail.gmail.com.

Reply via email to