Re: Crashing Auval
Re: Crashing Auval
- Subject: Re: Crashing Auval
- From: William Stewart <email@hidden>
- Date: Wed, 19 Apr 2006 15:30:18 -0700
On 19/04/2006, at 1:48 AM, Michael Ljunggren wrote:
Greetings all.
My name is Michael Ljunggren and this is my first post to this list.
I am currently porting a VST plug-in to AU and it is not as easy I
though
it would be. I can run my AU through AULab and it is almost
satisfactory,
but the plug-in is crashing in auval, and this is not a good sign...
No
(I inherit AUEffectBase and call it awxAuWrapper.) The first that
happens
during validation is that my main object, awxAuWrapper, is created
and tests run on it,
but what I don't understand why my object is deleted during mid-
tests? Auval
is calling CloseComponent but continue to run the tests. Is this a
part of the test
or have I fooled auval into doing something bad?
auval is opening two instances of your AU - it then closes one of
these, and proceeds to the rest of its work with the other. You will
get two objects of your AUEffectBase being created as a result of
this, one disposed of, the other used.
A precursor to the crash is when I get a bunch of "AssertMacros"
from AUBase in my log
(I will post them if anyone cares to read them.)
You'll get alot of these - part of the tests auval runs is to make
sure the basic property semantics are correct (which includes getting
errors back for unimplemented properties). This is all normal - I
actually pipe stderr to null so I don't see these:
auval 2> /dev/null -v aufx bpas appl
You should probably run this with the debugger so you can see exactly
where you are crashing in auval. Nothing you've described so far is
unexpected.
Bill
Regards, Michael Ljunggren
Alien Connections
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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
References: | |
| >Crashing Auval (From: "Michael Ljunggren" <email@hidden>) |