到 pi 的 ~/.antigravity 去看 log: 在 data/logs/20260104T124620/remoteagent.log 有 SIGILL
Language server killed with signal SIGILL找到一個很像 language server 的 : ./bin/94...af/extensions/antigravity/bin/language_server_linux_arm
run run 看真的 fail
~/.antigravity-server $ ./bin/94f...6af/extensions/antigravity/bin/language_server_linux_arm --version Illegal instruction所以用 gdb 來看,用這些參數:
* `-ex "run"`: Tells GDB to start the program immediately.
* `-ex "x/i \$pc"`: This is the most important part.
* x = Examine memory.
* /i = Format the output as a CPU instruction.
* $pc = Look at the Program Counter (the exact address where the CPU stopped because of the error).
* `-ex "bt"`: Generates a Backtrace to show the function call stack leading up to the crash.
* `--batch`: Runs GDB in non-interactive mode and exits once the commands are finished.
* `--args`: Allows you to pass the binary path and any flags it needs (like --version).
結果
~/.antigravity-server $gdb -ex "run" -ex "x/i \$pc" -ex "bt" --batch --args ./bin/94...6af/extensions/antigravity/bin/language_server_linux_arm --version [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Program received signal SIGILL, Illegal instruction. 0x000000555d5426ac in ?? () => 0x555d5426ac: ldaddal x8, x8, [x9] #0 0x000000555d5426ac in ?? () #1 0x0000007ff7fc1cdc in ?? () from /lib/ld-linux-aarch64.so.1 #2 0x0000007ff7fd83a0 in ?? () from /lib/ld-linux-aarch64.so.1所以是 ldaddal
查這個 instruction 要ARMv8.1 LSE, raspberry pi 4 是 ARMv8.0,所以沒辦法。
另外用 VSCode 測試,ssh 到 raspberry pi 是 OK 的,髓以猜是language server 重新 compile for armv8.0 應該就可以....
然後 .vscode 沒有 language_server... 這個東西,連 bin 都沒有...
沒有留言:
張貼留言