• SONAR
  • Strange crash, Pure virtual funcion call (p.2)
2013/11/14 12:58:28
Splat
FreeFlyBertl
cowboydan
try downloading this and installing. maybe this will help.
 
 
Download Visual C++ Redistributable for Visual Studio 2012 Update 3 from Official Microsoft Download Center




I was under the impression to stick to what ever redistributable comes with the software when it is installed via its installation package. isn't that the one against which it was developed and tested?
 
If there is a problem in the underlying windows API that needs to be fixed via updating redistributables, I would assume it should be very much in Cakewalk's interest to let us all know rather than having us try these things blindly ...




 Redistributables  often get delivered by Microsoft update. They are Microsoft's responsibility. Sonar may trigger installation of these packages or may even supply them but after that one would hope windows update would take over, and when that doesn't happen (patch Tuesday is once a month)  you have to take action yourself, or a third party patch may trigger or supply the update later.... eg X3D, and it probably should have happened with X3C.
2013/11/14 13:04:09
Splat
And if none of that works... Yes it might even be drivers! Looking at the original post it could be anything as far as software so each needs to be ruled out one by one..... This is what Sonar tech support has to go through every day I suspect because the first thing most people do is blame the software they are attached to without understanding that the dependencies are everywhere even when least obvious. Also people don't naturally want to do things they perceive may be a waste of their time. I remember asking my mother why I should wear a hat when it was cold for instance.
2013/11/14 15:57:41
Ludvig
Hi again all!

Thanks for the interesting discussion and all the input.

I don't really blame Cakewalk for this. I've had Sonar running fine since it came out. The only thing I can think of is that this should be related to some Windows update. I noticed I had it set to automatic which I thought was a good idea since windows 8 is relatively new. Maybe this wasn't so ...

On the other had I figure that at least someone else would have the same situation.

Best Regards
Ludvig
2013/11/14 19:22:19
TomHelvey
I don't know if this will help you troubleshoot your problem or not, but pure virtual function calls usually happen when the dll containing the code gets unloaded prematurely.
1. Load the dll
2. Create an object from the dll
3. Unload the dll
4. Call a method on the object you created from the dll, the loader can't find the code so it calls the base class method which isn't defined. (pure virtual function)
We used to get these in code that had issues with object reference counting. We solved the problem by letting the OS manage the reference counting but that may not be doable in an app like Sonar which needs to load and unload plug-ins on demand.
2013/11/14 21:28:51
SuperG
TomHelvey
I don't know if this will help you troubleshoot your problem or not, but pure virtual function calls usually happen when the dll containing the code gets unloaded prematurely.
1. Load the dll
2. Create an object from the dll
3. Unload the dll
4. Call a method on the object you created from the dll, the loader can't find the code so it calls the base class method which isn't defined. (pure virtual function)
We used to get these in code that had issues with object reference counting. We solved the problem by letting the OS manage the reference counting but that may not be doable in an app like Sonar which needs to load and unload plug-ins on demand.



 
Interesting... never tried that. Compilers will usually catch instantiations without plugged pure virtuals, but never though you could abuse it runtime-wise. I suppose it could get ugly if the base and descendant were in different .dlls...
2013/11/14 23:52:21
Splat
Bring em back.... Things were simpler... 
 

2013/11/15 00:01:05
robert_e_bone
I used to HAVE a Sinclair.  Wrote my first Lotto program on it.
 
Peek, Poke, aah the memories.
 
Bob Bone
 
2013/11/15 00:39:33
chuckebaby
look at the Sinclair logo in that photo.
same fonts as the cakewalk logo  :-)
2013/11/15 03:22:20
Ludvig
FWIW, my computer history also began with Sinclair. To young to own the ZX 80/81 but man did I wan't those!
In my case it would be ZX Spectrum 48k (yes, the big one!), ZX Spectrum 128 (with additional Microdrive) followed by Atari ST ...

I used to spend a whole weekend typing in a sampler in basic from a listing in a magazine. Then before I got to save it to tape, which was a lengthy thing, I managed to pull out the power cord. That is how I learned about backup. The hard way.

None of this will help me with this though :-)

This time I'm not the programmer (thank god). All I'm trying to do is move a clip in TV. I get this everytime.
It still is working in SONAR X2, if that might matter.

Best Regards
Ludvig
2013/11/15 04:15:43
Shambler
I had this error with X2a, it was fixed by uninstalling all of the VC++ redistributables and Sonar then reinstalling everything.
..there's a guide somewhere on here about deleting Sonar's registry keys etc.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account