Fwd: Logic crashes when I open 2 different projects with my instrument...
Fwd: Logic crashes when I open 2 different projects with my instrument...
- Subject: Fwd: Logic crashes when I open 2 different projects with my instrument...
- From: Eric Gorouben <email@hidden>
- Date: Tue, 30 Oct 2007 21:26:12 +0100
Sorry, I sent this by mistake to Olivier only.
The crash only happens when I open two projects with the same
instrument.
Last crash gives that log:
Thread 5 Crashed:
0 com.mycompany.myAU 0x208889d2 CGui::SendEncoder(long, float) + 44
(gui.cpp:2642)
1 com.mycompany.myAU 0x208d815e myAU::HandleMidiEvent1(unsigned
char, unsigned char, unsigned char, unsigned char) + 1264 (myAU.cpp:269)
2 dcom.mycompany.myAU 0x208d81fe myAU::HandleMidiEvent(unsigned
char, unsigned char, unsigned char, unsigned char, long) + 76
(myAU.cpp:246)
3 com.mycompany.myAU 0x208ece8b AUMIDIBase::MIDIEvent(unsigned
long, unsigned long, unsigned long, unsigned long) + 99 (AUMIDIBase.h:
76)
4 com.mycompany.myAU 0x208d765c
AUMIDIBase::ComponentEntryDispatch(ComponentParameters*, AUMIDIBase*)
+ 150 (AUMIDIBase.cpp:484)
5 com.mycompany.myAU 0x208d6b08
MusicDeviceBase::ComponentEntryDispatch(ComponentParameters*,
MusicDeviceBase*) + 146 (MusicDeviceBase.cpp:299)
6 com.mycompany.myAU 0x208eda00
ComponentEntryPoint<myAU>::Dispatch(ComponentParameters*, myAU*) +
168 (ComponentBase.h:115)
7 com.mycompany.myAU 0x208da492 myAUEntry + 24 (myAU.cpp:35)
8 ...ple.CoreServices.CarbonCore 0x90cd0738 CallComponentDispatch
+ 34
9 ...apple.audio.units.AudioUnit 0x93e54ec4 MusicDeviceMIDIEvent + 61
10 com.apple.logic.express 0x00328449 0x1000 + 3306569
11 com.apple.logic.express 0x000c87fe 0x1000 + 817150
12 com.apple.logic.express 0x000c9c75 0x1000 + 822389
13 com.apple.logic.express 0x000ca2f4 0x1000 + 824052
14 com.apple.logic.express 0x000cb7d6 0x1000 + 829398
15 com.apple.logic.express 0x000cdeac 0x1000 + 839340
16 com.apple.audio.CoreAudio 0x91470912 HP_IOProc::Call
(AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList
const*, AudioTimeStamp const&, AudioBufferList*) + 240
17 com.apple.audio.CoreAudio 0x9146fe4e IOA_Device::CallIOProcs
(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&)
+ 274
18 com.apple.audio.CoreAudio 0x9146fbd9 HP_IOThread::PerformIO
(AudioTimeStamp const&) + 1299
19 com.apple.audio.CoreAudio 0x9146e001 HP_IOThread::WorkLoop
() + 953
20 com.apple.audio.CoreAudio 0x9146dc43
HP_IOThread::ThreadEntry(HP_IOThread*) + 17
21 com.apple.audio.CoreAudio 0x91462239 CAPThread::Entry
(CAPThread*) + 93
22 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thanks for the help!
Eric
----
Hi,
Doesn't sound stupid, since it obviously is the first thing I did.
What sounds stupid is that I didn't mention it
I use a AUParameterListenerProc in AUListenerCreate and pass it my
this as a inRefCon.
When it crashes, inRefCon is inconsistent.
Erik
Le 30 oct. 07 à 16:32, Olivier Tristan a écrit :
Eric Gorouben wrote:
Hi there,
I've developed an AU instrument that seems to work until now
except that...
In logic express 7, if I select my instrument in two different
tracks of the same project, everything works fine.
If I open a second project with the same instrument, no problem,
until I select the first project. Then my AU crashes.
In other words:
create
project 1,
track a=myAU
track b=myAU
Everything fine
then create without closing project 1
project 2
track a=myAU
track b=myAU
Still no problem.
Select
project 1 main window
... myAU crashes
No problem in AU lab
Hi,
Might sound stupid but what about using a debugger see where it
really crashes ?
Regards,
--
Olivier Tristan
Ultimate Sound Bank
_______________________________________________
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