[Fixed 2.6] Troubles With Dialogs Created In Coroutines

Here is a version of my sample utilities tool that makes renoise (RC1) crash. It’s a devel version that doesn’t work properly, but since it makes renoise crash, you may want to know about it…

To crash renoise, I do :

  1. open Trim Silence with a large file, which makes my script crash…
  2. Reload all tools from the tools menu. That should close all the custom dialogs, but doesn’t close the “please wait” dialog.
  3. Trying to close this dialog by clicking the close button will make renoise crash.

Note that in this version, I have changed the ProcessSlicer class a bit. I have added “self.__coroutine = nil” in the stop function, otherwise the running() function would return true even if the process was completed. Maybe it wasn’t the proper way to fix this?

Thanks. Dialogs created in coroutines (Lua threads) did not release correctly. Will be fixed in RC2.

I’m always amazed at how quick you fix things! It works much better now.

I’m still struggling to make my tool work though… This version crashes RC2 too sometimes. I load a big sample (like a 20 min wav) and apply big fade in and out so that the tool has a lot of work to do to analyse it. I launch the tool and play with the sliders to launch and interrupt the analysis job. It works most of the time, but sometimes I get some strange “Unknown lua interpreter error” in the terminal or even make renoise crash.

Will check this again. Thanks for letting me know…

Should be completely fixed in RC3 now. Please let me know in case its not, or some other strange things are happening to views in coroutines…

Everything seems to work fine now, thanks!