Skip to content

crash in bun when launching on hyprland (linux window manager) small screen tile #45802

Closed as not planned

Description

@getaaron

Description

if i open a new opencode window and the tile is too small, it crashes and shows a bun stack trace.

Plugins

none

OpenCode version

1.18.23

Steps to reproduce

reproduction steps (100% reproducible on my machine)

  1. install omarchy linux 4 (2026.8.14-1) (not sure if this is needed, might reproduce on any hyprland other tiling window managers with small windows?)
  2. launch a new agent window on a screen that has a bunch of windows open so the tiling makes it really small

expected behavior: app launches fine
actual behavior: i get a bun crash (see screenshot)

notes

  • always reproduces at a small enough size
  • never reproduces if i open it in a bigger window tile
  • i clicked the bun report link and it said the app should update from bun 1.3.14 to 1.4.0
    • i do not know how reliable this suggestion is in fixing it or really even know what bun is/does

Screenshot and/or share link

Image

Operating System

Omarchy quatrro 2026.8.14-1

Terminal

Foot (a Wayland wlroots-based terminal) inside Hyprland

Activity

  1. github-actions commented on Aug 28, 2026

    @github-actions
    Contributor

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

    If your issue is distinct (e.g., it crashes at launch before any resize event, rather than on shrink), please add more detail about the exact crash timing so maintainers can differentiate.

  2. getaaron commented on Aug 28, 2026

    @getaaron
    Author

    My case may be related but is slightly different

    • It crashes at launch with no resize event (afaik, unless there is a secret resizing event under the hood - but from my perspective the window opens and remains the same size until it crashes)
    • sessions in larger windows do not crash when i shrink them down that size
  3. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions