Hi there,

I have started playing with PortAudioMBS. Using the example PortAudio, and use 
the Input Level Test with Events button, closing the Input Level window will 
result in a crash. If I add a button to Stop, Abort, or Close the 
PortAudioStreamMBS sub class it also crashes (crash log below). I am using Xojo 
2016 r1.1 and MBS 16.4 pr 6. I have tried returning paAbort from the 
PortAudioStreamMBS callback and this does not seem to crash.

Thanks,

Andy


Process:               PortAudio.debug [1563]
Path:                  
/Users/USER/*/PortAudio.debug.app/Contents/MacOS/PortAudio.debug
Identifier:            de.monkeybreadsoftware.xojo.examples.PortAudio
Version:               ??? (1.0.0.0.0)
Code Type:             X86 (Native)
Parent Process:        ??? [1]
Responsible:           PortAudio.debug [1563]
User ID:               501

Date/Time:             2016-09-17 21:47:46.341 +0100
OS Version:            Mac OS X 10.10.5 (14F1912)
Report Version:        11
Anonymous UUID:        7BB8A514-3C8C-954D-B78D-F2E416E5BA86


Time Awake Since Boot: 31000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000b05a6bc0

VM Regions Near 0xb05a6bc0:
    Stack                  00000000b04a5000-00000000b0526000 [  516K] rw-/rwx 
SM=PRV  
--> 
    Stack                  00000000bc000000-00000000bf800000 [ 56.0M] ---/rwx 
SM=NUL  

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   MBS_PortAudio_Plugin_19116.dylib    0x06ecde54 
_ZL19MyPortAudioCallbackPKvPvmPK24PaStreamCallbackTimeInfomS1_124 + 244
1   MBS_PortAudio_Plugin_19116.dylib    0x06ecd3f0 
MyEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 512
2   com.apple.HIToolbox                 0x931375a4 
_InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long 
(*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
3   com.apple.HIToolbox                 0x92f75681 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
2291
4   com.apple.HIToolbox                 0x92f7465c 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 402
5   com.apple.HIToolbox                 0x92f744c3 
SendEventToEventTargetWithOptions + 95
6   com.apple.HIToolbox                 0x92fae59a 
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
void*) + 1912
7   com.apple.HIToolbox                 0x92f75a4b 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
3261
8   com.apple.HIToolbox                 0x92f7465c 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 402
9   com.apple.HIToolbox                 0x92f88f25 SendEventToEventTarget + 88
10  com.apple.AppKit                    0x90f51fdc _DPSNextEvent + 1921
11  com.apple.AppKit                    0x90f511e5 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 350
12  com.xojo.XojoFramework              0x001b2a0a 0x170000 + 272906
13  com.xojo.XojoFramework              0x001b2a70 0x170000 + 273008
14  de.monkeybreadsoftware.xojo.examples.PortAudio      0x000c7614 
Delegate.Invoke%% + 34
15  de.monkeybreadsoftware.xojo.examples.PortAudio      0x00042240 
Application._CallFunctionWithExceptionHandling%%o<Application>p + 248
16  com.xojo.XojoFramework              0x0031bd36 0x170000 + 1752374
17  com.xojo.XojoFramework              0x001b2999 0x170000 + 272793
18  com.apple.AppKit                    0x90f45b9c -[NSApplication run] + 907
19  com.xojo.XojoFramework              0x0031bddc 0x170000 + 1752540
20  com.xojo.XojoFramework              0x00319f7c RuntimeRun + 49
21  de.monkeybreadsoftware.xojo.examples.PortAudio      0x000a5b21 
REALbasic._RuntimeRun + 34
22  de.monkeybreadsoftware.xojo.examples.PortAudio      0x00111367 _Main + 295
23  de.monkeybreadsoftware.xojo.examples.PortAudio      0x00110ccc main + 36
24  de.monkeybreadsoftware.xojo.examples.PortAudio      0x00112668 start + 53




_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to