Crash in AUParameterSet
Crash in AUParameterSet
- Subject: Crash in AUParameterSet
- From: Shai Shasag <email@hidden>
- Date: Sun, 25 May 2003 21:23:12 +0300
A while ago there was a thread here about "Calling
AUCarbonViewBase::TellListener and ::AUParameterSet from the audio
thread is not safe".
I'm not sure what the conclusion was about this issue, however I'm
getting crashes and it looks like similar problem.
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.
Is there anything to to about this crash?
Thanks,
Shai Shasag
Waves
___ 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.