Delivering MIDI causing crashes in some AUs
Delivering MIDI causing crashes in some AUs
- Subject: Delivering MIDI causing crashes in some AUs
- From: Robert Grant <email@hidden>
- Date: Wed, 6 Oct 2004 19:30:03 -0400
So I fixed a couple of d'oh AU initialization bugs in Rax and now
Crystal is blowing chunks as soon as it gets some MIDI - stack fragment
follows:
Thread 7 Crashed:
0 com.greenoak.AtFr 0x062dcb98
AUMIDIBase::ComponentEntryDispatch(ComponentParameters*, AUMIDIBase*) +
0x40
1 com.greenoak.AtFr 0x062dea30
MusicDeviceBase::ComponentEntryDispatch(ComponentParameters*,
MusicDeviceBase*) + 0x8c
2 com.greenoak.AtFr 0x062e1c28 CVST2AUPluginEntry +
0x214
3 ...ple.CoreServices.CarbonCore 0x90281278 CallComponent + 0x10c
4 ...apple.audio.units.AudioUnit 0x91a90a0c MusicDeviceMIDIEvent +
0x34
5 com.grantedsw.rax 0x000109cc -[AUDevice
renderInputWithFlags:timeStamp:busNumber:numberFrames:ioData:] + 0x128
(AUDevice.m:808)
It also dies when receiving MIDI (such as continuous controller data)
outside of the render proc:
Thread 2 Crashed:
0 com.greenoak.AtFr 0x06427b98
AUMIDIBase::ComponentEntryDispatch(ComponentParameters*, AUMIDIBase*) +
0x40
1 com.greenoak.AtFr 0x06429a30
MusicDeviceBase::ComponentEntryDispatch(ComponentParameters*,
MusicDeviceBase*) + 0x8c
2 com.greenoak.AtFr 0x0642cc28 CVST2AUPluginEntry +
0x214
3 ...ple.CoreServices.CarbonCore 0x90281278 CallComponent + 0x10c
4 ...apple.audio.units.AudioUnit 0x91a90a0c MusicDeviceMIDIEvent +
0x34
5 com.grantedsw.rax 0x0001065c -[AUDevice
processMIDIPacketList:sender:] + 0x724 (AUDevice.m:745)
This kind of thing happens with at least one other AU.
So my question is - how come? How come delivering MIDI can cause an AU
to blow chunks?
What's weird is that my fixes have made VirSyn Cube/TERA work and all
the other common synths are happy too. And what's also weird is that
Rax 1.0 and 1.1 all worked fine with Crystal!
It's very frustrating to plug one hole only to have new ones spring up!
Robert.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden