rosbagwriter: crashes on creation
2 views (last 30 days)
Show older comments
Every time I try to make a rosbagwriter object matlab crashes.
Even if I just do:
test = rosbagwriter("test.bag")
Using Linux version in Ubuntu 20.04. Looks like it's a segfault from something ROS related... not sure how I can fix the issue? See below for crash log:
--------------------------------------------------------------------------------
Segmentation violation detected at 2022-07-18 14:49:11 -0400
--------------------------------------------------------------------------------
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 ) 0x2460 Version 510.73.8.0 (0-0-0)
Graphics card 2 : 0x8086 ( 0x8086 ) 0x46a6 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 : 749354
MATLAB Root : /usr/local/MATLAB/R2021b
MATLAB Version : 9.11.0.1769968 (R2021b)
OpenGL : hardware
Operating System : Ubuntu 20.04.4 LTS
Process ID : 34351
Processor ID : x86 Family 6 Model 154 Stepping 3, GenuineIntel
Session Key : 79baf1fa-d6c8-40fb-94b3-7cade68bdb4f
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (12013000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 140625912809216
Register State (from fault):
RAX = 00007fe60593fa60 RBX = 0000000000000048
RCX = 00007fe60593f980 RDX = 0000000000000016
RSP = 00007fe60593f960 RBP = 00007fe60593f980
RSI = 0000000000000016 RDI = 0000000000000000
R8 = 00007fe60593f930 R9 = 0000000000000067
R10 = 00007fe6efa12e1b R11 = 00007fe6efaa9270
R12 = 0000000000000000 R13 = 0000000000000002
R14 = 00007fe60593fb9c R15 = 00007fe60593fa40
RIP = 00007fe4436837b0 EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fe4436837b0 /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/ros/mlroscpp_builtins/../../../../../bin/glnxa64/libmwrosbag1_cpp.so+00440240 _ZNSt10filesystem7__cxx114pathD1Ev+00000016
[ 1] 0x00007fe4436837cc /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/ros/mlroscpp_builtins/../../../../../bin/glnxa64/libmwrosbag1_cpp.so+00440268 _ZNSt10filesystem7__cxx114pathD1Ev+00000044
[ 2] 0x00007fe4436837cc /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/ros/mlroscpp_builtins/../../../../../bin/glnxa64/libmwrosbag1_cpp.so+00440268 _ZNSt10filesystem7__cxx114pathD1Ev+00000044
[ 3] 0x00007fe443681c5e /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/ros/mlroscpp_builtins/../../../../../bin/glnxa64/libmwrosbag1_cpp.so+00433246
[ 4] 0x00007fe44367f73c /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/ros/mlroscpp_builtins/../../../../../bin/glnxa64/libmwrosbag1_cpp.so+00423740
[ 5] 0x00007fe604e4d6a7 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04601511
[ 6] 0x00007fe604e4dc0e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04602894
[ 7] 0x00007fe604e509c8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04614600
[ 8] 0x00007fe604e56c49 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04639817
[ 9] 0x00007fe604e4f271 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04608625
[ 10] 0x00007fe604e4f45f /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04609119
[ 11] 0x00007fe604e4f630 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04609584
[ 12] 0x00007fe604e4f843 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04610115
[ 13] 0x00007fe604f9e468 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05981288
[ 14] 0x00007fe604f9b7ef /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05969903
[ 15] 0x00007fe645880e1a /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00646682
[ 16] 0x00007fe6458810e1 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00647393 _ZN18Mfh_MATLAB_fn_impl8dispatchEiPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPS1_+00000033
[ 17] 0x00007fe6252e9f54 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12611412
[ 18] 0x00007fe6252ec5f2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12621298
[ 19] 0x00007fe62544626d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14037613
[ 20] 0x00007fe625437e6b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13979243
[ 21] 0x00007fe625437f09 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13979401
[ 22] 0x00007fe6253c6e6d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13516397
[ 23] 0x00007fe6253c8b10 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13523728
[ 24] 0x00007fe624e8ed40 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08043840
[ 25] 0x00007fe624e90d64 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08052068
[ 26] 0x00007fe624e8ddf1 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08039921
[ 27] 0x00007fe624e83ca5 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07998629
[ 28] 0x00007fe624e84191 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07999889
[ 29] 0x00007fe624e8d63a /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08037946
[ 30] 0x00007fe624e8d736 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038198
[ 31] 0x00007fe624fbbd7b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09276795
[ 32] 0x00007fe624fbeca0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09288864
[ 33] 0x00007fe6251ee836 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11581494
[ 34] 0x00007fe62519a7cc /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11237324
[ 35] 0x00007fe62519b48c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11240588
[ 36] 0x00007fe62523c9e4 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901412
[ 37] 0x00007fe62523cba9 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901865
[ 38] 0x00007fe678109679 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00587385
[ 39] 0x00007fe678168ed2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00978642 _ZN3iqm14UserEvalPlugin7executeEP15inWorkSpace_tag+00000642
[ 40] 0x00007fe56248952c /usr/local/MATLAB/R2021b/bin/glnxa64/libnativejmi.so+01004844 _ZN9nativejmi17JmiUserEvalPlugin7executeEP15inWorkSpace_tag+00000028
[ 41] 0x00007fe6781443af /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00828335
[ 42] 0x00007fe67814ff26 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00876326
[ 43] 0x00007fe678114706 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00632582
[ 44] 0x00007fe65805ec02 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00302082
[ 45] 0x00007fe65805f543 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00304451
[ 46] 0x00007fe6580657f2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00329714 _Z22mnGetCommandLineBufferbRbN7mwboost8optionalIKP15inWorkSpace_tagEEbRKNS0_9function2IN6mlutil14cmddistributor17inExecutionStatusERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEES4_EE+00000274
[ 47] 0x00007fe658065a92 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00330386 _Z8mnParserv+00000482
[ 48] 0x00007fe645a5d9d7 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00940503
[ 49] 0x00007fe6f0373be0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02825184 _ZNK7mwboost9function0IvEclEv+00000032
[ 50] 0x00007fe6f037b740 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02856768 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000048
[ 51] 0x00007fe6f037b7e8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02856936 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[ 52] 0x00007fe6781648bb /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00960699 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000091
[ 53] 0x00007fe645a5b695 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00931477
[ 54] 0x00007fe6781443af /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00828335
[ 55] 0x00007fe6781125bc /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00624060
[ 56] 0x00007fe678113050 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00626768
[ 57] 0x00007fe645a45ace /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00842446
[ 58] 0x00007fe645a460ec /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00844012
[ 59] 0x00007fe645a46362 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00844642
[ 60] 0x00007fe6ef1588a7 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwboost_thread.so.1.72.0+00063655
[ 61] 0x00007fe6efbc7609 /lib/x86_64-linux-gnu/libpthread.so.0+00034313
[ 62] 0x00007fe6ef8ed133 /lib/x86_64-linux-gnu/libc.so.6+01175859 clone+00000067
0 Comments
Answers (1)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!