Chatgpt and bus error

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sun Oct 11 07:01:07 UTC 2026


On 11/10/2026 7:56 PM, Walter Bright wrote:
> 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.

If you used a client, it would have been able to run it for you and then 
fixed it.

- Someone who already has aarch64 backend that is optimizing



More information about the Digitalmars-d mailing list