Re: AU crashes Logic but not AULab?
Re: AU crashes Logic but not AULab?
- Subject: Re: AU crashes Logic but not AULab?
- From: Stefan Gretscher <email@hidden>
- Date: Tue, 13 Nov 2007 15:42:33 +0100
Am 08.11.2007 um 02:35 schrieb Kevin Dixon:
I'm developing an AU. it passes validation and works perfectly in
AULab.
However Logic hangs when it collects AU information on startup, and
gives
this info (here is a snippet of the important bits)
(Logic 7.2.3 on 10.4.9)
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 <<00000000>> 0x1017ea5c 0 + 270002780
1 <<00000000>> 0x1017f2b8 0 + 270004920
2 <<00000000>> 0x10184df8 0 + 270028280
3 <<00000000>> 0x101839f0 0 + 270023152
4 <<00000000>> 0x10189bc4 0 + 270048196
5 ...ple.CoreServices.CarbonCore 0x90bdcc60 CallComponent + 260
6 ...ple.CoreServices.CarbonCore 0x90bde3d4 CallComponentClose + 40
7 ...ple.CoreServices.CarbonCore 0x90bde2c8
CloseComponentInternal(ComponentInstanceRecord*) + 108
8 ...ple.CoreServices.CarbonCore 0x90bde234 CloseComponent + 48
9 com.apple.ecore 0x02617ff0
CAudioUnitRegistry::UpdateAUProperties(__CFDictionary*,
ComponentDescription const&, char const*) + 3952
10 com.apple.ecore 0x02618a30
CAudioUnitRegistry::UpdateRegistry(ComponentRecord*,
ComponentDescription&, char**) + 2348
11 com.apple.ecore 0x02619d24
CAudioUnitRegistry::Init(unsigned long const*, FSSpec*, FSSpec*,
bool) +
4572
12 com.apple.logic.pro 0x004ada1c 0x1000 + 4901404
...and so on
I take this to mean that my AU crashed on deallocation; am I on the
right
track as to where to look?
Yes I think that's the case. Maybe Logic reads some properties that
the other hosts don't check,
and your response to this leads to memory corruption and to a crash
when closing the AU.
Some properties that spring to mind here are for example the
migration properties to support
importing Windows-based Logic 5 songs that contain one of the VST
counterparts of your AU.
You can add debug output to the AU dispatcher to see which properties
Logic reads at startup.
Best,
Stefan
------------------------------------
Stefan Gretscher
plug-in development & 3rd party developer support
phone: (+49)-4101-495-586 (Central European Time)
AU developer support: email@hidden
TDM developer support: email@hidden
Apple GmbH
Geschäftsführung: Georges Guyon de Chemilly
Sitz der Gesellschaft: München
Amtsgericht München, HRB 66158
_______________________________________________
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