-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Bug: Rendering becomes corrupted after a certain amount of frames #7129
Comments
UPDATE: The bug exists even when a single renderer instance is used. After rendering 130k frames, the rendered image becomes blank: Here is the code to reproduce this bug (Offscreenrendering.cpp example with minor edits):
|
I can reproduce this issue on Windows with MSVC, with an older as well as newer (0.19) Open3D version. Very interestingly the rendering becomes blank or messed up in exactly the same frame on my Windows machine as on @elias-Mimetrik's Linux setup, I find that quite remarkable, and maybe that points to something quite deterministic like an overflow issue that always happens at the same time (and cross-platform). As it always seems to fail after the same iteration too. So potentially not some random memory corruption issue. (Though it seems, in addition to the issue here, the renderer also doesn't properly clean up after itself, as I've discovered in #7132). |
Checklist
main
branch).Describe the issue
I am creating an application where a renderer is created and destoyed 1000s of times. A single renderer is created inside a loop and destroyed at the end of the loop.
The problem is that after some 18700 iterations, rendering becomes corrupted and it turns black.
The rendered images move from this:
To (after 18700 iterations or less than 15 minutes):
I managed to replicate this issue on the Offscreenrendering.cpp example. Please run the modified example below:
Steps to reproduce the bug
Error message
No error messages.
Expected behavior
The rendering should not turn to black; instead it turns to black every time on exactly the same iteration.
A standalone example is pasted above. It is a replica of Offscreenrendering example but repeated 1000s of times. I run it on my machine for 15 minutes until the rendered images start to become corrupted.
Open3D, Python and System information
Additional information
No response
The text was updated successfully, but these errors were encountered: