Why MATLAB coder is crashing while generating trial code with an assertion failed message.

8 views (last 30 days)
I want to convert my MATLAB functions(one entry point function was calling multiple functions) into C using the MATLAB Coder app. Initially Coder was displaying multiple errors and warnings while checking for run-time issues, but when I resolved all the issues and then clicked on ‘CHECK FOR ISSUES’ , the coder ran for half odd minutes and then crashed. It is crashing on ‘Generating trial code’ step in ‘check for run-time issues’ each time.
I am getting this assertion message-
dom_core/analysis/range/RangeValueRecStruct.cpp:127: <unknown>: Assertion `In contains: Assertion failed: !other->isDimMatrix()' failed.
How this issue can be fixed?
Here is the crash dump file-
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Desktop Environment : KDE
GNU C Library : 2.17 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x15ad ( 0x15ad ) 0x405 Version 2.14.1.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 9656052
MATLAB Root : /cad/adi/apps/mathworks/matlab/2021a
MATLAB Version : 9.10.0.1602886 (R2021a)
OpenGL : software
Operating System : "CentOS Linux release 7.6.1810 (Core) "
Process ID : 106170
Processor ID : x86 Family 6 Model 85 Stepping 7, GenuineIntel
Session Key : 12c7ecf0-f29a-44dd-a75e-1abb25258cf3
Static TLS mitigation : Enabled: Full
Window System : Open Text (12002), display :1
Fault Count: 1
Assertion at dom_core/analysis/range/RangeValueRecStruct.cpp line 127:
In contains: Assertion failed: !other->isDimMatrix()
Current Thread: 'MCR 0 interpret' id 139994570893056
Register State (captured):
RAX = 0000000000000000 RBX = 00007f536d7f8b68
RCX = 0000000000000000 RDX = 00007f536d7e06d8
RSP = 00007f5306aa1d30 RBP = 00007f5306aa2110
RSI = 00007f536d7c052a RDI = 00007f5306aa1d40
R8 = 00007f5306aa2039 R9 = 00007f5306aa2039
R10 = 0000000000000000 R11 = 000000007fffffff
R12 = 00007f5306aa2170 R13 = 00007f5306aa25f0
R14 = 00007f51f299cf40 R15 = 0000000000000000
RIP = 00007f536d76180e EFL = 0000000000000000
CS = 0000 FS = 0000 GS = 0000
Stack Trace (captured):
[ 0] 0x00007f536d756923 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwfl.so+00387363
[ 1] 0x00007f536d756b1c /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwfl.so+00387868 _ZN10foundation4core4diag15stacktrace_base7captureEm+00000028
[ 2] 0x00007f536d759a1e /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwfl.so+00399902
[ 3] 0x00007f536d75ae0c /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwfl.so+00405004
[ 4] 0x00007f536d75aee7 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwfl.so+00405223
[ 5] 0x00007f51f2c891de /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwemlcoder.so+03060190
[ 6] 0x00007f51f279fba9 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcg_ir.so+07576489 _Z23client_assertion_failedPKciS0_+00000025
[ 7] 0x00007f51f08776d0 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04110032 _ZNK2CG8analysis5range23RangeValueRecStructured8containsEPNS1_17RangeValueRecBaseE+00000336
[ 8] 0x00007f51f08775e4 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04109796 _ZNK2CG8analysis5range23RangeValueRecStructured8containsEPNS1_17RangeValueRecBaseE+00000100
[ 9] 0x00007f51f085a0ba /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03989690
[ 10] 0x00007f51f0860945 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04016453
[ 11] 0x00007f51f08628f2 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024562
[ 12] 0x00007f51f086293a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024634
[ 13] 0x00007f51f0862a42 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024898
[ 14] 0x00007f51f08287ee /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03786734
[ 15] 0x00007f51f0828afd /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03787517
[ 16] 0x00007f51f085c609 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03999241
[ 17] 0x00007f51f085c8c3 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03999939
[ 18] 0x00007f51f085cac5 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04000453
[ 19] 0x00007f51f085cb13 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04000531
[ 20] 0x00007f51f0843c7b /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03898491 _ZN2CG8analysis5range6Interp11rangeOfCallEPNS_8CallExprE+00000315
[ 21] 0x00007f51f084a50a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03925258 _ZN2CG8analysis5range6Interp9exprRangeEPNS_4NodeE+00001818
[ 22] 0x00007f51f0859d92 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03988882
[ 23] 0x00007f51f084b8ef /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03930351 _ZN2CG8analysis5range6Interp23completeDefinitionRangeEPNS_7VarExprE+00000287
[ 24] 0x00007f51f0858225 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03981861
[ 25] 0x00007f51f086074a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04015946
[ 26] 0x00007f51f08628f2 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024562
[ 27] 0x00007f51f086293a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024634
[ 28] 0x00007f51f0862a42 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024898
[ 29] 0x00007f51f08287ee /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03786734
[ 30] 0x00007f51f0828afd /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03787517
[ 31] 0x00007f51f085c609 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03999241
[ 32] 0x00007f51f085c8c3 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03999939
[ 33] 0x00007f51f085cac5 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04000453
[ 34] 0x00007f51f085cb31 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04000561
[ 35] 0x00007f51f0845573 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03904883 _ZN2CG8analysis5range6Interp22rangeOfMultiCallOutputEPNS_19MultiOutputCallExprEi+00000131
[ 36] 0x00007f51f0859d59 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03988825
[ 37] 0x00007f51f084b8ef /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03930351 _ZN2CG8analysis5range6Interp23completeDefinitionRangeEPNS_7VarExprE+00000287
[ 38] 0x00007f51f0858225 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03981861
[ 39] 0x00007f51f086074a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04015946
[ 40] 0x00007f51f08628f2 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024562
[ 41] 0x00007f51f086293a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024634
[ 42] 0x00007f51f0862a42 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+04024898
[ 43] 0x00007f51f08287ee /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03786734
[ 44] 0x00007f51f0828f4b /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+03788619
[ 45] 0x00007f51e9ed63d5 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_xform.so+07607253
[ 46] 0x00007f51ea15bd7d /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_xform.so+10251645 _ZNK2CG12optimization10upperbound18TransformFromRange12processScopeEPNS_5ScopeE+00000269
[ 47] 0x00007f51f09a8c42 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+05360706 _ZNK2CG14ScopeTransform5applyEPNS_5ScopeERKNS_7ServiceE+00000098
[ 48] 0x00007f51e8a863fb /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmweml.so+04310011
[ 49] 0x00007f51e8da2f75 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmweml.so+07573365 _ZN3EML27transformUnknownUpperBoundsEPNS_3EnvESt8functionIFbPN2CG3FcnEEE+00000117
[ 50] 0x00007f51e8afff4e /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmweml.so+04808526 _ZN3EML7Compile19runDomEmlTransformsEv+00002878
[ 51] 0x00007f51e8b01c66 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmweml.so+04815974 _ZN3EML7Compile8doitImplEv+00000326
[ 52] 0x00007f51f09a8c42 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwcgir_support.so+05360706 _ZNK2CG14ScopeTransform5applyEPNS_5ScopeERKNS_7ServiceE+00000098
[ 53] 0x00007f51e90d0a22 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmweml.so+10906146 _ZN3EML19runAsScopeTransformESt8functionIFvvEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN2CG5ScopeERNSB_15DefaultServicesE+00000162
[ 54] 0x00007f51e90d0ae0 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmweml.so+10906336 _ZN3EML19runAsScopeTransformESt8functionIFvvEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_3EnvE+00000064
[ 55] 0x00007f51e8af6ac0 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmweml.so+04770496 _ZN3EML7compileEPNS_3EnvEb+00000112
[ 56] 0x00007f51f2c7fbfa /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwemlcoder.so+03021818
[ 57] 0x00007f51f2c63dbb /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwemlcoder.so+02907579
[ 58] 0x00007f51f2c63b7f /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwemlcoder.so+02907007
[ 59] 0x00007f51f2c63645 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwemlcoder.so+02905669
[ 60] 0x00007f51f2c736fd /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwemlcoder.so+02971389
[ 61] 0x00007f51f2d674ec /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/builtins/coder_core/../../../../bin/glnxa64/libmwemlcoder.so+03970284
[ 62] 0x00007f5305fad531 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwmcos_impl.so+04654385
[ 63] 0x00007f5305faf4d8 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwmcos_impl.so+04662488
[ 64] 0x00007f5305fb64e9 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwmcos_impl.so+04691177
[ 65] 0x00007f5305faced4 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwmcos_impl.so+04652756
[ 66] 0x00007f5305facf34 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwmcos_impl.so+04652852
[ 67] 0x00007f53060450a2 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwmcos_impl.so+05275810
[ 68] 0x00007f536773d97c /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwmcos.so+00321916 _Z18omDirectCallMethodRKN4mcos15COSInternedBaseINS_8internal13IdEmptyPolicyEEES5_S5_iPP11mxArray_tagiPPKS6_+00000076
[ 69] 0x00007f534d096eac /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwlxeindexing.so+01388204
[ 70] 0x00007f534d14fa04 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwlxeindexing.so+02144772
[ 71] 0x00007f534d0af8f6 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwlxeindexing.so+01489142
[ 72] 0x00007f534d0af8f6 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwlxeindexing.so+01489142
[ 73] 0x00007f534d0d2a36 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwlxeindexing.so+01632822
[ 74] 0x00007f534d078894 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwlxeindexing.so+01263764 _ZN9MathWorks3lxe9at_rparenEPvNS_2ts4TypeEPKvS1_S1_+00000484
[ 75] 0x00007f53259a460d /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12404237
[ 76] 0x00007f53259a4730 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12404528
[ 77] 0x00007f5325470734 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06948660
[ 78] 0x00007f5325472774 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06956916
[ 79] 0x00007f532546f801 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06944769
[ 80] 0x00007f5325465785 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06903685
[ 81] 0x00007f5325465c71 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06904945
[ 82] 0x00007f532546f07a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06942842
[ 83] 0x00007f532546f176 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06943094
[ 84] 0x00007f532559d769 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+08181609
[ 85] 0x00007f53255a0820 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+08194080
[ 86] 0x00007f53257d5126 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+10506534
[ 87] 0x00007f53258bdc86 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+11459718
[ 88] 0x00007f53258bde2d /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+11460141
[ 89] 0x00007f534e4731b3 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_dispatcher.so+01196467 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000179
[ 90] 0x00007f534e474da2 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_dispatcher.so+01203618 _ZN8Mfh_file19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000306
[ 91] 0x00007f5325a376d5 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13006549
[ 92] 0x00007f532577a349 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+10134345
[ 93] 0x00007f53258237a1 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+10827681
[ 94] 0x00007f534e1b93c0 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_interpreter.so+01483712 inFullFevalFcn+00000320
[ 95] 0x00007f534daaa2e2 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwbuiltin.so+00062178 _ZNK9MathWorks7builtin10BuiltinFcn6invokeEiPP11mxArray_tagiS4_+00000082
[ 96] 0x00007f534e408813 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_dispatcher.so+00759827
[ 97] 0x00007f534e3ea2da /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_dispatcher.so+00635610 _ZN18Mfh_MATLAB_fn_impl19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000266
[ 98] 0x00007f5325a39d7e /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13016446
[ 99] 0x00007f5325a3e215 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13034005
[100] 0x00007f5325a39ed5 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13016789
[101] 0x00007f5325a43eef /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13057775
[102] 0x00007f53258d1b48 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+11541320
[103] 0x00007f5325a173bb /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12874683
[104] 0x00007f53259a460d /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12404237
[105] 0x00007f53259a63a0 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12411808
[106] 0x00007f53255b1b49 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+08264521
[107] 0x00007f532559c9ca /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+08178122
[108] 0x00007f53255a0820 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+08194080
[109] 0x00007f53257d5126 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+10506534
[110] 0x00007f53258bdc86 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+11459718
[111] 0x00007f53258bde2d /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+11460141
[112] 0x00007f534e4731b3 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_dispatcher.so+01196467 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000179
[113] 0x00007f534e474da2 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_dispatcher.so+01203618 _ZN8Mfh_file19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000306
[114] 0x00007f5325a39d7e /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13016446
[115] 0x00007f5325a3e215 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13034005
[116] 0x00007f5325a39ed5 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13016789
[117] 0x00007f5325a43eef /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+13057775
[118] 0x00007f53258d1b48 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+11541320
[119] 0x00007f5325a173bb /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12874683
[120] 0x00007f53259a460d /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12404237
[121] 0x00007f53259a63a0 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+12411808
[122] 0x00007f5325470734 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06948660
[123] 0x00007f5325472774 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06956916
[124] 0x00007f532546f801 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06944769
[125] 0x00007f5325465785 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06903685
[126] 0x00007f5325465c71 /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06904945
[127] 0x00007f532546f07a /cad/adi/apps/mathworks/matlab/2021a/bin/glnxa64/libmwm_lxe.so+06942842

Answers (1)

Bruno Luong
Bruno Luong on 20 Jul 2022
IMO the assertion fault is not the cause but an indicator that you passed the data that are not of the size/class of what the coder assumes to work with; then that results a crash.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!