AnsweredTrack Templates - Pure Virtual Call (Solved with a re-install)

Author
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
2013/11/17 15:27:54 (permalink)

Track Templates - Pure Virtual Call (Solved with a re-install)

Start up Sonar X3c and load Rapture into an Instrument Rack.
Make sure Enable MIDI Output is off. (I don't know if this matters, but that's what I did)
In the Instrument track select Omni mode and Master output.
In Rapture select the preset "03-Leads - Classic Square". (I don't know if it matters what preset you select).
Save this track as a Track Template named "Rapture - Classic Square"
The setup looks like this:

http://www.arachnaut.net/images/Cakewalk/Pure-Virtual-Call/1-Track-Template-Saved.png
 

 
Delete the track and synth rack entry
Import the track template
This is what I see:
 
http://www.arachnaut.net/images/Cakewalk/Pure-Virtual-Call/2-Import-Track-Template.png


 
 
Note that Sonar has made a MIDI and Audio track and is about to merge them into an instrument track.
Does anyone else see this?
 
post edited by arachnaut - 2013/11/21 03:57:02

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#1
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 16:13:34 (permalink)
Running Win 7 64bit X3c Producer.
1) Created an instrument track with Rapture
2) Set the Rapture program to "03-Leads - Classic Square"
3) Saved instrument track as a track template
4) Deleted instrument track and synth
5) Inserted new track template....OK, no error reported.
#2
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 16:18:58 (permalink)
Thanks, scook.
I'll keep on looking for something else.
(But you are using Windows 7. I am beginning to suspect that the latest Windows Update from 11/12 which had a lot of 8.1 patches may be an issue.)
Anyone with 8.1 up-to-date care to try this?
 

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#3
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 16:30:31 (permalink)
OK, it must be something to do with my 'Normal' template.
 
If I start with, say, the 24 track template and delete the tracks, then do this, it works fine.
 
A few days ago I determined that I had a Normal template problem, so I recreated it again.
 
If I use the original 'Normal' template it works fine.
 
What I had done was start from a New Blank project with almost nothing in the GUI.
Then I add the stuff I want.
Then I save this as a 'Normal.cwt' template. (I rename the original for backup).
 
I've been using the same older template for a long time and this last week I've been having lots of weird problems. I thought I had them beat, but I guess not.
 
I guess I'll just live with the normal 'Normal' for a while and try again later when I can get a fresh perspective on the problem.
 
 

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#4
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 16:47:23 (permalink)
This is very puzzling. For one thing, there are no resources running. No audio, no MIDI, no CPU stress, a completely Idle system.
 
Several times now I have started from scratch and built my Normal Template.
 
It's not really very elaborate - I remove the Metronome and Preview Buss, change a few track icons, set up the various screensets, put in a copyright on the Project Info.
Adjust some track heights and track control settings, set up the default prochannel settings for buss and tracks.
Fairly straightforward stuff. Nothing really new in X3. I don't change track colors.
 
Not elaborate, but still it takes a few hours to set these up and I'm getting tired of doing it, so I'll give up and just start with the factory templates.
 
I'm tempted to try a restore of a system image from before the last Windows update, but since I made so many changes to the Sonar content on a different drive - I'd have to restore them as well and I'd lose a lot of projects.
 
Easier to punt and wait this one out. I'm sure the real problem will surface in due time.
 

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#5
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 19:10:24 (permalink)
A clue:
 
There is a difference between Export.. and Save As...
 
The same project saved these two ways as a track template yield different binaries.
 

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#6
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 19:12:23 (permalink)
Saves as... template yields the error
 
But
 
Export... template is OK.
 
I will continue...

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#7
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 19:14:18 (permalink)
When I create track templates, I right-click on one of the tracks selected and use the "Save as Track Template..." menu option. If it makes a difference.
#8
Splat
Max Output Level: 0 dBFS
  • Total Posts : 8672
  • Joined: 2010/12/29 15:28:29
  • Location: Mars.
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/17 21:47:05 (permalink)
Back up.
Run windows update several times. If that doesn't fix it install this:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
 
Good luck.
 

Sell by date at 9000 posts. Do not feed.
@48/24 & 128 buffers latency is 367 with offset of 38.

Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
#9
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/18 02:07:39 (permalink)
Most of these crashes occur in MSVCR110.dll, which seems to be up to date.
However, your suggestion to update the run-time distributables may be a good one.
I would have thought that Sonar X3 would be quite up-to-date with these since it came out so recently.
I'll see if the download and install makes any difference.

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#10
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/18 02:30:12 (permalink)
Shouldn't this be the proper run-time distributables - Visual Studio 2013?
The one you posted was for 2012.
http://www.microsoft.com/en-us/download/details.aspx?id=40784

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#11
Splat
Max Output Level: 0 dBFS
  • Total Posts : 8672
  • Joined: 2010/12/29 15:28:29
  • Location: Mars.
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/18 08:44:48 (permalink)
Again please run windows update first several times.
If that doesn't fix it please update using the link I've provided (VS2012 not VS2013). Cheers.

Sell by date at 9000 posts. Do not feed.
@48/24 & 128 buffers latency is 367 with offset of 38.

Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
#12
Dan Gonzalez [Cakewalk]
Administrator
  • Total Posts : 395
  • Joined: 2013/01/14 12:28:40
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/18 10:34:32 (permalink)
Feel free to shoot me your template in a PM and I can try to see if this is happening on my end here at HQ.
-DG
#13
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/18 10:34:39 (permalink)
 
Windows update runs every day automatically. Running it manually won't accomplish anything.
 
I'll give the link you provided a try later today. I've been running some stress tests and I want to see how they pan out. (So far there is no trouble.)
 
But I don't see how a pure virtual call could be anything but a programming error.

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#14
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/18 14:08:25 (permalink)
Dan Gonzalez [Cakewalk]
Feel free to shoot me your template in a PM and I can try to see if this is happening on my end here at HQ.
-DG




I just PM'ed you with the info.
 
Thanks for offering to help, this is driving me crazy.

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#15
Dan Gonzalez [Cakewalk]
Administrator
  • Total Posts : 395
  • Joined: 2013/01/14 12:28:40
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/18 22:05:00 (permalink)
Thanks! Received.
-DG
#16
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/19 01:01:50 (permalink)
CakeAlexS
Back up.
Run windows update several times. If that doesn't fix it install this:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
 
Good luck.
 




Thanks for this possibility, it looked reasonable.
I installed, restarted and tried the test, but there was no change - same error.

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#17
Splat
Max Output Level: 0 dBFS
  • Total Posts : 8672
  • Joined: 2010/12/29 15:28:29
  • Location: Mars.
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/19 01:25:28 (permalink)
Darn... Appears to be a bug....

Sell by date at 9000 posts. Do not feed.
@48/24 & 128 buffers latency is 367 with offset of 38.

Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
#18
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/19 11:38:28 (permalink)
Out of sheer desperation I searched for Pure Virtual Call errors and looked over a lot of them. There are several reports in various pieces of software in recent weeks by people running 8.1, but not being seen in Win 7.
 
My current theory on this goes as follows: Windows 8 is a new OS kernel with somewhat different threading processors than Windows 7. There was a recent patch Tuesday update "http://support.microsoft.com/kb/2887595"
that was not a security patch, it was a kernel patch. Among the many things changed, these stick out:
 
C:\Windows\System32\AudioSes.dll
C:\Windows\System32\comdlg32.dll
C:\Windows\System32\gdi32.dll
C:\Windows\System32\kernel32.dll
C:\Windows\System32\libstdc++-6.dll
C:\Windows\System32\libwinpthread-1.dll
C:\Windows\System32\shell32.dll 
C:\Windows\System32\twinui.dll
C:\Windows\System32\UIAutomationCore.dll
C:\Windows\System32\user32.dll
 
Which may indicated changes in threading in the kernel.
 
I only noticed this problem after the last Patch Tuesday (11/12/13 an ominous date).
 
What I think is happening in my case is that Sonar is creating the track in two stages. First it makes a MIDI track and an Audio track, then it destroys them and makes an Instrument track from them.
Another thread is using one of the old tracks after it is destroyed - resulting in the pure virtual call - that object no longer exists.
 
It explains why I see both tracks and not the instrument when it fails. Also it is somewhat unpredictable as race conditions go. The failure does not always occur.
 
That all makes sense to me, but *not* why it only occurs when I use my customized 'Normal' template. It shouldn't make any difference what the project looks like. I do not see this whenever I use an unmodified factory starting template. 
 
I hope Dan is able to track down an 8.1 setup to test this. It doesn't take long to try out.
 
All the crashes report events like this:
 
Faulting application name: SONARPDR.exe, version: 20.0.3.239, time stamp: 0x526fbabb
Faulting module name: MSVCR110.dll, version: 11.0.51106.1, time stamp: 0x5098826e
...
 
I could and probably should attempt to test this by restoring my system image made before Patch Tuesday (I always make one before Patch Tuesday). But I'll wait and see what Dan finds.

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#19
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/20 12:28:27 (permalink)
OK, I restore my system just prior to the last Patch Tuesday update and it made no difference, so we can eliminate that possibility.
 
I was hoping that MS blew it this time, but it's probably me.
 
I guess the next thing to try is the uninstall/re-install Sonar step.
 
 

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#20
arachnaut
Max Output Level: -67 dBFS
  • Total Posts : 1168
  • Joined: 2007/05/05 17:24:33
  • Location: Sunnyvale, CA USA
  • Status: offline
Re: Track Templates - Pure Virtual Call 2013/11/21 03:56:18 (permalink) ☼ Best Answerby arachnaut 2013/11/21 03:57:13
Well, the uninstall and re-install fixed the problem.
 
I don't know what I did that was wrong, but I screwed up something.
 
So I will mark this as solved.
 
Thanks for everyone's help.
 

- Jim Hurley -
SONAR Platinum - x64  - Windows 10 Pro 
ASUS P8P67 PRO Rev 3.0;  Core i7-2600K@4.4GHz; 16 GB G.SKILL Ripjaws X;
GeForce GT 740; Saffire Pro14 MixControl 3.7; Axiom 61
64-Bit audio, SR: 48kHz, ASIO 256 samples latency, Rec/Play I/O Buffers 512k, Total Round Trip Latency 13 ms, Pow-r 3 dither 
#21
Jump to:
© 2025 APG vNext Commercial Version 5.1