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

Open
opened 2026-02-16 17:44:27 -05:00 by yindo · 2 comments
Owner

Originally created by @pabloXDXDXD on GitHub (Jan 9, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @pabloXDXDXD on GitHub (Jan 9, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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](https://github.com/user-attachments/assets/8791bcfd-be96-40a5-8dc2-f387dcbae727)
yindo added the bug label 2026-02-16 17:44:27 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 9, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #3143: [Bug] Opencode crashes on second run in Termux/Proot distro - Exact same issue with crashes on second execution in Termux
  • #3144: [Bug] Opencode crashes on second run in Termux/Proot distro (ResolveMes error) - Same crash pattern but with different error details

Both of these issues describe the identical problem: first run works fine, but second execution causes immediate crash with "Aborted" message.

Feel free to ignore if this addresses a different specific case.

@github-actions[bot] commented on GitHub (Jan 9, 2026): This issue might be a duplicate of existing issues. Please check: - #3143: [Bug] Opencode crashes on second run in Termux/Proot distro - Exact same issue with crashes on second execution in Termux - #3144: [Bug] Opencode crashes on second run in Termux/Proot distro (ResolveMes error) - Same crash pattern but with different error details Both of these issues describe the identical problem: first run works fine, but second execution causes immediate crash with "Aborted" message. Feel free to ignore if this addresses a different specific case.
Author
Owner

@iceqing commented on GitHub (Jan 15, 2026):

I encountered same problem

@iceqing commented on GitHub (Jan 15, 2026): I encountered same problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4518