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

WebGL: INVALID_OPERATION: useProgram: attempt to use a deleted object #23654

Open
rickg-hcl opened this issue Feb 11, 2025 · 2 comments
Open

Comments

@rickg-hcl
Copy link

Please include the following in your bug report:

Version of emscripten/emsdk:
Please include the output emcc -v here
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.73 (cbdb74973483dba58d9a78bf7ef6c0543d1a055f)
clang version 20.0.0git (https:/github.com/llvm/llvm-project 1d810ece2b2c8fab77720493864257f0ea3336a9)
Target: wasm32-unknown-emscripten
Thread model: posix

Failing command line in full:
If this is compile or link-time failure please include the full failing command
along with its entire output.

Full link command and output with -v appended:
Even for runtime issues it helps a lot if you can include the full link command.
Adding -v to the link command will show all of the sub-commands run which
can help us diagnose your issue.

at runtime, in a specific timing scenario, the console shows this error:

  | blitOffscreenFramebuffer | @ | 206cdb5……e19ccd8ff25.js:9661
-- | -- | -- | --
  | _emscripten_webgl_do_commit_frame | @ | 206cdb5……19ccd8ff25.js:12731
  | $_do_call | @ | 9cb0897……5399.wasm:0x10853ba
  | $em_task_queue_execute | @ | 9cb0897……05399.wasm:0xbbc83e
  | $receive_notification | @ | 9cb0897……5399.wasm:0x18ff27d
  | $em_task_queue_execute | @ | 9cb0897……05399.wasm:0xbbc83e
  | $_emscripten_check_mailbox | @ | 9cb0897……5399.wasm:0x1a4aaf1
  | (anonymous) | @ | 206cdb5……0e19ccd8ff25.js:684
  | callUserCallback | @ | 206cdb5……e19ccd8ff25.js:9203
  | checkMailbox | @ | 206cdb5……e19ccd8ff25.js:9235

I have created a PR that avoids showing this harmless error

rickg-hcl/emscripten@master...rickg-hcl-patch-1

@sbc100
Copy link
Collaborator

sbc100 commented Feb 11, 2025

Thanks @rickg-hcl. Would you mind opening a pull request against this repo?

@kainino0x, WDYT?

@rickg-hcl
Copy link
Author

sorry, I screwed up the base.
#23658

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

2 participants