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 Topic RSS sp_TopicIcon
RackAFX Lockup
Avatar
RickM
Member
Members
February 5, 2018 - 2:52 pm
Member Since: February 5, 2018
Forum Posts: 14
sp_UserOfflineSmall Offline

I'm a new user. I have RackAFX 6.9.0.8 which I'm using with VS 2015.

I'm have problems with RackAFX locking up.

I can open the project,  rebuild the C++ code, and run it just fine. But if I make any changes to the Prototype UI, RackAFX locks up after I rebuild the code. I can force RackAFX to close and then manual close VS. If I reopen everything and rebuild the project, it then runs fine. But every time this happens I also end up with and extra #include <vector> line. IE after a few lockups the beginning of the .h file looks like:

/*
RackAFX(TM)
Applications Programming Interface
Derived Class Object Implementation
*/

#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include "ProjectName.h"

...

Avatar
W Pirkle
Admin
February 5, 2018 - 3:25 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Hi Rick

We are not experiencing any locking up of RackAFX at all, though the extra #include <vector> lines of code are obviously redundant and I will look into that. I don't think those are the issue at hand.

Could you give me some more information about the "lock up" part? Does it stop responding to all mouse input (if you can close it with the X button, then it is still responding) or do you need to shut it down with the task manager? 

Does this happen with new projects or just older (book) projects? If I can replicate the issue then I can surely fix it, but I need to know a bit more to replicate it. I may ask you to use the contact form on the main page and send me a dropbox link to an example project that does this depending on whether I can reproduce it.

- Will

Avatar
RickM
Member
Members
February 5, 2018 - 4:16 pm
Member Since: February 5, 2018
Forum Posts: 14
sp_UserOfflineSmall Offline

Thanks for the quick response Will,

This is happening for me with new projects. I have not tried running any of your "book" projects.

When it does it's "lock up", the top left of the app window says "RackAFX(tm) (Not Responding)" and if I mouse inside the window I see a spinning blue circle. If I click the X in the top right corner I get a pop-up windows with various options from which I then click "Close the program". I also get the info below from that pop-up window. BTW, I'm running Win7Pro 64-bit.

Thanks,

Rick

--------------------------------------------------------------------------------------

Description:
A problem caused this program to stop interacting with Windows.

Problem signature:
Problem Event Name: AppHangB1
Application Name: RackAFX.exe
Application Version: 6.9.0.8
Application Timestamp: 5a720c92
Hang Signature: af27
Hang Type: 0
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Hang Signature 1: af27c7a27a56528d8fb1fc7dbb502626
Additional Hang Signature 2: c04a
Additional Hang Signature 3: c04a7737badea23007cf83bd75583575
Additional Hang Signature 4: af27
Additional Hang Signature 5: af27c7a27a56528d8fb1fc7dbb502626
Additional Hang Signature 6: c04a
Additional Hang Signature 7: c04a7737badea23007cf83bd75583575

Avatar
W Pirkle
Admin
February 6, 2018 - 9:30 am
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Thanks for the info. Are you using the "Classic" GUI with 40 sliders, or the "Modern" version with the 80 knobs and as shown on the willpirkle.com main page? 

Also if you have time to make a quick screen-capture-video, you could use the contact form on the main page to supply me with a video link, which would also be helpful.

RackAFX runs in Win7/64 and I have a student currently using that OS in class right now.

- Will

Avatar
RickM
Member
Members
February 6, 2018 - 10:47 am
Member Since: February 5, 2018
Forum Posts: 14
sp_UserOfflineSmall Offline

Will,

I'm using the interface with the 4 rows of 10 sliders.

I'm also wondering if it's ok that I added an #include statement at the top of the ProjectName.h file. IE the file looks like the example below. Is that an ok thing to do???

Rick

------------------------------------------------------

/*
RackAFX(TM)
Applications Programming Interface
Derived Class Object Definition
Copyright(c) Tritone Systems Inc. 2006-2012

Your plug-in must implement the constructor,
destructor and virtual Plug-In API Functions below.
*/

#pragma once

// base class
#include "plugin.h"

#include "my_own_class.h"

...

// Add your code here: ----------------------------------------------------------- //

my_own_class my_object;

// END OF USER CODE -------------------------------------------------------------- //

...

---------------------------------------------------------------------------------------

Avatar
W Pirkle
Admin
February 6, 2018 - 1:41 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Hi Rick

I think your issue may be that you are on the older interface (aka Classic) that has been frozen in code and will be obsoleted when newer versions of the Focal Press books come out. I will look into that now.

And yes, you can add your own 3rd party objects like you suggest without issues as long as those files don't require others (which you would also need to add).

You will also need to add them to your visual studio project (assuming the class is packaged as a pair of .h/.cpp files) by right clicking on the solution and choosing Add -> Existing Items then browse and click on the files to add - this will bring them into the project for compiling. 

Meantime, I will check the Classic GUI code.

- Will

Avatar
RickM
Member
Members
February 6, 2018 - 2:59 pm
Member Since: February 5, 2018
Forum Posts: 14
sp_UserOfflineSmall Offline

Hi Will,

Thanks much for your help. Switching to the "Modern" GUI seems to have solved by lockup issue.

Thanks also for your work on RackAFX and your great books. I have a Hammond Organ inspired additive synth that I'm working on. It's currently a standalone application (I'm a retired engineer, and have been doing embedded systems for over forty years). I'd like to port the synth to RackAFX, but for now I'm just doing a simple compressor plugin to learn RackAFX.

BTW, do you have plans to allow more than 2 channels? One of my favorite debugging tools is a hardware Oscilloscope hooked up to spare IO ports.

Thanks again for your prompt help,

Rick

Avatar
RickM
Member
Members
February 6, 2018 - 4:07 pm
Member Since: February 5, 2018
Forum Posts: 14
sp_UserOfflineSmall Offline

Hi Will,

The lockup problem is definitely not occurring with the Modern GUI. But interestingly I'm still getting the extra includes added to the top of the project.cpp file (not the .h file I mistakenly reported before). I'll keep a better eye on it and try to determine exactly when they're being added.

Rick

-------------------------------------------------------------------------------

/*
RackAFX(TM)
Applications Programming Interface
Derived Class Object Implementation
*/

#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include <vector>
#include "RackAFXCompressor.h"

...

Avatar
W Pirkle
Admin
February 7, 2018 - 8:54 am
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Thanks, I know where the extra #includes are coming from and I'll fix that in the next update (soon) which will also correct the lockup issue for users who want to continue with the old GUI. Stay tuned...

- Will

Avatar
W Pirkle
Admin
February 7, 2018 - 12:46 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Hi Rick

Could you please use the contact form at the bottom of the home page to email me directly? The <vector> issue was a no-brainer but I am unable to replicate a lockup and I'd like to discuss it with you. Any extra information would be helpful.

- Will

Avatar
RickM
Member
Members
February 8, 2018 - 6:35 pm
Member Since: February 5, 2018
Forum Posts: 14
sp_UserOfflineSmall Offline

Hi Will,

I sent you a message via the "contact form" yesterday, but didn't hear back with an email.

Rick

Avatar
W Pirkle
Admin
February 9, 2018 - 7:49 am
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Please try once more - I did not get anything : /

- Will

Avatar
RickM
Member
Members
February 9, 2018 - 8:45 am
Member Since: February 5, 2018
Forum Posts: 14
sp_UserOfflineSmall Offline

Wiill

Just sent you my email via Contact Form.

Here's what I know:

-Must use Classic GUI

-Just a Pass Thru project will cause the lockup

-Only changes I made to code was deleting extra #include <vector>

-Must actually run the plugin, just loading will not cause lockup

-Using the builtin signal generator to run plugin is enough to cause problem

-After running plugin, and then make a change to the GUI, add a dummy slider and rebuild

-Lockup occurs when trying to reload plugin

-I'm using with ASIO hardware driver, but it happens with two different vendors hardware

Rick

Avatar
W Pirkle
Admin
February 12, 2018 - 1:29 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Note: this has been addressed and fixed in v6.9.0.9

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 51

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 34

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 696

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 757

Posts: 2894

Newest Members:

Jas, Rowan, sojourn, fabhenr, rg1, Niklas, Wutru, Tim Campbell, Danny Jonel, Valentin

Moderators: W Pirkle: 573

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 573, VariableCook: 3