Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Can't open RackAFX
No permission to create posts
May 13, 2014
4:48 pm
Avatar
bobten
Member
Members
Forum Posts: 4
Member Since:
May 13, 2014
sp_UserOfflineSmall Offline

Hello,

I have a serious problem here. My system is windows 8 and I was working with RackAFX for several months without a problem. All this until today in the morning, when I clicked to load the WTOscillator plug-in. The program stopped responding and when I closed it and tried to open it again it just showed loading icon and didn't open after hours of loading.

I restarted my pc, I reinstalled the program, I stopped the windows updates and yet it didn't manage it to start. If anyone can help me, please do.

May 13, 2014
7:00 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

I am running RackAFX on Win8 without issues. Although Windows updates have been responsible for breaking Visual Studio in the past, to date no Windows update has broken RAFX. So I think this problem might be the "toxic DLL" issue. The same issue can happen in all plug-in APIs, not just RackAFX.

When you open RackAFX, it first loads all the DLLs (plugins) it finds in the \PlugIns folder (similarly, Logic, Ableton, Sonar, etc... do the same thing). When it loads the DLLs, it calls the constructor of each one. If you have a bug in the constructor of one of your plugins, such as a bogus pointer, the constructor will crash RackAFX. If there is an infinite loop in a constructor, it will hang RackAFX forever (again the same thing will happen with other plug-ins/APIs/DAWs). Ultimately you need to debug your constructor to see what's happening. First, you need to go to the RackAFX \PlugIns folder. On Win7 this is easy with the Start menu button (find RAFX and there is a link to this folder); depending on your version of Win8 you may have to just do a search for it (then bookmark). The \PlugIns folder is normally located here in Win7:

C:\Users\yourcomputer\AppData\Roaming\RackAFX\PlugIns

So, find this plug-ins folder first (note you can also find it from within RackAFX using PlugIns->Open Plugins Folder, but you can't start RAFX so that won't work).

After you find the folder, you need to remove the offending (toxic) DLL. It sounds like this is the WTOscillator.DLL file in your case. Alternatively, you can remove ALL the DLLs (don't delete them, just move them to a temp folder). Note that the other files in that folder named .ilk and .exp are not used; you can delete them if you want; RAFX ignores them.

Start up RAFX - with the toxic DLL removed, RAFX should start up like normal. If you have removed all the DLLs, you can add them back a few at a time, restarting in between, until you find the one that is causing the hang, but usually it is the last DLL you worked on.

Once you find the bad DLL, open RAFX and then open the project for that Plug-In - now you have to find the cause of the hang/crash. You will need to debug the constructor. There is a tutorial video on this at the very bottom of the video tutorial page:

http://www.willpirkle.com/supp.....-tutorials

It shows step by step how to debug a toxic DLL constructor.

Let me know if this fixes your issue - I've had this issue a million times; believe me it's worse in Ableton and Logic (which will both ban your plug-in forever if it crashes on startup). The WTOscillator uses for() loops to setup the wavetables; perhaps you have an infinite loop problem with one of those? just a guess...

All the best,

Will

May 13, 2014
7:32 pm
Avatar
bobten
Member
Members
Forum Posts: 4
Member Since:
May 13, 2014
sp_UserOfflineSmall Offline

Thank you so much man, you saved the day for me. I deleted the toxic dll and the program worked immediately.

Now I need to find the error in WTOscillator and fix it. It is a huge for-loop so it's not strange I got lost somewhere in there.

There was a typo in page 323 that caused the infinite loop. http://www.willpirkle.com/supp.....rt/errata/

May 13, 2014
7:58 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Glad you are back up and running!

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143