Borrar filtros
Borrar filtros

Matlab segfaults when I try to access uint32 or int16 data created using a mex function

2 visualizaciones (últimos 30 días)
Hi,
I am trying to run some code that was written a while back, but has previously worked for me. I am creating a file using some a function that relies on some mex code (you can see the function here: https://github.com/wilsonlab/mwlIO/blob/master/%40mwleegfile/mwleegfile.m and all the relevant code is in the directory. I am not pasting it here because there are multiple parts and I am unsure if it is the cause of the problem). The file that is created has multiple fields, an example is shown below:
-- EEG FILE OBJECT --
file name : arte_lfp1.eeg
file path :
file mode : read
file type : binary
file size : 684364910 bytes
header size : 2138 bytes
Name Type N
timestamp uint32 [1]
data int16 [16]
-- Interpretation of fields: --
Name Type N
timestamp uint32 [1]
data int16 [8 2]
record size : 36
n records : 19010077
n samples : 2
n channels : 8
If I attempt to access fields such as channels, I get the correct response
eeg_o.nchannels
ans =
8
However, ifi I try to acess EITHER timestamp or data, I get a seg fault.
>> eeg_o.timestamp
--------------------------------------------------------------------------------
Segmentation violation detected at Mon Aug 10 20:56:57 2020 -0500
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : ISO-8859-1
Deployed : false
Graphics Driver : Unknown hardware
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : maci64
MATLAB Entitlement ID : 4172684
MATLAB Root : /Applications/MATLAB_R2018b.app
MATLAB Version : 9.5.0.944444 (R2018b)
OpenGL : hardware
Operating System : Mac OS Version 10.15.3 (Build 19D76)
Process ID : 36252
Processor ID : x86 Family 6 Model 94 Stepping 3, GenuineIntel
Session Key : 77119fe6-d5b7-4d1f-87d1-4d6cd8847622
Window System : Quartz
Fault Count: 1
Abnormal termination
Register State (from fault):
RAX = 0000600006c14680 RBX = 0000700005ef3640
RCX = 000000010f775e3c RDX = 000000010f6b35b8
RSP = 0000600006a272c0 RBP = 0000600006c14680
RSI = 0000600006c14680 RDI = 0000000000000010
R8 = 0000600006c14380 R9 = 0000000000000000
R10 = 0000700005ef36f0 R11 = 000000019392c020
R12 = 0000700005ef3f18 R13 = 0000700005ef3930
R14 = 000000011b8145dd R15 = 0000700005ef3690
RIP = 00007fff6b9c9718 RFL = 0000700005ef3b58
CS = 0000600004295240 FS = 0000700005ef36c0 GS = 0000600006c14380
Stack Trace (from fault):
[ 0] 0x000000010f5e7dd1 bin/maci64/libmwfl.dylib+00007633 _ZN10foundation4core4diag15stacktrace_base7captureERKNS1_14thread_contextEm+00000049
[ 1] 0x000000010f5ed4b5 bin/maci64/libmwfl.dylib+00029877 _ZN10foundation4core4test17terminate_handledEv+00006181
[ 2] 0x000000010f5eb9f5 bin/maci64/libmwfl.dylib+00023029 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000149
[ 3] 0x000000011456d67b bin/maci64/libmwmcr.dylib+00632443 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00012635
[ 4] 0x000000011456b207 bin/maci64/libmwmcr.dylib+00623111 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00003303
[ 5] 0x0000000114568d64 bin/maci64/libmwmcr.dylib+00613732 mnFatalSignalHandler+00000148
[ 6] 0x00007fff6ea5c42d /usr/lib/system/libsystem_platform.dylib+00017453 _sigtramp+00000029
[ 7] 0x000000010f28a1b8 bin/maci64/libmwms.dylib+01155512 _ZTIN10foundation7msg_svc8eventmgr15DefaultEventMgrE+00000568
[ 8] 0x00000001155ea4bc bin/maci64/libmex.dylib+00242876 _ZNK18C_DispatchStrategy8dispatchEiPP11mxArray_tagiS2_+00000140
[ 9] 0x00000001155eaa6d bin/maci64/libmex.dylib+00244333 _ZNK24SCCompatDispatchStrategy8dispatchEiPP11mxArray_tagiS2_+00000061
[ 10] 0x00000001155ea274 bin/maci64/libmex.dylib+00242292 _ZN7Mfh_mex30dispatch_file_with_protectionsEiPP11mxArray_tagiS2_+00000484
[ 11] 0x00000001155d1dbf bin/maci64/libmex.dylib+00142783 _ZN7Mfh_mex13dispatch_fileEiPP11mxArray_tagiS2_+00000159
[ 12] 0x00000001146ae40a bin/maci64/libmwm_dispatcher.dylib+00500746 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000746
[ 13] 0x00000001146ae593 bin/maci64/libmwm_dispatcher.dylib+00501139 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000035
[ 14] 0x0000000117de6fd7 bin/maci64/libmwm_lxe.dylib+09338839 _ZN9MathWorks3lxe17LxeDispatcherImpl12apply_handleEPNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS4_NS0_9ApplyTypeE+00001303
[ 15] 0x0000000117ee62eb bin/maci64/libmwm_lxe.dylib+10384107 _ZN9MathWorks3lxe12apply_handleEPvNS_2ts4TypeEPKvS1_S1_+00000507
[ 16] 0x0000000117e44cde bin/maci64/libmwm_lxe.dylib+09723102 _ZN9MathWorks3lxe38cpp_primitive_template_fn_with_contextIXadL_ZNS0_12apply_handleEPvNS_2ts4TypeEPKvS2_S2_EEEEbS2_S4_S6_S2_S2_+00000014
[ 17] 0x0000000117679740 bin/maci64/libmwm_lxe.dylib+01550144 _ZN9MathWorks3lxe13IrInterpreter17ApplyCppPrimitiveEPN2ir4termES4_RKNS_2ts4TypeES8_+00000448
[ 18] 0x0000000117678ad2 bin/maci64/libmwm_lxe.dylib+01546962 _ZN9MathWorks3lxe13IrInterpreter31process_application_of_constantEPN2ir4termE+00001202
[ 19] 0x000000011767732d bin/maci64/libmwm_lxe.dylib+01540909 _ZN9MathWorks3lxe13IrInterpreter13applyConstantEPN2ir4termE+00000077
[ 20] 0x0000000117672d13 bin/maci64/libmwm_lxe.dylib+01522963 _ZN9MathWorks3lxe12IRTreeWalker9applyTermEPN2ir4termE+00000099
[ 21] 0x0000000117672fb9 bin/maci64/libmwm_lxe.dylib+01523641 _ZN9MathWorks3lxe12IRTreeWalker11getNextIRPCENS0_9irpc_typeE+00000217
[ 22] 0x00000001176770c7 bin/maci64/libmwm_lxe.dylib+01540295 _ZN9MathWorks3lxe13IrInterpreter9tree_walkERKNS0_9irpc_typeES4_+00000215
[ 23] 0x0000000117676fab bin/maci64/libmwm_lxe.dylib+01540011 _ZN9MathWorks3lxe13IrInterpreter9InterpretEv+00000091
[ 24] 0x0000000117784faf bin/maci64/libmwm_lxe.dylib+02645935 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00000911
[ 25] 0x000000011778a107 bin/maci64/libmwm_lxe.dylib+02666759 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir4termEPvS6_+00000295
[ 26] 0x0000000117cc20b9 bin/maci64/libmwm_lxe.dylib+08138937 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir4termEPvS6_+00000153
[ 27] 0x0000000117ddd111 bin/maci64/libmwm_lxe.dylib+09298193 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction25DispatchFunctionWithReuseEiPP11mxArray_tagiS4_+00001617
[ 28] 0x0000000117ddde6c bin/maci64/libmwm_lxe.dylib+09301612 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction12DispatchFileEiPP11mxArray_tagiS4_b+00000156
[ 29] 0x00000001146ae40a bin/maci64/libmwm_dispatcher.dylib+00500746 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000746
[ 30] 0x00000001146ae5c3 bin/maci64/libmwm_dispatcher.dylib+00501187 _ZN8Mfh_file22dispatch_fh_with_reuseEiPP11mxArray_tagiS2_+00000035
[ 31] 0x0000000117f0f93c bin/maci64/libmwm_lxe.dylib+10553660 _ZNK9MathWorks3lxe21UnboundFunctionHandle6invokeEmPP11mxArray_tagmPKPKS2_+00000092
[ 32] 0x0000000117f0fa36 bin/maci64/libmwm_lxe.dylib+10553910 _ZNK9MathWorks3lxe21UnboundFunctionHandle6invokeEmPNS0_6xvalueEmPKS2_+00000166
[ 33] 0x0000000117f17200 bin/maci64/libmwm_lxe.dylib+10584576 _ZN9MathWorks3lxe20call_global_functionERNS0_14ILxeDispatcherEPKcPKNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS8_+00000272
[ 34] 0x0000000117de776c bin/maci64/libmwm_lxe.dylib+09340780 _ZN9MathWorks3lxe17LxeDispatcherImpl14apply_dispatchEPKcPKNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS7_+00000188
[ 35] 0x0000000117ee4728 bin/maci64/libmwm_lxe.dylib+10377000 _ZN9MathWorks3lxe14apply_dispatchEPvNS_2ts4TypeEPKvS1_S1_+00000488
[ 36] 0x0000000117e709ae bin/maci64/libmwm_lxe.dylib+09902510 _ZN9MathWorks3lxe38cpp_primitive_template_fn_with_contextIXadL_ZNS0_14apply_dispatchEPvNS_2ts4TypeEPKvS2_S2_EEEEbS2_S4_S6_S2_S2_+00000014
[ 37] 0x0000000117679740 bin/maci64/libmwm_lxe.dylib+01550144 _ZN9MathWorks3lxe13IrInterpreter17ApplyCppPrimitiveEPN2ir4termES4_RKNS_2ts4TypeES8_+00000448
[ 38] 0x0000000117678ad2 bin/maci64/libmwm_lxe.dylib+01546962 _ZN9MathWorks3lxe13IrInterpreter31process_application_of_constantEPN2ir4termE+00001202
[ 39] 0x000000011767732d bin/maci64/libmwm_lxe.dylib+01540909 _ZN9MathWorks3lxe13IrInterpreter13applyConstantEPN2ir4termE+00000077
[ 40] 0x0000000117672d13 bin/maci64/libmwm_lxe.dylib+01522963 _ZN9MathWorks3lxe12IRTreeWalker9applyTermEPN2ir4termE+00000099
[ 41] 0x0000000117672fb9 bin/maci64/libmwm_lxe.dylib+01523641 _ZN9MathWorks3lxe12IRTreeWalker11getNextIRPCENS0_9irpc_typeE+00000217
[ 42] 0x00000001176770c7 bin/maci64/libmwm_lxe.dylib+01540295 _ZN9MathWorks3lxe13IrInterpreter9tree_walkERKNS0_9irpc_typeES4_+00000215
[ 43] 0x0000000117676fab bin/maci64/libmwm_lxe.dylib+01540011 _ZN9MathWorks3lxe13IrInterpreter9InterpretEv+00000091
[ 44] 0x0000000117784faf bin/maci64/libmwm_lxe.dylib+02645935 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00000911
[ 45] 0x000000011778a107 bin/maci64/libmwm_lxe.dylib+02666759 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir4termEPvS6_+00000295
[ 46] 0x0000000117cc20b9 bin/maci64/libmwm_lxe.dylib+08138937 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir4termEPvS6_+00000153
[ 47] 0x0000000117ddd111 bin/maci64/libmwm_lxe.dylib+09298193 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction25DispatchFunctionWithReuseEiPP11mxArray_tagiS4_+00001617
[ 48] 0x0000000117ddde6c bin/maci64/libmwm_lxe.dylib+09301612 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction12DispatchFileEiPP11mxArray_tagiS4_b+00000156
[ 49] 0x00000001146ae40a bin/maci64/libmwm_dispatcher.dylib+00500746 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000746
[ 50] 0x00000001146ae5c3 bin/maci64/libmwm_dispatcher.dylib+00501187 _ZN8Mfh_file22dispatch_fh_with_reuseEiPP11mxArray_tagiS2_+00000035
[ 51] 0x0000000117f0f93c bin/maci64/libmwm_lxe.dylib+10553660 _ZNK9MathWorks3lxe21UnboundFunctionHandle6invokeEmPP11mxArray_tagmPKPKS2_+00000092
[ 52] 0x0000000117f0fa36 bin/maci64/libmwm_lxe.dylib+10553910 _ZNK9MathWorks3lxe21UnboundFunctionHandle6invokeEmPNS0_6xvalueEmPKS2_+00000166
[ 53] 0x0000000117f17200 bin/maci64/libmwm_lxe.dylib+10584576 _ZN9MathWorks3lxe20call_global_functionERNS0_14ILxeDispatcherEPKcPKNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS8_+00000272
[ 54] 0x0000000117de776c bin/maci64/libmwm_lxe.dylib+09340780 _ZN9MathWorks3lxe17LxeDispatcherImpl14apply_dispatchEPKcPKNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS7_+00000188
[ 55] 0x0000000117ee4728 bin/maci64/libmwm_lxe.dylib+10377000 _ZN9MathWorks3lxe14apply_dispatchEPvNS_2ts4TypeEPKvS1_S1_+00000488
[ 56] 0x0000000117e709ae bin/maci64/libmwm_lxe.dylib+09902510 _ZN9MathWorks3lxe38cpp_primitive_template_fn_with_contextIXadL_ZNS0_14apply_dispatchEPvNS_2ts4TypeEPKvS2_S2_EEEEbS2_S4_S6_S2_S2_+00000014
[ 57] 0x0000000117679740 bin/maci64/libmwm_lxe.dylib+01550144 _ZN9MathWorks3lxe13IrInterpreter17ApplyCppPrimitiveEPN2ir4termES4_RKNS_2ts4TypeES8_+00000448
[ 58] 0x0000000117678ad2 bin/maci64/libmwm_lxe.dylib+01546962 _ZN9MathWorks3lxe13IrInterpreter31process_application_of_constantEPN2ir4termE+00001202
[ 59] 0x000000011767732d bin/maci64/libmwm_lxe.dylib+01540909 _ZN9MathWorks3lxe13IrInterpreter13applyConstantEPN2ir4termE+00000077
[ 60] 0x0000000117672d13 bin/maci64/libmwm_lxe.dylib+01522963 _ZN9MathWorks3lxe12IRTreeWalker9applyTermEPN2ir4termE+00000099
[ 61] 0x0000000117672fb9 bin/maci64/libmwm_lxe.dylib+01523641 _ZN9MathWorks3lxe12IRTreeWalker11getNextIRPCENS0_9irpc_typeE+00000217
[ 62] 0x00000001176770c7 bin/maci64/libmwm_lxe.dylib+01540295 _ZN9MathWorks3lxe13IrInterpreter9tree_walkERKNS0_9irpc_typeES4_+00000215
[ 63] 0x0000000117676fab bin/maci64/libmwm_lxe.dylib+01540011 _ZN9MathWorks3lxe13IrInterpreter9InterpretEv+00000091
[ 64] 0x0000000117784faf bin/maci64/libmwm_lxe.dylib+02645935 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00000911
[ 65] 0x000000011778a107 bin/maci64/libmwm_lxe.dylib+02666759 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir4termEPvS6_+00000295
[ 66] 0x0000000117cc20b9 bin/maci64/libmwm_lxe.dylib+08138937 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir4termEPvS6_+00000153
[ 67] 0x0000000117ddd111 bin/maci64/libmwm_lxe.dylib+09298193 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction25DispatchFunctionWithReuseEiPP11mxArray_tagiS4_+00001617
[ 68] 0x0000000117ddde6c bin/maci64/libmwm_lxe.dylib+09301612 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction12DispatchFileEiPP11mxArray_tagiS4_b+00000156
[ 69] 0x00000001146ae40a bin/maci64/libmwm_dispatcher.dylib+00500746 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000746
[ 70] 0x00000001146ae5c3 bin/maci64/libmwm_dispatcher.dylib+00501187 _ZN8Mfh_file22dispatch_fh_with_reuseEiPP11mxArray_tagiS2_+00000035
[ 71] 0x0000000115c112bf bin/maci64/libmwlxeindexing.dylib+00324287 _ZNK9MathWorks3lxe27OverloadedObjectRmultiplace9GetFirstNEm+00000159
[ 72] 0x0000000115c11444 bin/maci64/libmwlxeindexing.dylib+00324676 _ZNK9MathWorks3lxe27OverloadedObjectRmultiplace21GetCommaSeparatedListENS0_12IRmultiplace25CommaSeperatedListContextE+00000052
[ 73] 0x0000000115c04013 bin/maci64/libmwlxeindexing.dylib+00270355 _ZNK9MathWorks3lxe33MxArrayOwningRmultiplaceDecorator21GetCommaSeparatedListENS0_12IRmultiplace25CommaSeperatedListContextE+00000019
[ 74] 0x0000000115c34fb7 bin/maci64/libmwlxeindexing.dylib+00470967 _ZNK9MathWorks3lxe17XvalueRmultiplace21GetCommaSeparatedListENS0_12IRmultiplace25CommaSeperatedListContextE+00000071
[ 75] 0x0000000115bdad7f bin/maci64/libmwlxeindexing.dylib+00101759 _ZN9MathWorks3lxe9At0CommonIXadL_ZNS0_34DisplayAllButLastMultivalueResultsERKNS0_10MultiValueEPvEEEENS0_6xvalueERKNS0_12IRmultiplaceES5_+00000031
[ 76] 0x0000000115c1ef09 bin/maci64/libmwlxeindexing.dylib+00380681 _ZN9MathWorks3lxe14at_rdot0_printEPvNS_2ts4TypeEPKvS1_+00000137
[ 77] 0x0000000117e6fb3e bin/maci64/libmwm_lxe.dylib+09898814 _ZN9MathWorks3lxe36cpp_parametric_primitive_template_fnIXadL_ZNS0_14at_rdot0_printEPvNS_2ts4TypeEPKvS2_EEEEbS2_S4_S6_S2_+00000014
[ 78] 0x000000011767971d bin/maci64/libmwm_lxe.dylib+01550109 _ZN9MathWorks3lxe13IrInterpreter17ApplyCppPrimitiveEPN2ir4termES4_RKNS_2ts4TypeES8_+00000413
[ 79] 0x0000000117678ad2 bin/maci64/libmwm_lxe.dylib+01546962 _ZN9MathWorks3lxe13IrInterpreter31process_application_of_constantEPN2ir4termE+00001202
[ 80] 0x000000011767732d bin/maci64/libmwm_lxe.dylib+01540909 _ZN9MathWorks3lxe13IrInterpreter13applyConstantEPN2ir4termE+00000077
[ 81] 0x0000000117672d13 bin/maci64/libmwm_lxe.dylib+01522963 _ZN9MathWorks3lxe12IRTreeWalker9applyTermEPN2ir4termE+00000099
[ 82] 0x0000000117672fb9 bin/maci64/libmwm_lxe.dylib+01523641 _ZN9MathWorks3lxe12IRTreeWalker11getNextIRPCENS0_9irpc_typeE+00000217
[ 83] 0x00000001176770c7 bin/maci64/libmwm_lxe.dylib+01540295 _ZN9MathWorks3lxe13IrInterpreter9tree_walkERKNS0_9irpc_typeES4_+00000215
[ 84] 0x0000000117676fab bin/maci64/libmwm_lxe.dylib+01540011 _ZN9MathWorks3lxe13IrInterpreter9InterpretEv+00000091
[ 85] 0x0000000117784faf bin/maci64/libmwm_lxe.dylib+02645935 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00000911
[ 86] 0x000000011778a107 bin/maci64/libmwm_lxe.dylib+02666759 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir4termEPvS6_+00000295
[ 87] 0x0000000117cc20b9 bin/maci64/libmwm_lxe.dylib+08138937 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir4termEPvS6_+00000153
[ 88] 0x0000000117c71609 bin/maci64/libmwm_lxe.dylib+07808521 _ZN9MathWorks3lxe9Evaluator15ApplyStatementsERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKN2ir4termERNS0_18IEvaluationContextE+00000425
[ 89] 0x0000000117c750ee bin/maci64/libmwm_lxe.dylib+07823598 _ZN9MathWorks3lxe9Evaluator17EvalStatementImplERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERNS0_18IEvaluationContextE+00000206
[ 90] 0x0000000117c751ba bin/maci64/libmwm_lxe.dylib+07823802 _ZN9MathWorks3lxe9Evaluator13EvalStatementERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEERNS0_18IEvaluationContextE+00000106
[ 91] 0x0000000117cfdb87 bin/maci64/libmwm_lxe.dylib+08383367 _ZN9MathWorks3lxe9LxeBridge7EvalCmdERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEEb+00000327
[ 92] 0x0000000117cfda77 bin/maci64/libmwm_lxe.dylib+08383095 _ZN9MathWorks3lxe9LxeBridge7EvalCmdERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEEb+00000055
[ 93] 0x00000001156edd8d bin/maci64/libmwbridge.dylib+00073101 _Z8mnParserv+00000653
[ 94] 0x00000001145028c9 bin/maci64/libmwmcr.dylib+00194761 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl16break_event_loopERKN7mwboost10shared_ptrIS2_EE+00003369
[ 95] 0x0000000114502bf9 bin/maci64/libmwmcr.dylib+00195577 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl16break_event_loopERKN7mwboost10shared_ptrIS2_EE+00004185
[ 96] 0x00000001144df1f5 bin/maci64/libmwmcr.dylib+00049653 _ZN14cmddistributor15PackagedTaskIIP13getTypeStringIvEENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEv+00000917
[ 97] 0x00000001144df137 bin/maci64/libmwmcr.dylib+00049463 _ZN14cmddistributor15PackagedTaskIIP13getTypeStringIvEENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEv+00000727
[ 98] 0x00000001144df0e2 bin/maci64/libmwmcr.dylib+00049378 _ZN14cmddistributor15PackagedTaskIIP13getTypeStringIvEENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEv+00000642
[ 99] 0x00000001143df74e bin/maci64/libmwiqm.dylib+00366414 _ZN7mwboost6detail8function21function_obj_invoker0INSt3__18functionIFNS_3anyEvEEES5_E6invokeERNS1_15function_bufferE+00000030
[100] 0x00000001143df16b bin/maci64/libmwiqm.dylib+00364907 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000251
[101] 0x00000001143c0b5f bin/maci64/libmwiqm.dylib+00240479 _ZNK3iqm17DefaultPacketInfo7executeEP15inWorkSpace_tag+00000799
[102] 0x00000001143a499b bin/maci64/libmwiqm.dylib+00125339 _ZN3iqm10DefaultIqm13dequeueHelperEN7mwboost8optionalImEERKNSt3__112basic_stringIDsNS4_11char_traitsIDsEENS4_9allocatorIDsEEEEN6mlutil14cmddistributor13WhenToDequeue13WhenToDequeueERKNS4_8functionIFbRKNS4_5tupleIJSG_NS1_10shared_ptrINS_22IntermediatePacketInfoEEESA_EEEEEE+00001195
[103] 0x0000000114398dca bin/maci64/libmwiqm.dylib+00077258 _ZN3iqm10DefaultIqm7dequeueEN6mlutil14cmddistributor13WhenToDequeue13WhenToDequeueEN7mwboost8optionalImEE+00000362
[104] 0x00000001143aa766 bin/maci64/libmwiqm.dylib+00149350 _ZN3tbb10interface519concurrent_hash_mapIN6mlutil10contextmgr5McrIDEN7mwboost10shared_ptrIN3iqm17DebugEventHandlerEEEN10foundation7msg_svc10threadutil4HashIS4_EENS_13tbb_allocatorINSt3__14pairIS4_S9_EEEEE28allocate_node_copy_constructERNSF_INSK_4nodeEEERKS4_PKS9_+00006198
[105] 0x000000010d1d98e5 bin/maci64/libmwservices.dylib+01239269 _Z40svWS_ProcessPendingEventsWithLimitedRateb+00003301
[106] 0x000000010d1d80f6 bin/maci64/libmwservices.dylib+01233142 _Z25svWS_ProcessPendingEventsiib+00001094
[107] 0x000000010d1d7d5f bin/maci64/libmwservices.dylib+01232223 _Z25svWS_ProcessPendingEventsiib+00000175
[108] 0x0000000114501284 bin/maci64/libmwmcr.dylib+00189060 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl14process_eventsERKN7mwboost10shared_ptrIS2_EE+00000356
[109] 0x0000000114501957 bin/maci64/libmwmcr.dylib+00190807 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl3runERKN7mwboost10shared_ptrIS2_EEPNS2_12init_contextE+00000279
[110] 0x00000001144fcc1a bin/maci64/libmwmcr.dylib+00171034 _Z26run_init_and_handle_eventsPv+00000266
[111] 0x00007fff6ea67e65 /usr/lib/system/libsystem_pthread.dylib+00024165 _pthread_start+00000148
[112] 0x00007fff6ea6383b /usr/lib/system/libsystem_pthread.dylib+00006203 thread_start+00000015
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.
** This crash report has been saved to disk as /Users/Hannah/matlab_crash_dump.36252-1 **
Caught MathWorks::System::FatalException
[Please exit and restart MATLAB]>>
I am not sure what the problem is, but I am guessing it is somehow related to this version of matlab and its compatability with old C files. I have run this succesfully on previous versions of matlab, though I could not tell you off the top of my head which ones. Any help would be appreciated.
  5 comentarios
hsw
hsw el 11 de Ag. de 2020
I only linked to it instead of pasting because I wasn't sure if it was a problem with the code or how matlab handles uint32 and uint16 files

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by