Closed tlnsave12345 closed 3 years ago
Do you have a binary file I can take a look at that does this?
Thanks Alessandro. I narrowed down the crash to a logger file that has CGO code. I am attaching the module tar that also has the binary. Our application can run on Macos and Windows. But by mistake the Macos logger (logger_macosapp.go) is also compiled in. But shouldn't cause a crash.
Thank you, I'll take a look.
The executable you have sent me, eg1.exe, has severely broken debug symbols. I made a commit to address the symptoms, so that delve doesn't crash on it, but don't expect to ever be able to debug it, with delve or any other debugger. I think the underlying cause is that cgo doesn't officially support llvm (https://github.com/golang/go/issues/17014)
Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output, stacktraces, etc) as linked gists.
dlv version
)? 1.6.0go version
)? 1.16.2Here is the crash: