Skip to content

crashed when starting opencode web #10206

Closed

Description

@dumbFeng

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

Activity

  1. github-actions commented on Jan 23, 2026

    @github-actions
    Contributor

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

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

  2. YPares commented on Jan 23, 2026

    @YPares

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

  3. BVEsun commented on Jan 23, 2026

    @BVEsun

    Can confirm. Happens to me too

  4. HuTa0kj commented on Jan 23, 2026

    @HuTa0kj

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

  5. d-ploutarchos commented on Jan 23, 2026

    @d-ploutarchos

    Same here

  6. axot commented on Jan 23, 2026

    @axot

    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()
    }
    
  7. 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 workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions