Hello,
I can't seem to get PsychPortAudio('Open') to run on a G4 Mac Mini
running OSX 10.4.9. Any idea what might be wrong? Below., I'll post
the error resulting from running BasicSoundOutputDemo, which crashes
on the PsychPortAudio('Open') line.
I should mention that I don't have admin access on my current
computer, and have placed libportaudio.0.0.19.dylib in my user
/Users/me/lib rather than /usr/local/lib. Could this be the gremlin?
------------------------------------------------------------------------
Bus error detected at Thu Nov 1 18:34:34 2007
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.0.4.352 (R14) Service Pack 2
MATLAB License: 268402
Operating System: Darwin 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb
22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh
Window System: The XFree86 Project, Inc (40400000), display :0.0
Current Visual: 0x22 (class 4, depth 24)
Virtual Machine: Java 1.5.0_07 with "Apple Computer, Inc." Java
HotSpot(TM) Client VM
(mixed mode, sharing)
Default Charset: US-ASCII
r0 = 00000000 r8 = 092573c8 r16 = 038c4980 r24 = f0ffd9d0
r1 = f0ffbf80 r9 = 0e2c1850 r17 = 00000006 r25 = f0ffd040
r2 = 00000000 r10 = 09257b68 r18 = 038c4980 r26 = f0ffd0d0
r3 = 35fc845b r11 = 0e2c4780 r19 = 00000001 r27 = 00000001
r4 = f0ffbf58 r12 = 09257b60 r20 = 00000006 r28 = 0dfeb840
r5 = 00000030 r13 = 0e5fa720 r21 = f0ffd160 r29 = 00000000
r6 = 1d6aa508 r14 = 00000001 r22 = 00000006 r30 = f0ffbf80
r7 = 00000001 r15 = 00000000 r23 = 00000004 r31 = 0e6871fc
cr = 24048222 lr = 0e68776c xer = 00000004 ctr = 0e6877e0
vrsave = 00000000
Stack Trace:
[0] PsychPortAudio.mexmac:0x0e68789c
[1] PsychPortAudio.mexmac:0x0e682968
[2] libmex.dylib:mexRunMexFile + 116 bytes
[3] libmex.dylib:Mfh_mex::dispatch_file(int, mxArray_tag**, int,
mxArray_tag**) + 316 bytes
[4] libmwm_dispatcher.dylib:Mfh_file::dispatch_fh(int,
mxArray_tag**, int, mxArray_tag**) + 344 bytes
[5] libmwm_interpreter.dylib:ResolverFunctionDesc::CallFunction(int,
mxArray_tag**, int, mxArray_tag**) + 420 bytes
[6] libmwm_interpreter.dylib:Resolver::CallMFunction(int, int,
_m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*,
int*) + 1080 bytes
[7]
libmwm_interpreter.dylib:inResolveMFunctionCall(_m_function_desc*,
int, int, _m_operand*, m_operand_storage*, int, _m_operand*,
m_operand_storage*, int*, inMarshalType*, unsigned long, int, unsigned
const*, int) + 360 bytes
[8] libmwm_interpreter.dylib:accelMFunctionCall(_accelOp*,
_accelOp**, _accelBytecode*, int*, inMarshalType*) + 200 bytes
[9] libmwm_interpreter.dylib:accelExec(_accelBytecode*,
inMarshalType*) + 17512 bytes
[10] libmwm_interpreter.dylib:inExecuteHotSegment(_inJitAccelInfo*,
opcodes*, int*) + 2436 bytes
[11] libmwm_interpreter.dylib:inInterp(inDebugCheck, int, int,
opcodes, inPcodeNest_tag volatile*) + 356 bytes
[12] libmwm_interpreter.dylib:inInterPcodeSJ(inDebugCheck, int, int,
opcodes, inPcodeNest_tag*) + 224 bytes
[13] libmwm_interpreter.dylib:inExecuteMFunctionOrScript(Mfh_mp*,
bool) + 772 bytes
[14] libmwm_interpreter.dylib:inWordsj + 620 bytes
[15] libmwm_dispatcher.dylib:Mfh_file::dispatch_fh(int,
mxArray_tag**, int, mxArray_tag**) + 344 bytes
[16] libmwm_interpreter.dylib:inDispatchFromStack + 1616 bytes
[17] libmwm_interpreter.dylib:inDispatchCall(char const*, int, int,
int, int*, int*) + 196 bytes
[18] libmwm_interpreter.dylib:inInterp(inDebugCheck, int, int,
opcodes, inPcodeNest_tag volatile*) + 5280 bytes
[19] libmwm_interpreter.dylib:inInterPcodeSJ(inDebugCheck, int, int,
opcodes, inPcodeNest_tag*) + 224 bytes
[20] libmwm_interpreter.dylib:in_local_call_eval_function(int*,
_pcodeheader*, int*, mxArray_tag**, inDebugCheck) + 176 bytes
[21]
libmwm_interpreter.dylib:inEvalStringWithIsVarFcn(_memory_context*,
char const*, EvalType, int, mxArray_tag**, inDebugCheck,
_pcodeheader*, int*, bool (*)(void*, char const*), void*) + 2872 bytes
[22] libmwm_interpreter.dylib:inEvalString + 48 bytes
[23] libmwm_interpreter.dylib:inEvalCmdWithLocalReturnandtype(char
const*, int*, inDebugCheck) + 96 bytes
[24] libmwbridge.dylib:mnParser + 572 bytes
[25] libmwmcr.dylib:mcrInstance::mnParser() + 104 bytes
[26] MATLAB:mcrMain(int, char**) + 400 bytes
[27] MATLAB:run_main(void*) + 24 bytes
[28] libSystem.B.dylib:0x9002be88
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If it is an official MathWorks function, please
follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:
1. Send this crash report to segv@... for automated analysis.
For your convenience, this information has been recorded in:
/Users/me/matlab_crash_dump.822
2. Also, if the problem is reproducible, send the crash report to
support@... along with:
- A specific list of steps that will reproduce the problem
- Any M, MEX, MDL or other files required to reproduce the problem
- Any error messages displayed to the command window
A technical support engineer will contact you with further
information.
Thank you for your assistance. Please save your workspace and restart
MATLAB before continuing your work.
Error in ==> BasicSoundOutputDemo at 80
pahandle = PsychPortAudio('Open', [], [], 0, freq, nrchannels);
I can't seem to get PsychPortAudio('Open') to run on a G4 Mac Mini
running OSX 10.4.9. Any idea what might be wrong? Below., I'll post
the error resulting from running BasicSoundOutputDemo, which crashes
on the PsychPortAudio('Open') line.
I should mention that I don't have admin access on my current
computer, and have placed libportaudio.0.0.19.dylib in my user
/Users/me/lib rather than /usr/local/lib. Could this be the gremlin?
>> BasicSoundOutputDemoPsychPortAudio initialized. Will use CoreAudio for output.
------------------------------------------------------------------------
Bus error detected at Thu Nov 1 18:34:34 2007
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.0.4.352 (R14) Service Pack 2
MATLAB License: 268402
Operating System: Darwin 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb
22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh
Window System: The XFree86 Project, Inc (40400000), display :0.0
Current Visual: 0x22 (class 4, depth 24)
Virtual Machine: Java 1.5.0_07 with "Apple Computer, Inc." Java
HotSpot(TM) Client VM
(mixed mode, sharing)
Default Charset: US-ASCII
r0 = 00000000 r8 = 092573c8 r16 = 038c4980 r24 = f0ffd9d0
r1 = f0ffbf80 r9 = 0e2c1850 r17 = 00000006 r25 = f0ffd040
r2 = 00000000 r10 = 09257b68 r18 = 038c4980 r26 = f0ffd0d0
r3 = 35fc845b r11 = 0e2c4780 r19 = 00000001 r27 = 00000001
r4 = f0ffbf58 r12 = 09257b60 r20 = 00000006 r28 = 0dfeb840
r5 = 00000030 r13 = 0e5fa720 r21 = f0ffd160 r29 = 00000000
r6 = 1d6aa508 r14 = 00000001 r22 = 00000006 r30 = f0ffbf80
r7 = 00000001 r15 = 00000000 r23 = 00000004 r31 = 0e6871fc
cr = 24048222 lr = 0e68776c xer = 00000004 ctr = 0e6877e0
vrsave = 00000000
Stack Trace:
[0] PsychPortAudio.mexmac:0x0e68789c
[1] PsychPortAudio.mexmac:0x0e682968
[2] libmex.dylib:mexRunMexFile + 116 bytes
[3] libmex.dylib:Mfh_mex::dispatch_file(int, mxArray_tag**, int,
mxArray_tag**) + 316 bytes
[4] libmwm_dispatcher.dylib:Mfh_file::dispatch_fh(int,
mxArray_tag**, int, mxArray_tag**) + 344 bytes
[5] libmwm_interpreter.dylib:ResolverFunctionDesc::CallFunction(int,
mxArray_tag**, int, mxArray_tag**) + 420 bytes
[6] libmwm_interpreter.dylib:Resolver::CallMFunction(int, int,
_m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*,
int*) + 1080 bytes
[7]
libmwm_interpreter.dylib:inResolveMFunctionCall(_m_function_desc*,
int, int, _m_operand*, m_operand_storage*, int, _m_operand*,
m_operand_storage*, int*, inMarshalType*, unsigned long, int, unsigned
const*, int) + 360 bytes
[8] libmwm_interpreter.dylib:accelMFunctionCall(_accelOp*,
_accelOp**, _accelBytecode*, int*, inMarshalType*) + 200 bytes
[9] libmwm_interpreter.dylib:accelExec(_accelBytecode*,
inMarshalType*) + 17512 bytes
[10] libmwm_interpreter.dylib:inExecuteHotSegment(_inJitAccelInfo*,
opcodes*, int*) + 2436 bytes
[11] libmwm_interpreter.dylib:inInterp(inDebugCheck, int, int,
opcodes, inPcodeNest_tag volatile*) + 356 bytes
[12] libmwm_interpreter.dylib:inInterPcodeSJ(inDebugCheck, int, int,
opcodes, inPcodeNest_tag*) + 224 bytes
[13] libmwm_interpreter.dylib:inExecuteMFunctionOrScript(Mfh_mp*,
bool) + 772 bytes
[14] libmwm_interpreter.dylib:inWordsj + 620 bytes
[15] libmwm_dispatcher.dylib:Mfh_file::dispatch_fh(int,
mxArray_tag**, int, mxArray_tag**) + 344 bytes
[16] libmwm_interpreter.dylib:inDispatchFromStack + 1616 bytes
[17] libmwm_interpreter.dylib:inDispatchCall(char const*, int, int,
int, int*, int*) + 196 bytes
[18] libmwm_interpreter.dylib:inInterp(inDebugCheck, int, int,
opcodes, inPcodeNest_tag volatile*) + 5280 bytes
[19] libmwm_interpreter.dylib:inInterPcodeSJ(inDebugCheck, int, int,
opcodes, inPcodeNest_tag*) + 224 bytes
[20] libmwm_interpreter.dylib:in_local_call_eval_function(int*,
_pcodeheader*, int*, mxArray_tag**, inDebugCheck) + 176 bytes
[21]
libmwm_interpreter.dylib:inEvalStringWithIsVarFcn(_memory_context*,
char const*, EvalType, int, mxArray_tag**, inDebugCheck,
_pcodeheader*, int*, bool (*)(void*, char const*), void*) + 2872 bytes
[22] libmwm_interpreter.dylib:inEvalString + 48 bytes
[23] libmwm_interpreter.dylib:inEvalCmdWithLocalReturnandtype(char
const*, int*, inDebugCheck) + 96 bytes
[24] libmwbridge.dylib:mnParser + 572 bytes
[25] libmwmcr.dylib:mcrInstance::mnParser() + 104 bytes
[26] MATLAB:mcrMain(int, char**) + 400 bytes
[27] MATLAB:run_main(void*) + 24 bytes
[28] libSystem.B.dylib:0x9002be88
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If it is an official MathWorks function, please
follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:
1. Send this crash report to segv@... for automated analysis.
For your convenience, this information has been recorded in:
/Users/me/matlab_crash_dump.822
2. Also, if the problem is reproducible, send the crash report to
support@... along with:
- A specific list of steps that will reproduce the problem
- Any M, MEX, MDL or other files required to reproduce the problem
- Any error messages displayed to the command window
A technical support engineer will contact you with further
information.
Thank you for your assistance. Please save your workspace and restart
MATLAB before continuing your work.
Error in ==> BasicSoundOutputDemo at 80
pahandle = PsychPortAudio('Open', [], [], 0, freq, nrchannels);