Can anyone comment on Crashes in AUParameterSet?
Can anyone comment on Crashes in AUParameterSet?
- Subject: Can anyone comment on Crashes in AUParameterSet?
- From: Shai Shasag <email@hidden>
- Date: Tue, 27 May 2003 11:51:40 +0300
As stated in earlier post I'm getting crashes while calling AUParameterSet.
The actual crash is in memcpy, but AUParameterSet is the last
function my code calls. Although there were a few messages in the
past about this, I was not able to understand what to do about this
problem.
Is this a bug in Apple code? After all, calling a system function
should not crash the application.
If so is there a way to work around this bug? Or maybe I'm doing
something wrong.
I would appreciate any comment since this is my last major bug,
preventing me from releasing our plugins for AU.
Here is again the extra info I attached in the previous post:
The crashes happen under the following circumstances:
1) In logic 6.0 or 6.1 while audio is playing.
2) Our plugins is open with custom GUI.
3) The user moves a control with the mouse.
4) This causes a parameter change, and therefor a call to AUParameterSet
Below is the stack trace with my remarks. The crash happens in memcmp.
___ stack trace____
#0 0x90013d54 in memcmp // the crash
#1 0x94d268b8 in std::_Rb_tree<AUParameter, std::pair<AUParameter
const, ListenerObject*>, std::_Select1st<std::pair<AUParameter const,
ListenerObject*> >, std::less<AUParameter>,
std::allocator<std::pair<AUParameter const,
ListenerObject*> > >::find(AUParameter const&)
#2 0x94cc5b84 in NotifyListeners(AUParameterListener*, void*,
AUParameter const&, float*)
#3 0x94cbc5ec in AUParameterSet // the call to AUParameterSet
#4 0x03dd6c10 in CWSAU::SetParameterInternal(long, long)
#5 0x03dd2ff4 in NativeExecutionCallBack(long, long, char*, char*,
char*) // A parameter change has happened.
#6 0x0681e408 in 0x681e408
#7 0x0683aabc in 0x683aabc
#8 0x0683a968 in 0x683a968
#9 0x0683a814 in 0x683a814
#10 0x06864560 in 0x6864560
#11 0x06864120 in 0x6864120
#12 0x06862904 in 0x6862904
#13 0x0685f374 in 0x685f374
#14 0x0685e764 in 0x685e764
#15 0x084703ac in 0x84703ac
#16 0x03dd2730 in CallPlugin_DoMouseCommand(PluginInstance&,
EventRecord*) // The plugin does it's thing with the mouse event
#17 0x03dd32c0 in CWSAUView::HandleEvent(OpaqueEventRef*) // here
we get the mouse event
#18 0x03ddd3d8 in TheEventHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*)
#19 0x969a2c54 in DispatchEventToHandlers
#20 0x969a2fbc in SendEventToEventTargetInternal
#21 0x969b5494 in SendEventToEventTarget
#22 0x969c07ac in HandleMouseEventForWindow(OpaqueWindowPtr*,
OpaqueEventRef*, unsigned short)
#23 0x969b9934 in HandleMouseEvent(OpaqueEventRef*)
#24 0x969b287c in
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*)
#25 0x969a2d0c in DispatchEventToHandlers
#26 0x969a2fbc in SendEventToEventTargetInternal
#27 0x969b5494 in SendEventToEventTarget
#28 0x969b7258 in ToolboxEventDispatcher(OpaqueEventRef*)
#29 0x969c8740 in CallEventDispatchHook
#30 0x969b3c90 in TryEventDispatcher
#31 0x969a4570 in GetOrPeekEvent
#32 0x969a421c in GetNextEventMatchingMask
#33 0x969a8054 in WNEInternal
#34 0x969adf0c in WaitNextEvent
#35 0x0036e514 in 0x36e514
#36 0x0036e618 in 0x36e618
#37 0x0014ed3c in 0x14ed3c
#38 0x000045c4 in 0x45c4
#39 0x00004444 in 0x4444
_______________________________________________
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.