opencode icon indicating copy to clipboard operation
opencode copied to clipboard

OpenCode crashes with "Aborted" on Termux/Debian on second attempt, [object ErrorEvent]

Open pabloXDXDXD opened this issue 5 days ago • 1 comments

Description

When running OpenCode on Termux (with Debian distribution in chroot/proot), the first execution seems to work, but on the second attempt the program closes abruptly with the message "Aborted". When using the --print-logs flag, an [object ErrorEvent] error is observed just before the crash.

Relevant Logs:

INFO  2026-01-09T12:04:16 +1148ms service=default version=1.1.6 args=["--print-logs"] opencode
INFO  2026-01-09T12:04:16 +8ms service=config path=/root/.config/opencode/config.json loading
INFO  2026-01-09T12:04:16 +5ms service=config path=/root/.config/opencode/opencode.json loading
INFO  2026-01-09T12:04:16 +8ms service=config path=/root/.config/opencode/opencode.jsonc loading
ERROR 2026-01-09T12:04:41 +25192ms service=default [object ErrorEvent]
Aborted

Environment Information:

· Primary Environment: Termux on Android · Distribution: Debian (in chroot/proot within Termux) · User: root · OpenCode Version: 1.1.6 · Configuration paths attempted: · /root/.config/opencode/config.json · /root/.config/opencode/opencode.json · /root/.config/opencode/opencode.jsonc

Image

pabloXDXDXD avatar Jan 09 '26 12:01 pabloXDXDXD