AnsweredAssumed Answered

Matlab Crash During Fmcomms5 Data Stream

Question asked by niba on Apr 20, 2018
Latest reply on May 24, 2018 by travisfcollins

I am using fmcomms5 +zc706 board I have matlab 2017a on my linux and I have linaro on my zc706 board.I am using the sd card that came with ad9361fmcomms5 board. I dont have proper internet connection so I am unable to update adi tools I have working libiio on both host and target but the versions are different I tried to build old version but I couldnt rebuild libiio on my host .My board and host connected via ethernet. My problem is when I try to run the simulink example for fmcomms5 board matlab crashes  a few seconds later also I see sine signal on time scope as simulation until crash but I dont see anything on my spectrum analyzer. 

 


Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f8a6cf968d0 RBX = 00007f8a7ba89420
RCX = 00007f8a6dc03090 RDX = 0000000000000000
RSP = 00007f8c45b36c78 RBP = 00007f8c45b36cb0
RSI = 00007f8a65290f20 RDI = 0000000000000000

R8 = 00007f8c45b36c80 R9 = 00007f8c4cc12c20
R10 = 0000000000000000 R11 = 00007f8a7b986840
R12 = 00007f8a7b8bcf10 R13 = 00007f8a6cb722d8
R14 = 00007f8c45b36e60 R15 = 00007f8a6cf968d0

RIP = 00007f8a6cf968d0 EFL = 0000000000010206

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f8a6cf968d0 /lib64/libiio.so+00039120 iio_buffer_start+00000000
[ 1] 0x00007f8a6d9d22f9 bin/glnxa64/libmwcli.so+00156409
[ 2] 0x00007f8a6d9d45eb bin/glnxa64/libmwcli.so+00165355
[ 3] 0x00007f8a6d9e8c04 bin/glnxa64/libmwcli.so+00248836
[ 4] 0x00007f8a6d9e9026 bin/glnxa64/libmwcli.so+00249894
[ 5] 0x00007f8c53718ede bin/glnxa64/libmwm_dispatcher.so+00446174
[ 6] 0x00007f8c536ff628 bin/glnxa64/libmwm_dispatcher.so+00341544 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000616
[ 7] 0x00007f8c4fb7ce44 bin/glnxa64/libmwm_lxe.so+12688964
[ 8] 0x00007f8c4fb7cede bin/glnxa64/libmwm_lxe.so+12689118
[ 9] 0x00007f8c4fb807e5 bin/glnxa64/libmwm_lxe.so+12703717
[ 10] 0x00007f8c4fb84c7a bin/glnxa64/libmwm_lxe.so+12721274
[ 11] 0x00007f8c4fa90b00 bin/glnxa64/libmwm_lxe.so+11721472
[ 12] 0x00007f8c4fb5ed41 bin/glnxa64/libmwm_lxe.so+12565825
[ 13] 0x00007f8c4fb160b1 bin/glnxa64/libmwm_lxe.so+12267697
[ 14] 0x00007f8c4f51a5ea bin/glnxa64/libmwm_lxe.so+05993962
[ 15] 0x00007f8c4f5074f0 bin/glnxa64/libmwm_lxe.so+05915888
[ 16] 0x00007f8c4f50d083 bin/glnxa64/libmwm_lxe.so+05939331
[ 17] 0x00007f8c4f98fb0e bin/glnxa64/libmwm_lxe.so+10668814
[ 18] 0x00007f8c4fa80eec bin/glnxa64/libmwm_lxe.so+11656940
[ 19] 0x00007f8c5376b1f3 bin/glnxa64/libmwm_dispatcher.so+00782835 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000947
[ 20] 0x00007f8c5376babe bin/glnxa64/libmwm_dispatcher.so+00785086 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000030
[ 21] 0x00007f8c3fc165ae bin/glnxa64/libmwmcos_impl.so+02819502
[ 22] 0x00007f8a9cea5f3e bin/glnxa64/libmwsystemobject_mcos.so+00405310
[ 23] 0x00007f8a9ceaa269 bin/glnxa64/libmwsystemobject_mcos.so+00422505 _Z18sysObjCallStepImplPKN4mcos9COSClientERiPNS_8COSValueEiPKS4_RKNS_9COSNameIDE+00000809
[ 24] 0x00007f8a9d8d38d9 bin/glnxa64/libmwmatlabsystemblock.so+00919769 _ZN12SysBlockBase17MSysObjDispatcher22invokeSysObjMethodImplENS0_14ImplMethodTypeERiPN4mcos8COSValueEiPKS4_+00001481
[ 25] 0x00007f8a9d8d4c57 bin/glnxa64/libmwmatlabsystemblock.so+00924759 _ZN12SysBlockBase17MSysObjDispatcher18invokeSysObjMethodENS0_14ImplMethodTypeERiPN4mcos8COSValueEiPKS4_+00000103
[ 26] 0x00007f8a9d8e2f6e bin/glnxa64/libmwmatlabsystemblock.so+00982894 _ZN12SysBlockBase17MSysObjDispatcher11callOutputsEP11SLExecBlock+00000702
[ 27] 0x00007f8a9d8a22ac bin/glnxa64/libmwmatlabsystemblock.so+00717484
[ 28] 0x00007f8aeef4f7b8 bin/glnxa64/libmwsimulink.so+15808440
[ 29] 0x00007f8aeef0d418 bin/glnxa64/libmwsimulink.so+15537176
[ 30] 0x00007f8aef04531b bin/glnxa64/libmwsimulink.so+16814875
[ 31] 0x00007f8aefa8f606 bin/glnxa64/libmwsimulink.so+27604486
[ 32] 0x00007f8ae8bb1eba bin/glnxa64/libmwsl_solver.so+00581306 _ZN9sl_solver9SimStepVS4stepEv+00000506
[ 33] 0x00007f8aefa8e33c bin/glnxa64/libmwsimulink.so+27599676
[ 34] 0x00007f8aefa25ef8 bin/glnxa64/libmwsimulink.so+27172600
[ 35] 0x00007f8aefa29a1f bin/glnxa64/libmwsimulink.so+27187743
[ 36] 0x00007f8aefa2af3c bin/glnxa64/libmwsimulink.so+27193148
[ 37] 0x00007f8aefa2b0f2 bin/glnxa64/libmwsimulink.so+27193586
[ 38] 0x00007f8c6b5e9b30 bin/glnxa64/libmwmvm.so+02726704 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN5boost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000080
[ 39] 0x00007f8c6b5e9e3d bin/glnxa64/libmwmvm.so+02727485 _ZNSt17_Function_handlerIFN5boost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000029
[ 40] 0x00007f8c541ed06c bin/glnxa64/libmwiqm.so+00778348 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 41] 0x00007f8c541ecd4c bin/glnxa64/libmwiqm.so+00777548 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 42] 0x00007f8c53a48ded bin/glnxa64/libmwmcr.so+00646637
[ 43] 0x00007f8c541cafba bin/glnxa64/libmwiqm.so+00638906
[ 44] 0x00007f8c541b9902 bin/glnxa64/libmwiqm.so+00567554
[ 45] 0x00007f8c51b2c05a bin/glnxa64/libmwbridge.so+00159834
[ 46] 0x00007f8c51b3355e bin/glnxa64/libmwbridge.so+00189790
[ 47] 0x00007f8c51b3367b bin/glnxa64/libmwbridge.so+00190075
[ 48] 0x00007f8c51b34003 bin/glnxa64/libmwbridge.so+00192515 _Z8mnParserv+00000627
[ 49] 0x00007f8c53a31df3 bin/glnxa64/libmwmcr.so+00552435
[ 50] 0x00007f8c53a33f9e bin/glnxa64/libmwmcr.so+00561054
[ 51] 0x00007f8c53a34619 bin/glnxa64/libmwmcr.so+00562713 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 52] 0x00007f8c53a32f06 bin/glnxa64/libmwmcr.so+00556806
[ 53] 0x00007f8c54200739 bin/glnxa64/libmwiqm.so+00857913
[ 54] 0x00007f8c541ed06c bin/glnxa64/libmwiqm.so+00778348 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 55] 0x00007f8c541ecd4c bin/glnxa64/libmwiqm.so+00777548 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 56] 0x00007f8c541cafba bin/glnxa64/libmwiqm.so+00638906
[ 57] 0x00007f8c541b915f bin/glnxa64/libmwiqm.so+00565599
[ 58] 0x00007f8c541bb609 bin/glnxa64/libmwiqm.so+00574985
[ 59] 0x00007f8c6afa601a bin/glnxa64/libmwservices.so+02469914
[ 60] 0x00007f8c6afa75cf bin/glnxa64/libmwservices.so+02475471
[ 61] 0x00007f8c6afa7d7a bin/glnxa64/libmwservices.so+02477434 _Z25svWS_ProcessPendingEventsiib+00000186
[ 62] 0x00007f8c53a3256e bin/glnxa64/libmwmcr.so+00554350
[ 63] 0x00007f8c53a32901 bin/glnxa64/libmwmcr.so+00555265
[ 64] 0x00007f8c53a20206 bin/glnxa64/libmwmcr.so+00479750
[ 65] 0x00007f8c698dddc5 /lib64/libpthread.so.0+00032197
[ 66] 0x00007f8c6960c76d /lib64/libc.so.6+01013613 clone+00000109
[ 67] 0x0000000000000000 <unknown-module>+00000000


If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/

A technical support engineer might contact you with further information.

Thank you for your help.

 


Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f8a6cf968d0 RBX = 00007f8a7ba89420
RCX = 00007f8a6dc03090 RDX = 0000000000000000
RSP = 00007f8c45b36c78 RBP = 00007f8c45b36cb0
RSI = 00007f8a65290f20 RDI = 0000000000000000

R8 = 00007f8c45b36c80 R9 = 00007f8c4cc12c20
R10 = 0000000000000000 R11 = 00007f8a7b986840
R12 = 00007f8a7b8bcf10 R13 = 00007f8a6cb722d8
R14 = 00007f8c45b36e60 R15 = 00007f8a6cf968d0

RIP = 00007f8a6cf968d0 EFL = 0000000000010206

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f8a6cf968d0 /lib64/libiio.so+00039120 iio_buffer_start+00000000
[ 1] 0x00007f8a6d9d22f9 bin/glnxa64/libmwcli.so+00156409
[ 2] 0x00007f8a6d9d45eb bin/glnxa64/libmwcli.so+00165355
[ 3] 0x00007f8a6d9e8c04 bin/glnxa64/libmwcli.so+00248836
[ 4] 0x00007f8a6d9e9026 bin/glnxa64/libmwcli.so+00249894
[ 5] 0x00007f8c53718ede bin/glnxa64/libmwm_dispatcher.so+00446174
[ 6] 0x00007f8c536ff628 bin/glnxa64/libmwm_dispatcher.so+00341544 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000616
[ 7] 0x00007f8c4fb7ce44 bin/glnxa64/libmwm_lxe.so+12688964
[ 8] 0x00007f8c4fb7cede bin/glnxa64/libmwm_lxe.so+12689118
[ 9] 0x00007f8c4fb807e5 bin/glnxa64/libmwm_lxe.so+12703717
[ 10] 0x00007f8c4fb84c7a bin/glnxa64/libmwm_lxe.so+12721274
[ 11] 0x00007f8c4fa90b00 bin/glnxa64/libmwm_lxe.so+11721472
[ 12] 0x00007f8c4fb5ed41 bin/glnxa64/libmwm_lxe.so+12565825
[ 13] 0x00007f8c4fb160b1 bin/glnxa64/libmwm_lxe.so+12267697
[ 14] 0x00007f8c4f51a5ea bin/glnxa64/libmwm_lxe.so+05993962
[ 15] 0x00007f8c4f5074f0 bin/glnxa64/libmwm_lxe.so+05915888
[ 16] 0x00007f8c4f50d083 bin/glnxa64/libmwm_lxe.so+05939331
[ 17] 0x00007f8c4f98fb0e bin/glnxa64/libmwm_lxe.so+10668814
[ 18] 0x00007f8c4fa80eec bin/glnxa64/libmwm_lxe.so+11656940
[ 19] 0x00007f8c5376b1f3 bin/glnxa64/libmwm_dispatcher.so+00782835 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000947
[ 20] 0x00007f8c5376babe bin/glnxa64/libmwm_dispatcher.so+00785086 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000030
[ 21] 0x00007f8c3fc165ae bin/glnxa64/libmwmcos_impl.so+02819502
[ 22] 0x00007f8a9cea5f3e bin/glnxa64/libmwsystemobject_mcos.so+00405310
[ 23] 0x00007f8a9ceaa269 bin/glnxa64/libmwsystemobject_mcos.so+00422505 _Z18sysObjCallStepImplPKN4mcos9COSClientERiPNS_8COSValueEiPKS4_RKNS_9COSNameIDE+00000809
[ 24] 0x00007f8a9d8d38d9 bin/glnxa64/libmwmatlabsystemblock.so+00919769 _ZN12SysBlockBase17MSysObjDispatcher22invokeSysObjMethodImplENS0_14ImplMethodTypeERiPN4mcos8COSValueEiPKS4_+00001481
[ 25] 0x00007f8a9d8d4c57 bin/glnxa64/libmwmatlabsystemblock.so+00924759 _ZN12SysBlockBase17MSysObjDispatcher18invokeSysObjMethodENS0_14ImplMethodTypeERiPN4mcos8COSValueEiPKS4_+00000103
[ 26] 0x00007f8a9d8e2f6e bin/glnxa64/libmwmatlabsystemblock.so+00982894 _ZN12SysBlockBase17MSysObjDispatcher11callOutputsEP11SLExecBlock+00000702
[ 27] 0x00007f8a9d8a22ac bin/glnxa64/libmwmatlabsystemblock.so+00717484
[ 28] 0x00007f8aeef4f7b8 bin/glnxa64/libmwsimulink.so+15808440
[ 29] 0x00007f8aeef0d418 bin/glnxa64/libmwsimulink.so+15537176
[ 30] 0x00007f8aef04531b bin/glnxa64/libmwsimulink.so+16814875
[ 31] 0x00007f8aefa8f606 bin/glnxa64/libmwsimulink.so+27604486
[ 32] 0x00007f8ae8bb1eba bin/glnxa64/libmwsl_solver.so+00581306 _ZN9sl_solver9SimStepVS4stepEv+00000506
[ 33] 0x00007f8aefa8e33c bin/glnxa64/libmwsimulink.so+27599676
[ 34] 0x00007f8aefa25ef8 bin/glnxa64/libmwsimulink.so+27172600
[ 35] 0x00007f8aefa29a1f bin/glnxa64/libmwsimulink.so+27187743
[ 36] 0x00007f8aefa2af3c bin/glnxa64/libmwsimulink.so+27193148
[ 37] 0x00007f8aefa2b0f2 bin/glnxa64/libmwsimulink.so+27193586
[ 38] 0x00007f8c6b5e9b30 bin/glnxa64/libmwmvm.so+02726704 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN5boost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000080
[ 39] 0x00007f8c6b5e9e3d bin/glnxa64/libmwmvm.so+02727485 _ZNSt17_Function_handlerIFN5boost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000029
[ 40] 0x00007f8c541ed06c bin/glnxa64/libmwiqm.so+00778348 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 41] 0x00007f8c541ecd4c bin/glnxa64/libmwiqm.so+00777548 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 42] 0x00007f8c53a48ded bin/glnxa64/libmwmcr.so+00646637
[ 43] 0x00007f8c541cafba bin/glnxa64/libmwiqm.so+00638906
[ 44] 0x00007f8c541b9902 bin/glnxa64/libmwiqm.so+00567554
[ 45] 0x00007f8c51b2c05a bin/glnxa64/libmwbridge.so+00159834
[ 46] 0x00007f8c51b3355e bin/glnxa64/libmwbridge.so+00189790
[ 47] 0x00007f8c51b3367b bin/glnxa64/libmwbridge.so+00190075
[ 48] 0x00007f8c51b34003 bin/glnxa64/libmwbridge.so+00192515 _Z8mnParserv+00000627
[ 49] 0x00007f8c53a31df3 bin/glnxa64/libmwmcr.so+00552435
[ 50] 0x00007f8c53a33f9e bin/glnxa64/libmwmcr.so+00561054
[ 51] 0x00007f8c53a34619 bin/glnxa64/libmwmcr.so+00562713 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 52] 0x00007f8c53a32f06 bin/glnxa64/libmwmcr.so+00556806
[ 53] 0x00007f8c54200739 bin/glnxa64/libmwiqm.so+00857913
[ 54] 0x00007f8c541ed06c bin/glnxa64/libmwiqm.so+00778348 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 55] 0x00007f8c541ecd4c bin/glnxa64/libmwiqm.so+00777548 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 56] 0x00007f8c541cafba bin/glnxa64/libmwiqm.so+00638906
[ 57] 0x00007f8c541b915f bin/glnxa64/libmwiqm.so+00565599
[ 58] 0x00007f8c541bb609 bin/glnxa64/libmwiqm.so+00574985
[ 59] 0x00007f8c6afa601a bin/glnxa64/libmwservices.so+02469914
[ 60] 0x00007f8c6afa75cf bin/glnxa64/libmwservices.so+02475471
[ 61] 0x00007f8c6afa7d7a bin/glnxa64/libmwservices.so+02477434 _Z25svWS_ProcessPendingEventsiib+00000186
[ 62] 0x00007f8c53a3256e bin/glnxa64/libmwmcr.so+00554350
[ 63] 0x00007f8c53a32901 bin/glnxa64/libmwmcr.so+00555265
[ 64] 0x00007f8c53a20206 bin/glnxa64/libmwmcr.so+00479750
[ 65] 0x00007f8c698dddc5 /lib64/libpthread.so.0+00032197
[ 66] 0x00007f8c6960c76d /lib64/libc.so.6+01013613 clone+00000109
[ 67] 0x0000000000000000 <unknown-module>+00000000

Outcomes