Chatgpt and bus error

Walter Bright newshound2 at digitalmars.com
Sun Oct 11 06:56:45 UTC 2026


I am not very familiar with the Mac, and waste a lot of time trying to figure 
out the Mac way of doing things.

I was getting a bus error from a hello world program in Arm64, from somewhere in 
druntime. I tried my usual methods at tracking the problem, to no avail. So I 
thought what the heck, and uploaded the executable to chatgpt. It responded with 
a list of lldb commands, which I executed and transmitted the results back to 
chatgpt.

It found the bug!

Well, that was a big time saver. Tomorrow I'll see about fixing it.


More information about the Digitalmars-d mailing list