Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser hangs after still waiting on run dependencies: dependency: wasm-instantiate #13326

Closed
jeffRTC opened this issue Jan 26, 2021 · 3 comments

Comments

@jeffRTC
Copy link

jeffRTC commented Jan 26, 2021

I load a 3 MB size WASM file without using the streaming feature. Now, I see this cause the console to print 107 messages like this,

still waiting on run dependencies: 
dependency: wasm-instantiate
(end of list)

This never happened to me before. It seems occurring on this new version.

I noticed browser to crash after the speed of printing increased.

I then re-compiled everything one more time and then the speed of printing become slower and the file loaded, executed everything as expected.

I however unsure if more crashes could happen.

Can you people implement throttling to avoid crash?

@jeffRTC
Copy link
Author

jeffRTC commented Jan 30, 2021

This was happening because CMake settings didn't apply the optimizations so I fixed by adding linker flag..

@Praytic
Copy link

Praytic commented Apr 4, 2023

I still experience this error on Firefox 111.0.1 but with another dependency:

still waiting on run dependencies: index.js:50989:18
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:50989:18
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:50989:18
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:50989:18
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: 2 index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: 2 index.js:746:10
dependency: preloadDylibs 2 index.js:748:9
(end of list) 2 index.js:751:9
still waiting on run dependencies: index.js:50989:18
dependency: wasm-instantiate index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:746:10
dependency: preloadDylibs index.js:748:9
(end of list) index.js:751:9
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
    onPrintError https://html.itch.zone/html/7642782/youtd2/index.js:50989
    runDependencyWatcher https://html.itch.zone/html/7642782/youtd2/index.js:748
    (Асинхронный: setInterval handler)
    addRunDependency https://html.itch.zone/html/7642782/youtd2/index.js:736
    preloadDylibs https://html.itch.zone/html/7642782/youtd2/index.js:4785
    run https://html.itch.zone/html/7642782/youtd2/index.js:50477
    runCaller https://html.itch.zone/html/7642782/youtd2/index.js:50435
    removeRunDependency https://html.itch.zone/html/7642782/youtd2/index.js:779
    receiveInstance https://html.itch.zone/html/7642782/youtd2/index.js:896
    onmessage https://html.itch.zone/html/7642782/youtd2/index.js:3934
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18
still waiting on run dependencies: index.js:50989:18
dependency: preloadDylibs index.js:50989:18
(end of list) index.js:50989:18

My index.js for reference: https://github.com/Praytic/youtd2/blob/gh-pages/index.js

@aisnote
Copy link

aisnote commented Aug 19, 2023

Module not working in Azure Production environment jeffreylanters/react-unity-webgl#164

could you show the solution in detail here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants