Helpful ReplyCAL Memory Corruption?

Author
TomHelvey
Max Output Level: -80 dBFS
  • Total Posts : 537
  • Joined: 2013/02/26 20:23:54
  • Status: offline
2015/04/12 04:10:24 (permalink)

CAL Memory Corruption?

I've reported this issue to Cakewalk support and they've been helpful but have still not been able to reproduce the issue I'm seeing locally.
I suspect that CAL might have a memory corruption bug that is triggered by the 'Split Notes to Tracks' script. Whenever I run the script on downloaded drum MIDI parts, I always end up with tracks that are really long (at least 2x the length of the original tracks). At some point subsequent to running that specific script, I inevitably encounter the WSOD. This usually occurs after doing things like changing the CAL generated tracks; bouncing to clips or slip editing them.
This is the only crash I've experienced regularly with Sonar, but I can pretty much set my watch by it whenever I need to do a 'Split Notes to Tracks' workflow. This happens even in Sonar only land (TTS1 for MIDI target).
I've gotten used to hitting Ctrl+S frequently so I'm pretty good at not losing stuff, but the crash is annoying.
 
post edited by TomHelvey - 2015/04/12 04:28:59

System: i7-6900, 64Gb, AMI X99 Carbon Pro Gaming, AMD Radeon HD 7700, Win 10 Pro
PCIe: UAD Octo
USB: MOTU midi express 128, OB-6 Module, Akai MPK-249, Moog SUB 37, Antelope Orion 32 HD, Softube Console 1, iLok, eLicenser
DAW: Cubase Pro, Ableton Live, Sonar Platinum
Plugins: Waves, UAD, Xfer, Lennar Digital, u-he, Reveal Sound, Spectrasonics, SoundToys, VPS, Blue Cat, iZotope, NI, Valhalla, Lexicon, etc.
 
https://soundcloud.com/thomas-helvey
#1
mettelus
Max Output Level: -22 dBFS
  • Total Posts : 5321
  • Joined: 2005/08/05 03:19:25
  • Location: Maryland, USA
  • Status: offline
Re: CAL Memory Corruption? 2015/04/12 16:04:22 (permalink)
I have rarely used CAL scripts but have seen that one mentioned a lot for drums. Is the original clip of a specific type (groove, manually recorded, etc.)?

ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
#2
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: CAL Memory Corruption? 2015/04/12 16:27:58 (permalink)
The last official word on CAL that I recall is from 2009 http://forum.cakewalk.com/FindPost/1886369. For best results avoid instrument tracks in projects where scripts like "Split Notes to Tracks" are run. Development on CAL was stopped well before instrument tracks were added to SONAR.
#3
williamcopper
Max Output Level: -68 dBFS
  • Total Posts : 1120
  • Joined: 2014/11/03 09:22:03
  • Location: Virginia, USA
  • Status: offline
Re: CAL Memory Corruption? 2015/04/13 16:16:34 (permalink)
It is kind of hard to imagine CAL being the culprit, but a memory glitch/corruption issue is very very likely somewhere in sonar.    Cal is a great feature, but it is very limited: change a thing, delete a thing, add a thing.   I'm sure the code is fairly large by now, but if someone were to grep for an array with numbers defining the size, someone might find a big oops.
 
 
#4
BobF
Max Output Level: 0 dBFS
  • Total Posts : 8124
  • Joined: 2003/11/05 18:43:11
  • Location: Missouri - USA
  • Status: offline
Re: CAL Memory Corruption? 2015/04/13 17:11:02 (permalink)
I tried to run "split notes ..." recently ... a few months ago maybe.  I've never seen so much weirdness!  Scared me so bad I've not touched anything related to CAL since.
 

Bob  --
Angels are crying because truth has died ...
Illegitimi non carborundum
--
Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
Waves Gold/IKM Max/Nomad Factory IS3/K11U

#5
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re: CAL Memory Corruption? 2015/04/14 06:10:25 (permalink)
Hi - I am moving this to the Sonar forum for now, as it does not seem to have been confirmed as a bug.  
 
There will be a link in the Problem Reports showing the thread was moved, and it will point back to its new home in the Sonar forum.
 
Bob Bone
 

Wisdom is a giant accumulation of "DOH!"
 
Sonar: Platinum (x64), X3 (x64) 
Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
#6
dcumpian
Max Output Level: -34 dBFS
  • Total Posts : 4124
  • Joined: 2005/11/03 15:50:51
  • Status: offline
Re: CAL Memory Corruption? 2015/04/14 08:06:38 (permalink) ☄ Helpfulby BobF 2015/04/14 08:56:40
Split notes to tracks work fine, BUT, in order to avoid weirdness, move the track to be split so that it is the very last track. Then run the CAL script and start the split tracks at the next track number.
 
Regards,
Dan
 

Mixing is all about control.
 
My music:
http://dancumpian.bandcamp.com/ or https://soundcloud.com/dcumpian Studiocat Advanced Studio DAW (Intel i5 3550 @ 3.7GHz, Z77 motherboard, 16GB Ram, lots of HDDs), Sonar Plat, Mackie 1604, PreSonus Audiobox 44VSL, ESI 4x4 Midi Interface, Ibanez Bass, Custom Fender Mexi-Strat, NI S88, Roland JV-2080 & MDB-1, Komplete, Omnisphere, Lots o' plugins.    
#7
BobF
Max Output Level: 0 dBFS
  • Total Posts : 8124
  • Joined: 2003/11/05 18:43:11
  • Location: Missouri - USA
  • Status: offline
Re: CAL Memory Corruption? 2015/04/14 08:47:59 (permalink)
dcumpian
Split notes to tracks work fine, BUT, in order to avoid weirdness, move the track to be split so that it is the very last track. Then run the CAL script and start the split tracks at the next track number.
 
Regards,
Dan
 




Thanks Dan.  I'll try to remember that for the next time.

Bob  --
Angels are crying because truth has died ...
Illegitimi non carborundum
--
Studio One Pro / i7-6700@3.80GHZ, 32GB Win 10 Pro x64
Roland FA06, LX61+, Fishman Tripleplay, FaderPort, US-16x08 + ARC2.5/Event PS8s 
Waves Gold/IKM Max/Nomad Factory IS3/K11U

#8
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re: CAL Memory Corruption? 2015/04/14 16:55:44 (permalink)
Wow - good idea, Dan - hadn't thought of that.  I LOVE these forums.
 
Some of the CAL scripts are pretty long in the tooth, but the ones I have run have worked OK, though I usually read through them first, to try to look for any notes on their usage, or to try to figure out the code and what it wants, as well as verifying what it is trying to do.
 
@BobF - did that work for you?
 
Bob Bone

Wisdom is a giant accumulation of "DOH!"
 
Sonar: Platinum (x64), X3 (x64) 
Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
#9
dcumpian
Max Output Level: -34 dBFS
  • Total Posts : 4124
  • Joined: 2005/11/03 15:50:51
  • Status: offline
Re: CAL Memory Corruption? 2015/04/15 08:16:29 (permalink) ☄ Helpfulby mettelus 2015/04/15 09:18:31
robert_e_bone
Wow - good idea, Dan - hadn't thought of that.  I LOVE these forums.
 
Some of the CAL scripts are pretty long in the tooth, but the ones I have run have worked OK, though I usually read through them first, to try to look for any notes on their usage, or to try to figure out the code and what it wants, as well as verifying what it is trying to do.
 
@BobF - did that work for you?
 
Bob Bone




Yeah, any CAL that has to create tracks isn't aware of all of the changes that have occurred since 1998. Moving the track(s) to the end gets all of the new stuff, like lanes and folders, out of the way.
 
Regards,
Dan
 

Mixing is all about control.
 
My music:
http://dancumpian.bandcamp.com/ or https://soundcloud.com/dcumpian Studiocat Advanced Studio DAW (Intel i5 3550 @ 3.7GHz, Z77 motherboard, 16GB Ram, lots of HDDs), Sonar Plat, Mackie 1604, PreSonus Audiobox 44VSL, ESI 4x4 Midi Interface, Ibanez Bass, Custom Fender Mexi-Strat, NI S88, Roland JV-2080 & MDB-1, Komplete, Omnisphere, Lots o' plugins.    
#10
mudgel
Max Output Level: 0 dBFS
  • Total Posts : 12010
  • Joined: 2004/08/13 00:56:05
  • Location: Linton Victoria (Near Ballarat)
  • Status: offline
Re: CAL Memory Corruption? 2015/04/15 10:16:49 (permalink)
I'll have to add that point to my CAL library.

Mike V. (MUDGEL)

STUDIO: Win 10 Pro x64, SPlat & CbB x64,
PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz.
Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2.
Monitors: Adam A7X, JBL 10” Sub.
Audio I/O & DSP Server: DIGIGRID IOS & IOX.
Screen: Raven MTi + 43" HD 4K TV Monitor.
Keyboard Controller: Native Instruments Komplete Kontrol S88.
#11
Jump to:
© 2025 APG vNext Commercial Version 5.1