Re: always crashing in CVST2AURegister constructor
Re: always crashing in CVST2AURegister constructor
- Subject: Re: always crashing in CVST2AURegister constructor
- From: Chris Reed <email@hidden>
- Date: Fri, 26 Sep 2003 16:53:55 -0500
Could the line be wrong? Sometimes the line listed in crash logs is off
by 1.
Is cstrName null-terminated? Maybe obvious, maybe not.
-chris
On Sep 26, 2003, at 3:57 PM, Lists linplug.com wrote:
Hello Guys,
I'm still on my way with the Emagic porting SDK; while I managed
to create an AU (!) and Logic now attempts to load it, I experienced
quite a number of crashes.
However, this one puzzles me, I get it in the mentioned constructor
exactly at the line
asData[i]->presetName=CFStringCreateWithCString( 0, cstrName,
kCFStringEncodingMacRoman);
The puzzling part is, that
1. Everything looks nice, "i" is a valid index (sometime 0 sometimes a
different),
cstrName is valid and contains useable data, asData is ok, but still
it crashes
with "unknown Power PC exception"
2. Not less puzzling, I cannot debug this, breakpoints in the
constructor seem
to be ignored while normally I didn't had trouble, and yes the file is
in debug mode
compiled/linked
3. The call stack contains an unknown address somewhere in "my" code
(it shows
the instruments name, but no valid instructions
4. I also tries setting a breakpoint in my instruments constructor,
its seems its not called
Maybe I need vacation
I'm stuck with this, any hints ?
Best regards
Peter
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.