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
Crash: Unable to Load plugin into RackAFX.
No permission to create posts
January 1, 2015
12:19 pm
Avatar
Jack
Member
Members
Forum Posts: 6
Member Since:
December 16, 2014
sp_UserOfflineSmall Offline

Hi All,
I'm getting this error for every plugin I load a plugin into RackAFX.
I've also tried the download projects plugins to see if I was doing something in error.

After clicking the LOAD button in RackAFX, I get this from the output of VS 2013 Express' debugger:
First-chance exception at 0x1000D4EC (portaudio_x86.dll) in RackAFX.exe: 0xC0000005: Access violation reading location 0x00000000.
Unhandled exception at 0x1000D4EC (portaudio_x86.dll) in RackAFX.exe: 0xC0000005: Access violation reading location 0x00000000.
...
RackAFX is locked after clicking LOAD and then crashes after a minute.

My setup is Windows 7 Pro 64 bit, VS 2013 express, RackAFX 6.2.7 with RME Babyface latest drivers...

Thanks in advance for any help!
-Jack

January 1, 2015
11:16 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Hi Jack

Wow, I have never seen this error before. I have versions on XP, Win7/32 and Win8/64. Also, using VS2013 currently on Win8. The error is in the portaudio DLL, which is a 3rd party component used for the audio streaming. It is a mature and well known library. I am kind of stumped here.

Can you play audio in RAFX (with no plugin loaded, you should still be able to stream audio).

Can you play the oscillator and get audio from it as well?

Are you streaming audio when you hit the Load button (this is perfectly OK and should work)?

I am going to try to replicate the error by deleting the audio buffers, but that's just a stab in the dark...

- Will

January 2, 2015
10:17 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Please also try switching your audio drivers to the stock Win8 drivers and let me know.

Currently, RackAFX does not directly support ASIO drivers (this is another issue with 3rd party libraries), so also make sure you are not attempting that. This is RAFX client thing only - when you use the RAFX DLL as a VST plugin, there is no problem, likewise Make VST plugins do not have this issue.

- Will

January 3, 2015
8:04 am
Avatar
Jack
Member
Members
Forum Posts: 6
Member Since:
December 16, 2014
sp_UserOfflineSmall Offline

Will said:
"Can you play audio in RAFX (with no plugin loaded, you should still be able to stream audio).
Can you play the oscillator and get audio from it as well?"

- Yes to both.

Will said:
"Are you streaming audio when you hit the Load button (this is perfectly OK and should work)?"

- Not sure how to test this?...

****** SOLVED ******
Will said:
"Please also try switching your audio drivers to the stock Win8 drivers and let me know."

- Yes, this did it! Switching my audio I/O's to "Microsoft Sound Mapper - " and now there's no crash.
The plugins now loads in RackAFX when I click LOAD.
I didn't think to change this as I was able to playback audio on any output device settings.

Will said:
"Currently, RackAFX does not directly support ASIO drivers (this is another issue with 3rd party libraries), so also make sure you are not attempting that. This is RAFX client thing only - when you use the RAFX DLL as a VST plugin, there is no problem, likewise Make VST plugins do not have this issue."

- If RackAFX did support ASIO would it provide less latency and more voices during debugging?

Thanks for your help in solving this problem.
-Jack

January 4, 2015
8:14 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

HI Jack

First, glad that you are up and running - that is the most important part. Secondly, ASIO driver support has always been on the list, but the new GUI stuff in v6.5 has taken priority for the last half-year. In the pre v4.0 versions of RackAFX (when it was named "Socket") I wrote the whole audio buffering subsystem myself, including some assembly language stuff. At one point, I decided to make 64-Bit RAFX a future-reality, and part of that involved ripping out the assembly language, which is illegal in 64-bit apps, though there is a kind of kludgy workaround that I didn't want to deal with.

So I switched to PortAudio to deal with this. On the plus-side it lets you easily change the audio latency (see Audio/MIDI->Setup Audio Devices) via the "Latency Multiplier" and "Audio Driver Latency" -- these should be set as low as possible. On that same panel, there is a buffer size setting - this is on the RackAFX side, and likewise should be set as low as possible before stuttering/clicking occurs. On the minus-side, is that other than the Latency variables above, you can't set the Port Audio buffer sizes to exact values directly, which you can with ASIO.

So the long answer is that ASIO support is in the queue, but not sure when it will be a reality.

- Will

April 6, 2015
1:11 am
Avatar
BrianD
Member
Members
Forum Posts: 8
Member Since:
March 24, 2015
sp_UserOfflineSmall Offline

I'm having the same issue, only I'm using Windows 8.1 64bit. I can still stream audio and use the oscillator through RackAFX, but it crashes when I try to load any plug-in; even after trying every audio I/O listed I still can't seem to get it up and running!

April 7, 2015
10:55 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

Brian

If you can stream audio (WAV) and play the oscillator then your drivers are OK.

Typically, crashes when loading a plugin are caused by the toxic constructor issue, that is documented in several locations in the Forum.

But this sounds like a potentially different issue. Please use the contact form and email me directly with a dropbox link to one of the plugins that crashes when you load it; I can verify whether it is OK or not and we can go from there.

Will

April 30, 2015
6:27 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

SOLVED:

Brian solved the same issue by changing the audio drivers to WDM compliant versions (in his case, the hardware shipped with both WDM compliant and non-compliant drivers, so it was just a matter of choosing the proper one in Setup Audio).

- Will

December 22, 2015
1:26 am
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

NOTE: the new version of RackAFX v6.6.x now includes ASIO driver support!

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
2 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