reaper-oss / sws

The SWS extension is a collection of features that seamlessly integrate into REAPER, the Digital Audio Workstation (DAW) software by Cockos, Inc
https://www.sws-extension.org/
MIT License
455 stars 85 forks source link

Hang on project load in v >4.03pre4 (including 4.11pre1) - Repeatable #391

Closed Jeff0S closed 2 years ago

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 04, 2011 04:41:01

What steps will reproduce the problem? Please see here: http://forum.cockos.com/showthread.php?t=88810 Just to be crystal clear, this problem does not occur in REAPER 4.03pre4

Other details; SWS version 2.1.0 #13 Windows 7 x64

Original issue: http://code.google.com/p/sws-extension/issues/detail?id=391

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 03, 2011 19:42:59

And YOWCH! This is a big PITA!

Jeff0S commented 10 years ago

From jeffos...@gmail.com on October 04, 2011 00:45:56

sorry but I can't reproduce. also, given the description made on the forums, I have a serious doubt this is a SWS prob. when you say "Tested without SWS Extensions (v2.1.0 #13) and problem is solved" have you removed other extensions (e.g. TabEditor) ?

Jeff0S commented 10 years ago

From jeffos...@gmail.com on October 04, 2011 01:06:03

I forgot: I tried to repro on XP x86, will try Win7 x64 later.. are you suing REAPER32 or REAPER64 on x64?

Jeff0S commented 10 years ago

From jeffos...@gmail.com on October 04, 2011 01:30:54

also, according to the forum description it is normal I can't reproduce (as I don't have the media files => I'm in the "ignore missing files" case which seems to workaround the issue)

I have attached an edited version of your buggy project. Please, can you tell us if you reproduce the issue with it + SWS installed + edited RPP in its original location (so that media files are correctly retrieved) ? Thanks!

Attachment: C'Mon_jeff_edit.zip

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 05, 2011 15:08:04

Just about to start a recording session, can't talk much now.

Yes, the project loads perfectly. I'm in Win7x64 running REAPER 32-bit.

I don't believe I have TabEditor installed. (unless it's part of SWS) Also, when I remove SWS extensions, it tells me that some number of items depend on an extension which is not present.

Thanks Jeff, Dax.

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 05, 2011 15:13:15

Retested in 4.11 pre2 - still exists (probably not linked to VST effSetSpeakerArrangement ??)

Jeff0S commented 10 years ago

From swstim on October 05, 2011 20:03:42

Dax,

I can't repro this either. Can you try renaming the project to something else that doesn't contain the ' character in the name? Long shot maybe, but worth a try.

Tim

Status: Investigating

Jeff0S commented 10 years ago

From jeffos...@gmail.com on October 06, 2011 06:08:14

hey Tim, if my edited version loads fine (as Dax said in comment 5) that is probably something due to TRACKSTATE, ITEMSTATE, MUTESTATE, etc.. loading. I removed all of them in my edited version.

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 06, 2011 07:09:03

Hey guys, I tested another project from the same batch with a different filename (which doesn't have ' character) and the bug still occurs.

What are TRACKSTATE, ITEMSTATE, etc? How would I know if I've used them? I do have some custom actions that store item and or track selection that I may have used in these projects.

Jeff0S commented 10 years ago

From swstim on October 06, 2011 08:08:45

TRACKSTATE and ITEMSTATE store the information for the actions "SWS: Save/restore selected track(s) items' states". Those actions are an early attempt at making a full freeze that never panned out well. They stores way more than just selection, and is way overkill if you just want to save the selection.

MUTESTATE is for the actions "SWS: Save/restore selected track(s) mutes (+receives, children)"

SELTRACKITEMSELSTATE is for "SWS: Save/restore selected track(s) selected item(s), slot X". Reaper v4.x has native actions for that, you may prefer to update your macros to use that instead.

If you don't plan on ever doing "Restore" of the saved states mentioned above you can safely delete all those lines in the RPP (eg use the one Jeffos attached above).

I'm still unable to reproduce but I have a better idea of where to look now.

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 06, 2011 09:01:14

It is extremely likely that this is the cause. I made this custom action which could certainly explain it: http://forum.cockos.com/showpost.php?p=806608&postcount=1129 Tomorrow I will re-test the same .RPP file with the following removed;

TRACKSTATE ITEMSTATE MUTESTATE SELTRACKITEMSELSTATE

Then I will report back.

Thanks for your attention on this, guys!

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 06, 2011 23:20:27

I just had a look and it appears that the .RPP file Jeff provided for me doesn't contain any of the following:

TRACKSTATE ITEMSTATE MUTESTATE SELTRACKITEMSELSTATE

Yet it still does not work in 4.11pre2

Is there any point in removing those sections from my current version of the project?

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 06, 2011 23:26:16

I removed the section from the project, but unfortunately it still didn't work.

Are there any other extensions I should be disabling? Here's a text dump;

Directory of C:\Program Files (x86)\audio\REAPER\Plugins

07/10/2011 05:19 PM

. 07/10/2011 05:19 PM .. 30/08/2011 09:30 AM 369,277 cdrecord.exe 30/08/2011 09:30 AM 18,641 default_layouts.txt 30/08/2011 09:30 AM 274,432 DiracLE.dll 30/08/2011 09:30 AM 380,928 elastique.dll 30/08/2011 09:30 AM 420,864 elastique2.dll 08/06/2011 01:52 PM 920,253 FFmpeg.dll 07/10/2011 05:19 PM 0 file.txt 07/10/2011 05:11 PM FX 06/10/2011 12:18 AM 158,720 jsfx.dll 30/06/2011 12:26 PM 172,544 reaper_alphatrack.dll 06/10/2011 12:18 AM 123,904 reaper_ape.dll 06/10/2011 12:15 AM 44,032 reaper_cd.dll 06/10/2011 12:18 AM 74,240 reaper_csurf.dll 06/10/2011 12:19 AM 84,480 reaper_ddp.dll 06/10/2011 12:13 AM 119,296 reaper_explorer.dll 06/10/2011 12:15 AM 167,424 reaper_flac.dll 06/10/2011 12:18 AM 115,200 reaper_host32.exe 06/10/2011 12:05 AM 185,856 reaper_host64.exe 06/10/2011 12:13 AM 946,688 reaper_midi.dll 06/10/2011 12:08 AM 163,840 reaper_mp3dec.dll 06/10/2011 12:06 AM 1,740,288 reaper_ogg.dll 08/07/2011 12:37 PM 434,176 reaper_omf.dll 06/10/2011 12:18 AM 102,400 reaper_rex.dll 24/09/2011 10:07 AM 2,040,832 reaper_sws.dll 06/10/2011 12:18 AM 221,696 reaper_video.dll 06/10/2011 12:04 AM 102,400 reaper_wave.dll 06/10/2011 12:13 AM 243,200 reaper_wavpack.dll 08/06/2011 01:51 PM 233,472 REX Shared Library.dll 06/10/2011 12:13 AM 18,944 soundtouch.dll

Jeff0S commented 10 years ago

From swstim on October 07, 2011 07:06:08

Hmm, ok. Can you make the problem occur on a subset of the project? (I.e delete all but one track, save, restart, see what happens.) If so, can you .zip up the entire project and either attach it here or email it to me tim at standingwaterstudios dot com.

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 14, 2011 04:35:54

Hey Tim, I'm out of time right now, but I did do some testing. It seems that if I remove the FX folder (and child tracks), the project loads fine in 4.11pre2

Tomorrow if I get more time, I'll remove each of the FX tracks individually (into new projects) using 4.03pre4 and see which one or ones are causing it.

All the best, Dax.

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 20, 2011 03:41:51

Okay, so I found the cause. If I remove Metaplugin from the Snare Plate track, the project loads fine.

It seems strange that Metaplugin cuses no problems to loading when SWS is not installed. What interaction does SWS have with loading vst plugins?

The file that loads in any version of REAPER with SWS installed is attached.

If you need more information, please don't hesitate to ask.

All the best, Dax.

Attachment: C'Mon - Dax edit no metaplugins.zip

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 24, 2011 17:07:06

Hey Tim, How's this going? Do you need any more information/testing?

Cheers, Dax.

Jeff0S commented 10 years ago

From swstim on October 24, 2011 19:22:42

Dax, I haven't gotten back to it yet, but I will. :) Tim

Jeff0S commented 10 years ago

From d...@puzzlefactory.com.au on October 24, 2011 20:34:00

Cheers Tim, thanks for the heads-up. D.