Skip to content

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

Closed

Description

@pabloXDXDXD

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

Activity

  1. github-actions commented on Jan 9, 2026

    @github-actions
    Contributor

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

    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.

  2. iceqing commented on Jan 15, 2026

    @iceqing

    I encountered same problem

  3. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions