[solved] Crash with broken modulation preset (song attached)

Hey,

I’ve just started the new r3.0 gold and systematically crashed it after playing a bit with some modulations presets (it crashes in the middle of pattern 3 after 18 seconds).

Get a look on this file : here.

Here’s the log file extract :

  
  
============================================================  
Version : Renoise V3.0.0 (Apr 7 2014)  
Date : 2014-04-09  
Time : 21:43:40  
OS : Windows 7 Service Pack 1 (i386)  
============================================================  
  
CPU: Found 1 enabled unit(s) with 2 core(s) / 4 logical processor(s) per unit. 2 cores, 4 logical processors are enabled in total.  
  
Application: Showing the splash window...  
Application: Initializing the API...  
  
IPP: Detected CPU type: 0x45  
  
MIDI: Initializing DirectMusic...  
MIDI: Enumerating DirectMusic (WDM) MIDI devices...  
MIDI: Skipping emulated WDM device 'Microsoft MIDI Mapper [Émulé]'  
MIDI: Skipping emulated WDM device 'Microsoft GS Wavetable Synth [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 1 [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 2 [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 3 [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 4 [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 5 [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 6 [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 7 [Émulé]'  
MIDI: Skipping emulated WDM device 'Out To MIDI Yoke: 8 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 1 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 2 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 3 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 4 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 5 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 6 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 7 [Émulé]'  
MIDI: Skipping emulated WDM device 'In From MIDI Yoke: 8 [Émulé]'  
MIDI: Skipping softsynth WDM out-device 'Microsoft Synthesizer' (not supported)  
MIDI: Enumerating Windows MME MIDI devices...  
MIDI: Adding MME in-device 'In From MIDI Yoke: 1'  
MIDI: Adding MME in-device 'In From MIDI Yoke: 2'  
MIDI: Adding MME in-device 'In From MIDI Yoke: 3'  
MIDI: Adding MME in-device 'In From MIDI Yoke: 4'  
MIDI: Adding MME in-device 'In From MIDI Yoke: 5'  
MIDI: Adding MME in-device 'In From MIDI Yoke: 6'  
MIDI: Adding MME in-device 'In From MIDI Yoke: 7'  
MIDI: Adding MME in-device 'In From MIDI Yoke: 8'  
MIDI: Adding MME out-device 'Microsoft GS Wavetable Synth'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 1'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 2'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 3'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 4'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 5'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 6'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 7'  
MIDI: Adding MME out-device 'Out To MIDI Yoke: 8'  
MIDI: Finished device enumeration  
  
Graphport: Initializing Freeimage...  
  
GraphPort: Initializing DirectX...  
GraphPort: Initializing the Font Engine...  
  
System: Running as 32bit process in a 64bit operating system...  
  
ReWire Slave: ReWire engine link (Local Machine) is already installed and up to date...  
ReWire Slave: ReWire engine link (Current User) is already installed and up to date...  
ReWire Slave: ReWire Panel was initialized...  
ReWire Slave: ReWire Slave mode failed to init (no master is running)...  
  
ReWire Master: Successfully opened  
  
Timer: Seems safe to use the 'QueryPerformance' counters...  
  
Application: Start running...  
Application: Loading the preferences...  
  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\AS.Beatslaughter.CopyAutomation.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\AS.Beatslaughter.MixerShowAutomatedSliders.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.harold.Automatron.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.Laffik.Progressor.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.mynameiskaneel.baguetter.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.nisanmol.GrooveTool.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.renoise.MidiConvert.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.renoise.NotesRandomizer.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.renoise.SampleMorpher.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.renoise.ScaleFinder.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.softknobs.VolumeScale.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\com.vvoois.Getdeviceparams.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\de.fladd.SplitIntoSeparateTracks.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\joule.no0b.AliasIdenticalTracks.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\kurtz.lapiNIC.WordsPad_pourFrogoid.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\org.illformed.AutomationFromNotes.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\org.illformed.FractionalNotes.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\org.illformed.PatternResizer.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Users\Maxime\AppData\Roaming\Renoise\V3.0.0\Scripts\Tools\org.illformed.SlicesToPattern.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Program Files (x86)\Renoise 3.0.0\Resources\Scripts\Tools\com.renoise.ToolUpdater.xrnx\'...  
ScriptingTools: Initializing Scripting Tool: 'C:\Program Files (x86)\Renoise 3.0.0\Resources\Scripts\Tools\com.renoise.UpdateChecker.xrnx\'...  
  
Application: Init...  
  
DspDevices: Registering native DSP effects...  
  
DirectSound: Initializing...  
DirectSound: Using SampleRate 96000  
DirectSound: Primary Buffer Format: FormatTag=1, Channels=2, SamplesPerSec=96000, BitsPerSample=16, BlockAlign=4  
DirectSound: CreateObjects ... OK  
DirectSound: Using MaxProcessingBlockSize: 3840  
DirectSound: Output Buffer Format: BufferSize=192000, FormatTag=1, Channels=2, SamplesPerSec=96000, BitsPerSample=16, BlockAlign=4  
DirectSound: Input Buffer Format: BufferSize=192000, FormatTag=1, Channels=2, SamplesPerSec=96000, BitsPerSample=16, BlockAlign=4  
DirectSound: CreateBuffer ... OK  
DirectSound: Up and running  
  
Application: Loading 'Untitled_4_9_2014__21_41_crash.xrns'.  
  
MIDI: Loading MIDI actions from file 'C:\Program Files (x86)\Renoise 3.0.0\Resources\Scripts\GlobalMidiActions.lua'...  
  
Osc: Loading OSC actions from file 'C:\Program Files (x86)\Renoise 3.0.0\Resources\Scripts\GlobalOscActions.lua'...  
  
Player: Constructing...  
Player: Creating the slave threads...  
Player: Start running...  
  
GUI: Creating the Document GUI...  
GUI: Successfully constructed  
  
Application: Successfully loaded 'Untitled_4_9_2014__21_41_crash.xrns'.  
  
GraphPort: Initializing in WindowedMode  
GraphPort: Successfully initialized  
  
Application: Init OK  
Application: Enter MainLoop...  
  
CrashLog: Handling Exception! Code : C0000005  
CrashLog: 01072D42: h9_ippsCos_64f_A50 +7DD3F2  
CrashLog: 00C43169: h9_ippsCos_64f_A50 +3AD819  
CrashLog: 00C4C1F8: h9_ippsCos_64f_A50 +3B68A8  
CrashLog: 00C64E8D: h9_ippsCos_64f_A50 +3CF53D  
CrashLog: 00C7466D: h9_ippsCos_64f_A50 +3DED1D  
CrashLog: 00C7EDD2: h9_ippsCos_64f_A50 +3E9482  
CrashLog: 00C5548C: h9_ippsCos_64f_A50 +3BFB3C  
CrashLog: 00C5558A: h9_ippsCos_64f_A50 +3BFC3A  
CrashLog: 00C80F25: h9_ippsCos_64f_A50 +3EB5D5  
CrashLog: 00F30518: h9_ippsCos_64f_A50 +69ABC8  
CrashLog: 752E338A: BaseThreadInitThunk +00012  
CrashLog: 776D9F72: RtlInitializeExceptionChain +00063  
CrashLog: 776D9F45: RtlInitializeExceptionChain +00036  
  
Application: Caught an unhandled fatal exception (Thread: AUDIO SLAVES)!  
Application: Saving a backup...  
  
Application: Terminating...  
  
DirectSound: Stop Polling...  
DirectSound: Releasing Primary Sound Device...  
DirectSound: Releasing Primary Capture Device...  
  
MIDI: Shut down: Closing all acquired MIDI devices...  
MIDI: Shutting down DirectMusic...  
  
  

Thanx !

Ouch. Happens here as well with your example (WinXP, 32bit)
Seems we will need a minor bugfix release soon enough…

For now, it would be nice if we - as users - could identify and thus avoid this crash (wonder what is causing it?)

… seems difficult to identify exactly the sequence to reproduce it, I was building a tutorial for the new r3 functions, and it happened after a few modulation presets operations (preset change, and save/load preset)… I didn’t remember exactly what I did but we should focus our attention on the save/load preset system.

Can you remember how you created “8bitSigned (copy)”, which seems to be the problem here. Looks like a side effect of this old bug.

Have you somehow used an old instrument or modulation preset based on a RC2 song or instrument or session?
If you reselect the “Pad - Bandpassed” preset for that instrument, does it then work fine?

I initially worked the module under the 2.8 version. Then re-worked it with R3 beta… (don’t remember each one). It’s a RAW file that’ve loaded as a sample, with the . button and then I’ve modified it to be looped so that it can sound lika kind of bass. I remember I’ve loaded it with the R3 Gold. Then i’ve exported a modulation set (see the xrno file) then re-imported it, then, that’s when the crash happens each time I play any sample with the same imported preset.That makes me think that there’s something fishy with the export / import preset procedure, and the way it dumps the memory where the preset are stored.

Was this preset made with Renoise 3 RC2? It’s broken, which is exactly the problem.
Please trash that preset once and forever then ;)

You can fix the crash in the song by simply loading any of the factory modulation presets into “8bitSigned (copy)”.

In case that this ever happens again with presets saved/created in r3 final, let us know please.