Rhino crashes Ableton Live with more than one instance

Official support for: bigtickaudio.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi

any OSX Rhino users on Live out there? I cant have more than one instance. Otherwise Rhino crashes when I open the saved project. Seems like a multithreading problem because I see that Live is trying to initialize both plug instances at the 'same' time. Totally reproducible. Only way to load the project is to temporarily remove the plugin .component and get rid of the second instance. I'm running on 10.6 on Mac Pro 8core.

Anybody with the same problem?


Thread 6:
0 com.bigtick.rhino.vst 0x3379a4ff RiceDecoder::decode() + 115
1 com.bigtick.rhino.vst 0x3379a596 RicePacker::unpack(unsigned char const*, unsigned char*, unsigned int) + 90
2 com.bigtick.rhino.vst 0x3379a126 PackerFactory::unpack(unsigned char const*, unsigned char*, unsigned int, unsigned char) + 102
3 com.bigtick.rhino.vst 0x3379bc52 Vfs::extractFile(long, unsigned char**, unsigned int*) const + 208
4 com.bigtick.rhino.vst 0x3379caa1 Vfs::extractFile(char const*, unsigned char**, unsigned int*) const + 65
5 com.bigtick.rhino.vst 0x3379adf4 MultiSampleLoader::loadMultisampleFile(char const*, splitWaveData*) const + 424
6 com.bigtick.rhino.vst 0x3371e353 WaveLoader::loadShape(char const*, splitWaveData*) + 99
7 com.bigtick.rhino.vst 0x336d894e MyVstiEngine::cookMetaParam_OSC1_SHAPE_ID(MyMetaParams) + 382
8 com.bigtick.rhino.vst 0x33712931 MyVstiEngine::handleMetaParamChange(MyMetaParams) + 97
9 com.bigtick.rhino.vst 0x3370bc9e MyVsti::handleMetaParamChange(MyMetaParams) + 30
10 com.bigtick.rhino.vst 0x3371374f MyVstiEngine::applyCurrentPatchChanges() + 79
11 com.bigtick.rhino.vst 0x337097a2 MyVsti::applyCurrentPatchChanges() + 18
12 com.bigtick.rhino.vst 0x3371474d MyVstiEngine::processReplacing(float**, float**, int) + 285
13 com.bigtick.rhino.au 0x32eb68c8 VSTAU::Render(unsigned long&, AudioTimeStamp const&, unsigned long) + 768
14 com.bigtick.rhino.au 0x32ebf396 AUBase::DoRenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, AUOutputElement*, unsigned long, AudioBufferList&) + 104
15 com.bigtick.rhino.au 0x32ebe349 AUBase::DoRender(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long, AudioBufferList&) + 351
16 com.bigtick.rhino.au 0x32ebff59 AudioUnitBaseRender(AUBase*, unsigned long*, AudioTimeStamp const*, unsigned long, unsigned long, AudioBufferList*) + 85
17 com.ableton.live 0x000b0597 0x1000 + 718231
18 com.ableton.live 0x000ab745 0x1000 + 698181
19 com.ableton.live 0x000cd2ee 0x1000 + 836334
20 com.ableton.live 0x000ce87f 0x1000 + 841855
21 com.ableton.live 0x00052afa 0x1000 + 334586
22 com.ableton.live 0x00052afa 0x1000 + 334586
23 com.ableton.live 0x000624e6 0x1000 + 398566
24 com.ableton.live 0x00062843 0x1000 + 399427
25 com.ableton.live 0x00064e76 0x1000 + 409206
26 com.ableton.live 0x0004a629 0x1000 + 300585
27 com.ableton.live 0x0004a519 0x1000 + 300313
28 com.ableton.live 0x0038ef4f 0x1000 + 3727183
29 libSystem.B.dylib 0x96bc481d _pthread_start + 345
30 libSystem.B.dylib 0x96bc46a2 thread_start + 34

Thread 7 Crashed:
0 com.bigtick.rhino.vst 0x3379bcbb Vfs::extractFile(long, unsigned char**, unsigned int*) const + 313
1 com.bigtick.rhino.vst 0x3379caa1 Vfs::extractFile(char const*, unsigned char**, unsigned int*) const + 65
2 com.bigtick.rhino.vst 0x3379adf4 MultiSampleLoader::loadMultisampleFile(char const*, splitWaveData*) const + 424
3 com.bigtick.rhino.vst 0x3371e353 WaveLoader::loadShape(char const*, splitWaveData*) + 99
4 com.bigtick.rhino.vst 0x336d894e MyVstiEngine::cookMetaParam_OSC1_SHAPE_ID(MyMetaParams) + 382
5 com.bigtick.rhino.vst 0x33712931 MyVstiEngine::handleMetaParamChange(MyMetaParams) + 97
6 com.bigtick.rhino.vst 0x3370bc9e MyVsti::handleMetaParamChange(MyMetaParams) + 30
7 com.bigtick.rhino.vst 0x3371374f MyVstiEngine::applyCurrentPatchChanges() + 79
8 com.bigtick.rhino.vst 0x337097a2 MyVsti::applyCurrentPatchChanges() + 18
9 com.bigtick.rhino.vst 0x3371474d MyVstiEngine::processReplacing(float**, float**, int) + 285
10 com.bigtick.rhino.au 0x32eb68c8 VSTAU::Render(unsigned long&, AudioTimeStamp const&, unsigned long) + 768
11 com.bigtick.rhino.au 0x32ebf396 AUBase::DoRenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, AUOutputElement*, unsigned long, AudioBufferList&) + 104
12 com.bigtick.rhino.au 0x32ebe349 AUBase::DoRender(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long, AudioBufferList&) + 351
13 com.bigtick.rhino.au 0x32ebff59 AudioUnitBaseRender(AUBase*, unsigned long*, AudioTimeStamp const*, unsigned long, unsigned long, AudioBufferList*) + 85
14 com.ableton.live 0x000b0597 0x1000 + 718231
15 com.ableton.live 0x000ab745 0x1000 + 698181
16 com.ableton.live 0x000cd2ee 0x1000 + 836334
17 com.ableton.live 0x000ce87f 0x1000 + 841855
18 com.ableton.live 0x00052afa 0x1000 + 334586
19 com.ableton.live 0x00052afa 0x1000 + 334586
20 com.ableton.live 0x000624e6 0x1000 + 398566
21 com.ableton.live 0x00062843 0x1000 + 399427
22 com.ableton.live 0x00064e76 0x1000 + 409206
23 com.ableton.live 0x0004a629 0x1000 + 300585
24 com.ableton.live 0x0004a519 0x1000 + 300313
25 com.ableton.live 0x0038ef4f 0x1000 + 3727183
26 libSystem.B.dylib 0x96bc481d _pthread_start + 345
27 libSystem.B.dylib 0x96bc46a2 thread_start + 34

Post

doubleday wrote:Hi

any OSX Rhino users on Live out there? I cant have more than one instance. Otherwise Rhino crashes when I open the saved project. Seems like a multithreading problem because I see that Live is trying to initialize both plug instances at the 'same' time. Totally reproducible. Only way to load the project is to temporarily remove the plugin .component and get rid of the second instance. I'm running on 10.6 on Mac Pro 8core.

Anybody with the same problem?

I own Rhino just since a few days so I haven't had it in any of my projects yet, but I just tried it in Live 8 on Windows. I get a crash too when loading a saved project with multiple instances of Rhino here :-o

:help:

Post

can you send me your project file ? I'll fix it if I can reproduce it.

Post

It's OK for me when loading a saved project with multiple instances of Rhino on Live 7, Windows 7 (64 bit).
Last edited by alexfalcao on Sun Jun 20, 2010 12:56 pm, edited 1 time in total.

Post

Big Tick wrote:can you send me your project file ? I'll fix it if I can reproduce it.
E-mail sent! Please keep us informed. Thanks :)
alexfalcao wrote:It's OK for me when loading a saved project with multiple instances of Rhino on Live 7, Windows 7 (64 bit).
Interesting.. So it might be a bug in Live 8? I'm surprised that you use Live 7 on Windows 7 because that combination did not work flawlessly for me. Doesn't the known slow GUI bug affect your system?

Post

Ok, I've just tested with RhinoCM in Live 8 and had no problem loading a saved project with 3 instances of RhinoCM, so there might be a difference there..

Post

I don't think it's Live - it's most probably Rhino doing something weird while unpacking waveform data from the compressed vfs files. Hopefully, with the file Nielzie sent me, I should be able to pinpoint the problem quickly.

'Tick

Post

doubleday, just curious, where did you get that stack trace from ? I can't get it in Live since they have their own crash detection interception...

Post

ok guys, good news - I've fixed it. It was a nasty multi-threading oversight (happens when 2 instances are trying to load a waveform from the same vfs file at the same time), and it affects RhinoCM too.

I'm going to send a fixed version to Nielzie, if it works for him... time to bump to 2.8 :)

'Tick

Post

Wow great that you probably have fixed this already for us. Thanks very much for the fast support. And that even on a Sunday! :clap:
Last edited by Nielzie on Mon Jun 21, 2010 3:09 pm, edited 1 time in total.

Post

Just tested the fix in Ableton Live 7 and 8 and can confirm it works here :D

You fixed it, thanks a lot!

Up we go to 2.08 8)

Post

Nielzie wrote:Up we go to 2.08 8)
Indeed - and RhinoCM is going to follow soon.

Post

Nielzie wrote:Interesting.. So it might be a bug in Live 8? I'm surprised that you use Live 7 on Windows 7 because that combination did not work flawlessly for me. Doesn't the known slow GUI bug affect your system?
Hi, sorry, yesterday was the World Cup Brail's game and of course I could't miss that :D

I run Windows 7 (64 bit) with Aero and all extras unnecessary thing that uses lots' memory disabled, the only issue I still have is with my video card affecting when I play music online.

Post

Big Tick wrote:doubleday, just curious, where did you get that stack trace from ? I can't get it in Live since they have their own crash detection interception...
Yes I know but once or twice I realy crashed Live so I got these from ~/Library/Logs/CrashReporter

Post Reply

Return to “Big Tick”