Closed MichaelRawson closed 3 days ago
No dice on StarExec. Not sure if we care.
Will try to investigate a bit more, but currently, this kills my terminal with terminal.txt
...your actual terminal emulator dies, right? I have no idea what to do about that, sorry. If you redirect output to a file does it perhaps not crash the terminal?
In #412 I (perhaps foolishly, in hindsight) removed the
CALL
mechanism with some code that found stack frames, then asked the system to resolve them to function names. This had a lot of benefits, but it was a bit flaky and had to be improved in #504 so that we shell out toaddr2line
.This worked, but in itself was also flaky in the presence of ASLR, which is becoming harder to avoid. On ARM Macs, for example, it seems you can't switch it off easily.
So: since we already shell out to a program, why not use something designed for this? Replace the whole mess with invocations of
gdb
orlldb
in their batch modes to get a backtrace. This should (hopefully) be the last attempt in this sorry saga.Things still to check: