[Cin] Complete system hangs (likely out of memory)
Stefan de Konink
stefan at konink.de
Sun Jan 22 19:14:32 CET 2023
Below dooes not give me any significant difference. I have opened 5
viewers, the memory rose from 4GB to 5.2GB, after closing the windows the
memory reduced to 5.1GB.
diff --git a/cinelerra-5.1/cinelerra/vwindow.C
index 7be15eb8..d477dab1 100644
@@ -160,6 +160,9 @@ void VWindow::handle_close_event(int result)
playback_engine = 0;
+ delete playback_cursor;
+ delete_source(1, 0);
+ delete clip_edit;
With the change I have also hit the issue below upon closing the main
application with a viewer open; valgrind is pretty convincing this was
caused by the change. My guess 'delete clip_edit' is at least one of the
double free or corruption (!prev)
After reverting the change, I tried some more valgrinding. Cinelerra is
rather slugish with valgrind on, but I have attached, what I see on viewing
some smaller files.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cin