MATLAB crashes after running ros2bag

조회 수: 2 (최근 30일)
Nurullah Gulmus
Nurullah Gulmus 2021년 8월 17일
댓글: Nurullah Gulmus 2021년 8월 17일
Hi,
MATLAB crashes if I run an example related to ros2bag, openExample('ros/ReadMessagesFromROS2BagLogFileExample'). I get the crash logs below. Does anyone know what would be the problem? Thanks in advance for any help.
MATLAB Log File: /home/elmuhn/matlab_crash_dump.12906-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Segmentation violation detected at 2021-08-17 18:47:15 +0300
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Desktop Environment : ubuntu:GNOME
GNU C Library : 2.31 stable
Graphics Driver : Unknown hardware
Graphics card 1 : 0x10de ( 0x10de ) 0x2191 Version 470.57.2.0 (0-0-0)
Graphics card 2 : 0x1002 ( 0x1002 ) 0x1636 Version 0.0.0.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 : 7100319
MATLAB Root : /usr/local/MATLAB/R2021a
MATLAB Version : 9.10.0.1710957 (R2021a) Update 4
OpenGL : hardware
Operating System : Ubuntu 20.04.2 LTS
Process ID : 12906
Processor ID : x86 Family 143 Model 96 Stepping 1, AuthenticAMD
Session Key : aca1df22-4009-4683-b1c7-d562105bdb10
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (12011000), display :1
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 139998772467456
Register State (from fault):
RAX = 00007f5248579bd8 RBX = 00007f5204ec8570
RCX = 00007f5401196258 RDX = 00007f5204ed04c0
RSP = 00007f54011961b8 RBP = 00007f54011961d0
RSI = 00007f51f8f96ce4 RDI = 00007f5204ed04c0
R8 = 00007f51f8f96ce4 R9 = 00007f5401195e30
R10 = 00007f54b0f5c1b0 R11 = 00007f51f8f96a60
R12 = 00007f54b12f1c10 R13 = 00007f5401198a50
R14 = 00007f5204ec9a30 R15 = 00007f5401198ab0
RIP = 00007f5248579bd8 EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f5248579bd8 /opt/ros/foxy/lib/librosbag2_storage_default_plugins.so+00146392 _ZTVN23rosbag2_storage_plugins13SqliteStorageE+00000264
[ 1] 0x00007f54b1d23c67 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwi18n.so+01191015 _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv+00000071
[ 2] 0x00007f51fa7ca571 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/../../sys/ros2/glnxa64/ros2/lib/librclcpp.so+03634545 _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev+00000039
[ 3] 0x00007f51f9372586 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/../../sys/ros2/glnxa64/ros2/lib/librosbag2.so+01275270 _ZNSt12__shared_ptrIN15rosbag2_storage18storage_interfaces18ReadWriteInterfaceELN9__gnu_cxx12_Lock_policyE2EED1Ev+00000028
[ 4] 0x00007f51f93725a2 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/../../sys/ros2/glnxa64/ros2/lib/librosbag2.so+01275298 _ZNSt10shared_ptrIN15rosbag2_storage18storage_interfaces18ReadWriteInterfaceEED2Ev+00000024
[ 5] 0x00007f51f8f96f47 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/../../sys/ros2/glnxa64/ros2/lib/librosbag2_storage.so+00909127 _ZN15rosbag2_storage22get_interface_instanceINS_18storage_interfaces18ReadWriteInterfaceELNS1_6IOFlagE0EEESt10shared_ptrIT_ES4_IN9pluginlib11ClassLoaderIS5_EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESI_+00002078
[ 6] 0x00007f51f8f9488b /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/../../sys/ros2/glnxa64/ros2/lib/librosbag2_storage.so+00899211 _ZN15rosbag2_storage18StorageFactoryImpl14open_read_onlyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_+00000211
[ 7] 0x00007f51f8f9262b /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/../../sys/ros2/glnxa64/ros2/lib/librosbag2_storage.so+00890411 _ZN15rosbag2_storage14StorageFactory14open_read_onlyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_+00000063
[ 8] 0x00007f51f9325c37 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/../../sys/ros2/glnxa64/ros2/lib/librosbag2.so+00961591 _ZN7rosbag216SequentialReader4openERKNS_14StorageOptionsERKNS_16ConverterOptionsE+00000095
[ 9] 0x00007f520c17c6b3 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/libmwros2bag_cpp.so+00177843
[ 10] 0x00007f520c17809b /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/ros/mlros2_builtins/../../../../../bin/glnxa64/libmwros2bag_cpp.so+00159899
[ 11] 0x00007f540069c1d7 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04653527
[ 12] 0x00007f540069c62e /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04654638
[ 13] 0x00007f540069e4d8 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04662488
[ 14] 0x00007f54006a54e9 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04691177
[ 15] 0x00007f540069dcc1 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04660417
[ 16] 0x00007f540069deaf /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04660911
[ 17] 0x00007f540069e780 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04663168
[ 18] 0x00007f540069e923 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04663587
[ 19] 0x00007f54007f89f8 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+06081016
[ 20] 0x00007f54007f568f /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+06067855
[ 21] 0x00007f543057471a /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+00636698
[ 22] 0x00007f54305749e1 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+00637409 _ZN18Mfh_MATLAB_fn_impl8dispatchEiPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPS1_+00000033
[ 23] 0x00007f5428dd6f64 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+11530084
[ 24] 0x00007f5428dd99e2 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+11540962
[ 25] 0x00007f5428f2428d /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+12894861
[ 26] 0x00007f5428f1958b /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+12850571
[ 27] 0x00007f5428f19629 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+12850729
[ 28] 0x00007f5428eac60d /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+12404237
[ 29] 0x00007f5428eae120 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+12411168
[ 30] 0x00007f5428978734 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06948660
[ 31] 0x00007f542897a774 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06956916
[ 32] 0x00007f5428977801 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06944769
[ 33] 0x00007f542896d785 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06903685
[ 34] 0x00007f542896dc71 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06904945
[ 35] 0x00007f542897707a /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06942842
[ 36] 0x00007f5428977176 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06943094
[ 37] 0x00007f5428aa5769 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+08181609
[ 38] 0x00007f5428aa8820 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+08194080
[ 39] 0x00007f5428cdd126 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10506534
[ 40] 0x00007f5428c88892 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10160274
[ 41] 0x00007f5428c88a60 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10160736
[ 42] 0x00007f5428c8b6f4 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10172148
[ 43] 0x00007f5428cd8e91 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10489489
[ 44] 0x00007f5428d3dd96 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10902934
[ 45] 0x00007f52b3d5781d /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/matlab_graphics_hg/../../../../bin/glnxa64/libmwstructuredoutput.so+00469021
[ 46] 0x00007f52b3d57eb7 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/matlab_graphics_hg/../../../../bin/glnxa64/libmwstructuredoutput.so+00470711
[ 47] 0x00007f52b3d3cb7c /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/matlab_graphics_hg/../../../../bin/glnxa64/libmwstructuredoutput.so+00359292
[ 48] 0x00007f52b3d3cddf /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/matlab_graphics_hg/../../../../bin/glnxa64/libmwstructuredoutput.so+00359903
[ 49] 0x00007f52b3d59e65 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/matlab_graphics_hg/../../../../bin/glnxa64/libmwstructuredoutput.so+00478821
[ 50] 0x00007f52b3d5b502 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/matlab_graphics_hg/../../../../bin/glnxa64/libmwstructuredoutput.so+00484610
[ 51] 0x00007f540069c531 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04654385
[ 52] 0x00007f540069e4d8 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04662488
[ 53] 0x00007f54006a54e9 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04691177
[ 54] 0x00007f540069bed4 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04652756
[ 55] 0x00007f540069bf34 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04652852
[ 56] 0x00007f5400734102 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+05275906
[ 57] 0x00007f54aa28197c /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos.so+00321916 _Z18omDirectCallMethodRKN4mcos15COSInternedBaseINS_8internal13IdEmptyPolicyEEES5_S5_iPP11mxArray_tagiPPKS6_+00000076
[ 58] 0x00007f5422e9beac /usr/local/MATLAB/R2021a/bin/glnxa64/libmwlxeindexing.so+01388204
[ 59] 0x00007f5422f54a04 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwlxeindexing.so+02144772
[ 60] 0x00007f5422eb48f6 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwlxeindexing.so+01489142
[ 61] 0x00007f5422eb48f6 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwlxeindexing.so+01489142
[ 62] 0x00007f5422ed4432 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwlxeindexing.so+01618994 _ZN9MathWorks3lxe36DereferenceRplaceToXvalueZeroOutputsERKNS_3utl10attach_ptrIKNS0_7IRplaceEEE+00000034
[ 63] 0x00007f5422e77696 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwlxeindexing.so+01238678 _ZN9MathWorks3lxe10at_rparen0EPvNS_2ts4TypeEPKvS1_S1_+00000358
[ 64] 0x00007f5428eac60d /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+12404237
[ 65] 0x00007f5428eae4e0 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+12412128
[ 66] 0x00007f5428978734 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06948660
[ 67] 0x00007f542897a774 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06956916
[ 68] 0x00007f5428977801 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06944769
[ 69] 0x00007f542896d785 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06903685
[ 70] 0x00007f542896dc71 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06904945
[ 71] 0x00007f542897707a /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06942842
[ 72] 0x00007f5428977176 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+06943094
[ 73] 0x00007f5428aa5769 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+08181609
[ 74] 0x00007f5428aa8820 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+08194080
[ 75] 0x00007f5428cdd126 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10506534
[ 76] 0x00007f5428dc57fa /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+11458554
[ 77] 0x00007f5428dc5e15 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+11460117
[ 78] 0x00007f54305fd1b3 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+01196467 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000179
[ 79] 0x00007f54305ff4b2 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+01205426 _ZN8Mfh_file8dispatchEiPP11mxArray_tagiS2_+00000306
[ 80] 0x00007f5400723dbd /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+05209533
[ 81] 0x00007f540069e25f /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04661855
[ 82] 0x00007f540069e3fc /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04662268
[ 83] 0x00007f54006a54e9 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04691177
[ 84] 0x00007f540069bfc5 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+04652997
[ 85] 0x00007f540073400a /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+05275658
[ 86] 0x00007f54007f888c /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+06080652
[ 87] 0x00007f54007f5712 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+06067986
[ 88] 0x00007f54305742da /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+00635610 _ZN18Mfh_MATLAB_fn_impl19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000266
[ 89] 0x00007f5428f41d7e /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+13016446
[ 90] 0x00007f5428c82349 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10134345
[ 91] 0x00007f5428d2b7a1 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10827681
[ 92] 0x00007f52b3d4b247 /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/matlab_graphics_hg/../../../../bin/glnxa64/libmwstructuredoutput.so+00418375 _Z15executionPortaliPP11mxArray_tagiS1_+00000103
[ 93] 0x00007f54300212e2 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwbuiltin.so+00062178 _ZNK9MathWorks7builtin10BuiltinFcn6invokeEiPP11mxArray_tagiS4_+00000082
[ 94] 0x00007f5430592813 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+00759827
[ 95] 0x00007f5430573fea /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+00634858 _ZN18Mfh_MATLAB_fn_impl8dispatchEiPP11mxArray_tagiS2_+00000266
[ 96] 0x00007f54007e1909 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcos_impl.so+05986569
[ 97] 0x00007f54305f6a1c /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+01169948 _Z21mdBuiltinAsBuiltinFcniPP11mxArray_tagiS1_+00000284
[ 98] 0x00007f54300212e2 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwbuiltin.so+00062178 _ZNK9MathWorks7builtin10BuiltinFcn6invokeEiPP11mxArray_tagiS4_+00000082
[ 99] 0x00007f5430592813 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+00759827
[100] 0x00007f54305742da /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_dispatcher.so+00635610 _ZN18Mfh_MATLAB_fn_impl19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000266
[101] 0x00007f5428f41d7e /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+13016446
[102] 0x00007f5428c82349 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10134345
[103] 0x00007f5428c824a8 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10134696
[104] 0x00007f5428d2b821 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10827809
[105] 0x00007f5428d2c376 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_lxe.so+10830710
[106] 0x00007f543032ff70 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwm_interpreter.so+01408880 _Z44inCallFcnWithTrapInDesiredWSAndPublishEventsiPP11mxArray_tagiS1_PKcbP15inWorkSpace_tag+00000080
[107] 0x00007f54581662b9 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwiqm.so+00893625 _ZN3iqm15BaseFEvalPlugin7executeEP15inWorkSpace_tag+00000633
[108] 0x00007f543073e7b1 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcr.so+00927665
[109] 0x00007f545815487d /usr/local/MATLAB/R2021a/bin/glnxa64/libmwiqm.so+00821373
[110] 0x00007f54581245f3 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwiqm.so+00624115
[111] 0x00007f5458059242 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwbridge.so+00295490
[112] 0x00007f5458059b73 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwbridge.so+00297843
[113] 0x00007f545805ff86 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwbridge.so+00323462 _Z22mnGetCommandLineBufferbRbN7mwboost8optionalIKP15inWorkSpace_tagEEbRKNS0_9function2IN6mlutil14cmddistributor17inExecutionStatusERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEES4_EE+00000230
[114] 0x00007f545806022a /usr/local/MATLAB/R2021a/bin/glnxa64/libmwbridge.so+00324138 _Z8mnParserv+00000490
[115] 0x00007f5430741207 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcr.so+00938503
[116] 0x00007f54b1abfb80 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmvm.so+02796416 _ZNK7mwboost9function0IvEclEv+00000032
[117] 0x00007f54b1ac7840 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmvm.so+02828352 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000048
[118] 0x00007f54b1ac78e8 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmvm.so+02828520 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[119] 0x00007f5458173b0b /usr/local/MATLAB/R2021a/bin/glnxa64/libmwiqm.so+00949003 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000091
[120] 0x00007f543073ec25 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcr.so+00928805
[121] 0x00007f545815487d /usr/local/MATLAB/R2021a/bin/glnxa64/libmwiqm.so+00821373
[122] 0x00007f5458122971 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwiqm.so+00616817
[123] 0x00007f54581234a6 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwiqm.so+00619686
[124] 0x00007f5430729ece /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcr.so+00843470
[125] 0x00007f543072a575 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcr.so+00845173
[126] 0x00007f543072a742 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwmcr.so+00845634
[127] 0x00007f54b04e08a7 /usr/local/MATLAB/R2021a/bin/glnxa64/libmwboost_thread.so.1.72.0+00063655

채택된 답변

Cam Salzberger
Cam Salzberger 2021년 8월 17일
Hello Nurullah,
/opt/ros/foxy/lib/librosbag2_storage_default_plugins.so
This indicates it's using your ROS 2 Foxy library on your system, not the ROS 2 Dashing library that ships with MATLAB. Ensure that you have not sourced your ROS 2 Foxy setup in the terminal (or in .bashrc) before starting MATLAB. Otherwise you get pollution of the environment variables (e.g. PATH, LD_LIBRARY_PATH, AMENT_PREFIX_PATH, etc.) that can cause library conflicts while using ROS or ROS 2 in MATLAB.
-Cam
  댓글 수: 1
Nurullah Gulmus
Nurullah Gulmus 2021년 8월 17일
Yes, your solution worked quite well. Thank you so much Cam!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Specialized Messages에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by