You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now if Script 1 executes CA2, when CA1 is triggered, it will crash Reaper.
If CA2 is changed to simply invoke Reaper actions instead of invoking Script 2, then no crash occurs. So, this may well be a ReaScript re-entrance problem at its heart. What is the expected output? What do you see instead? Reaper crashes as explained above
What version of SWS extension are you using? (Extensions -> About SWS...)
2.4.0#1 What is your Reaper version number and CPU architecture (e.g. Reaper 3.75 x64)? 4.55 x32 What operating system are you running? (e.g. Windows XP/7, OSX 10.5.8 etc, 64bit?) XP SP3
Further testing has revealed that this problem has little to do with CAs. Rather, it seems to be a ReaScript re-entrance problem, please see: http://forum.cockos.com/showthread.php?t=130688 CA involvement is apparently just a 'red herring' :)
fixed possible action recursion via ReaScript for the next build ( r1156 ):
CAs & macros are analyzed recursively to prevent recursion, not a scripts (not parsed, analyzed, etc..).
fix = ReaScript still not analyzed but recursion is now not possible (no crash, script is simply ignored: it is an user error anyway...)
Hey Big Bob!
thank you for the report! I digged this after your 1st post on the forum ( http://forum.cockos.com/showthread.php?t=129885 ) and there was indeed a "hole" in our recursion detection/protection thing.
make a CA that calls a script that calls the said CA, i.e. a script like:
from reaper_python import *
RPR_Main_OnCommand(RPR_NamedCommandLookup('_S&M_CYCLACTION_1'),0)
I don't think the fix here deals with the same thing that you were describing though (2 CAs involved in the original report... may be your new finding might explain it, did not looked yet but will do/post if I find the time!) but that other fix can only help...
About SWS, I can confirm recursion is impossible (well, after the fix ;-).
From rdvillw...@bigbobsmusicworld.com on November 01, 2013 02:47:58
Repro instructions:
Now if Script 1 executes CA2, when CA1 is triggered, it will crash Reaper.
If CA2 is changed to simply invoke Reaper actions instead of invoking Script 2, then no crash occurs. So, this may well be a ReaScript re-entrance problem at its heart. What is the expected output? What do you see instead? Reaper crashes as explained above
What version of SWS extension are you using? (Extensions -> About SWS...)
2.4.0#1 What is your Reaper version number and CPU architecture (e.g. Reaper 3.75 x64)? 4.55 x32 What operating system are you running? (e.g. Windows XP/7, OSX 10.5.8 etc, 64bit?) XP SP3
Original issue: http://code.google.com/p/sws-extension/issues/detail?id=607
The text was updated successfully, but these errors were encountered: