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

Bind attempt of recently deleted buffers and textures #492

Open
estobbart opened this issue Jun 20, 2023 · 0 comments
Open

Bind attempt of recently deleted buffers and textures #492

estobbart opened this issue Jun 20, 2023 · 0 comments
Labels

Comments

@estobbart
Copy link

During a Lightning GC cycle texturs & buffers are GL deleted but kept in JS scope. On the draw call that occurs immediately following the GC cycle, Lightning attempts to bind to the recently deleted buffers and textures.
This can be repro'd with the TMDB app running on Chrome and navigating through the content on the top level pages.
I also reduced the memoryPressure value to get the Lightning GC to occur more often.
You can see from the browser console logs..

WebGL: INVALID_OPERATION: bindFramebuffer: attempt to use a deleted object
WebGL: INVALID_OPERATION: bindTexture: attempt to use a deleted object

I checked and reproduced this on three different Lightning versions. 2.4, 2.6 & 2.10.

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

No branches or pull requests

2 participants