crashed when starting opencode web #7319

Open
opened 2026-02-16 18:06:49 -05:00 by yindo · 6 comments
Owner

Originally created by @dumbFeng on GitHub (Jan 23, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Have a look at the below code piece please:

RangeError: Maximum call stack size exceeded
    at kl (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:10527)
    at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8224)
    at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816)
    at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186)
    at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816)
    at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186)
    at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816)
    at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186)
    at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816)
    at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186)

Plugins

No response

OpenCode version

1.1.19

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @dumbFeng on GitHub (Jan 23, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description Have a look at the below code piece please: ``` RangeError: Maximum call stack size exceeded at kl (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:10527) at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8224) at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816) at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186) at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816) at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186) at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816) at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186) at X5 (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8816) at yr (http://127.0.0.1:55326/assets/index-Bj9zfj-u.js:2:8186) ``` ### Plugins _No response_ ### OpenCode version 1.1.19 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugweb labels 2026-02-16 18:06:49 -05:00
Author
Owner

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

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

  • #10202: RangeError: Maximum call stack size exceeded (identical error in web UI)
  • #10194: RangeError: Maximum call stack size exceeded in Web UI during initialization (same error during web initialization)
  • #10193: opencode web cant open RangeError: Maximum call stack size exceeded (same web startup error)
  • #10186: An error occurred when opening OpenCode in web mode (same RangeError issue)
  • #10185: [Bug] 1.1.33 web get error: Maximum call stack size exceeded (marked as closed, same web error)

Feel free to ignore if this addresses your specific case differently.

@github-actions[bot] commented on GitHub (Jan 23, 2026): This issue might be a duplicate of existing issues. Please check: - #10202: RangeError: Maximum call stack size exceeded (identical error in web UI) - #10194: RangeError: Maximum call stack size exceeded in Web UI during initialization (same error during web initialization) - #10193: opencode web cant open RangeError: Maximum call stack size exceeded (same web startup error) - #10186: An error occurred when opening OpenCode in web mode (same RangeError issue) - #10185: [Bug] 1.1.33 web get error: Maximum call stack size exceeded (marked as closed, same web error) Feel free to ignore if this addresses your specific case differently.
Author
Owner

@YPares commented on GitHub (Jan 23, 2026):

Can confirm. Happens to me too (using OpenCode 1.1.32)

@YPares commented on GitHub (Jan 23, 2026): Can confirm. Happens to me too (using OpenCode 1.1.32)
Author
Owner

@BVEsun commented on GitHub (Jan 23, 2026):

Can confirm. Happens to me too

@BVEsun commented on GitHub (Jan 23, 2026): Can confirm. Happens to me too
Author
Owner

@HuTa0kj commented on GitHub (Jan 23, 2026):

No matter how I change the local version, the web version remains 1.1.33.

@HuTa0kj commented on GitHub (Jan 23, 2026): No matter how I change the local version, the web version remains 1.1.33.
Author
Owner

@d-ploutarchos commented on GitHub (Jan 23, 2026):

Same here

@d-ploutarchos commented on GitHub (Jan 23, 2026): Same here
Author
Owner

@axot commented on GitHub (Jan 23, 2026):

8186: X5(n)
8816: n.length && yr( () => $b(n), !1),

function yr(t, e) {
    if (Wn)
        return t();
    let n = !1;
    e || (Wn = []),
    _n ? n = !0 : _n = [],
    Vd++;
    try {
        const r = t();
        return X5(n),
        r
    } catch (r) {
        n || (_n = null),
        Wn = null,
        kl(r)
    }
}

function X5(t) {
    if (Wn && (Zb(Wn),
    Wn = null),
    t)
        return;
    let e;
    if (Te) {
        if (!Te.promises.size && !Te.queue.size) {
            const r = Te.sources
              , o = Te.disposed;
            _n.push.apply(_n, Te.effects),
            e = Te.resolve;
            for (const s of _n)
                "tState"in s && (s.state = s.tState),
                delete s.tState;
            Te = null,
            yr( () => {
                for (const s of o)
                    Is(s);
                for (const s of r) {
                    if (s.value = s.tValue,
                    s.owned)
                        for (let i = 0, a = s.owned.length; i < a; i++)
                            Is(s.owned[i]);
                    s.tOwned && (s.owned = s.tOwned),
                    delete s.tValue,
                    delete s.tOwned,
                    s.tState = 0
                }
                O0(!1)
            }
            , !1)
        } else if (Te.running) {
            Te.running = !1,
            Te.effects.push.apply(Te.effects, _n),
            _n = null,
            O0(!0);
            return
        }
    }
    const n = _n;
    _n = null,
    n.length && yr( () => $b(n), !1),
    e && e()
}
@axot commented on GitHub (Jan 23, 2026): 8186: X5(n) 8816: n.length && yr( () => $b(n), !1), ``` function yr(t, e) { if (Wn) return t(); let n = !1; e || (Wn = []), _n ? n = !0 : _n = [], Vd++; try { const r = t(); return X5(n), r } catch (r) { n || (_n = null), Wn = null, kl(r) } } function X5(t) { if (Wn && (Zb(Wn), Wn = null), t) return; let e; if (Te) { if (!Te.promises.size && !Te.queue.size) { const r = Te.sources , o = Te.disposed; _n.push.apply(_n, Te.effects), e = Te.resolve; for (const s of _n) "tState"in s && (s.state = s.tState), delete s.tState; Te = null, yr( () => { for (const s of o) Is(s); for (const s of r) { if (s.value = s.tValue, s.owned) for (let i = 0, a = s.owned.length; i < a; i++) Is(s.owned[i]); s.tOwned && (s.owned = s.tOwned), delete s.tValue, delete s.tOwned, s.tState = 0 } O0(!1) } , !1) } else if (Te.running) { Te.running = !1, Te.effects.push.apply(Te.effects, _n), _n = null, O0(!0); return } } const n = _n; _n = null, n.length && yr( () => $b(n), !1), e && e() } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7319