Hello, > > I could fix that crash by commenting out line 450 in src/glwidget.cpp: > > > > //self->stopGlsl(); > > > > But I guess this hides another problem in MLT/Movit. Any idea on this one > > ? > > This change is a cause of more concern. I observe a regression in this area > between Shotcut 14.12 and 15.01, but it seems to become worse (less > intermittent) from 15.02 to 15.03. I also notice that this problem does not > while working on a started playlist or timeline project or when video mode > is not automatic - because mlt_consumer is not restarted. Technically, > what it is doing is correct to ensure GL resources are released on the > proper OpenGL context active on the current thread. There is a concern to > reuse GL resources created in one context in a new context or to free them > in a different context. I tried bisecting Shotcut and MLT repos to narrow > down the problem, but the intermittent nature of it between 14.12 and 15.01 > makes it difficult. Also, it has been difficult to debug. I might just > comment and revisit it later.
I did some tests in Kdenlive trying to fix this, and here is what I found, might be helpful to fix the problem: * The problem vanishes when using the rtaudio consumer instead of the sdl_audio consumer * When using the sdl_audio consumer, commenting the lines 788-792 of glwidget.cpp seems to solve the crash. The problematic lines are: // Save this frame for future use and to keep a reference to the GL Texture. m_frame = SharedFrame(frame); So my guess is that that shared frame holds some data, that at some point becomes corrupted. Hope it can help you, regards. jb ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel