On Thu, Oct 1, 2020 at 9:05 PM Kurtis Rader <kra...@skepticism.us> wrote: > > On Thu, Oct 1, 2020 at 8:36 PM aihui zhu <mr.zh...@gmail.com> wrote: >> >> on a linux virtual machine GOTRACEBACK=crash works fine and would generates >> core files in working directory for me. > > > I just tested this trivial Go (not CGo) program: > > package main > func main() { > panic("WTF") > } > > > I ran the above program on Linux distro OpenSuse 42. With the specified env > var results I get a core dump. The same action on macOS 10.15 (Catalina) only > produces a backtrace -- no core dump. Looks like a bug (or unimplemented > feature) to me.
Can you get a core dump from a C program on macOS 10.15? 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUXrCTiA%3D0RHMHLCuLQv9auH26bcPNrdaNrj7-TSaRMPQ%40mail.gmail.com.