Skip to content

iOSでWorkerのRuntimeが動かない #38

Description

@na-trium-144
No description provided.

Activity

  1. changed the title [-]iOSでPythonのコード実行がうごかない[/-] [+]iOSでWorkerのRuntimeが動かない[/+] on Nov 4, 2025
  2. na-trium-144 commented on Nov 23, 2025

    @na-trium-144
    ContributorAuthor

    Pyodideは初期化時点でエラー:
    おそらくこのissueっぽい pyodide/pyodide#441

    [Error] Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
    	quit_ (pyodide.asm.js:8:589)
    	handleException (pyodide.asm.js:8:144631)
    	doRun (pyodide.asm.js:8:1073573)
    	run (pyodide.asm.js:8:1073728)
    	removeRunDependency (pyodide.asm.js:8:5505)
    	(anonymous関数) (pyodide.js:3:10565)
    

    もう一つ出てるけどこれは上のエラーと同じ現象を指してる? 別だとしたらわからん

    [Error] Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
    	(anonymous関数) (8982.0d4c19b505a88f72.js:1:2627)
    

    (anonymous関数)は pyodide.worker.ts の onmessage の await init(event.data); の行

  3. na-trium-144 commented on Nov 23, 2025

    @na-trium-144
    ContributorAuthor

    rubyは初期化までできるがコードを実行しようとするとエラー

    [Log] RangeError: Maximum call stack size exceeded. (2462.4cf5abb5c9eeeb4f.js, line 1)
    <?>.wasm-function[9422]
    <?>.wasm-function[9410]
    <?>.wasm-function[9375]
    <?>.wasm-function[9373]
    <?>.wasm-function[5040]
    <?>.wasm-function[8565]
    <?>.wasm-function[8563]
    <?>.wasm-function[8447]
    <?>.wasm-function[8404]
    <?>.wasm-function[8405]
    <?>.wasm-function[8483]
    <?>.wasm-function[106]
    <?>.wasm-function[3764]
    <?>.wasm-function[105]
    <?>.wasm-function[104]
    <?>.wasm-function[149]
    rbEvalStringProtect — 8558.69cb58acdb6f8cfa.js:1:22429
    (anonymous関数) — 8558.69cb58acdb6f8cfa.js:20:1131
    M — 8558.69cb58acdb6f8cfa.js:20:644
    importJsValue — 8558.69cb58acdb6f8cfa.js:18:3216
    (anonymous関数) — 8558.69cb58acdb6f8cfa.js:20:1224
    Promise
    L — 8558.69cb58acdb6f8cfa.js:20:1207
    (anonymous関数) — 2462.4cf5abb5c9eeeb4f.js:88
    d — 2462.4cf5abb5c9eeeb4f.js:112
    (anonymous関数) — 2462.4cf5abb5c9eeeb4f.js:248
    (anonymous関数) — 2462.4cf5abb5c9eeeb4f.js:266
    
  4. na-trium-144 commented on Nov 23, 2025

    @na-trium-144
    ContributorAuthor

    Pyodideをメインスレッドで動かしていた時点(#81 より前)まで戻すと、iOSでも動く

  5. na-trium-144 commented on Nov 23, 2025

    @na-trium-144
    ContributorAuthor

    しかし、このissueを建てたのは9月であり、 #81 より前
    つまり、9月時点で動かなかったのには別のバグがある? 再現しないんだけど

  6. na-trium-144 commented on Apr 17, 2026

    @na-trium-144
    ContributorAuthor

    今試したらPythonもRubyも普通に動いて謎

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions