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. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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/CABx2%3DD9j3Wne0pwLbb%3DBWsxoyTpoqL8ND%3DG%2BBULVmZbpu_2Y4Q%40mail.gmail.com.