ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hey guys,
I'm actually trying to get this running myself. I'm able to compile an mex (with ros::init call) file with MacOS, as well as Ubuntu. Unfortunatley I get a segfault with both.
It looks like a boost version problem to me, so I'll try to play around with this a little.
Here my trace:
------------------------------------------------------------------------
Segmentation violation detected at Fri Jan 13 19:31:53 2012
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Current Visual : None
Default Encoding: US-ASCII
MATLAB Root : /Applications/MATLAB_R2011b.app
MATLAB Version : 7.13.0.564 (R2011b)
Operating System: Darwin 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
Processor ID : x86 Family 6 Model 15 Stepping 11, GenuineIntel
Virtual Machine : Java 1.6.0_29-b11-402-11M3527 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 000000011cdaffa5 RBX = 000000010a9e1600
RCX = 000000010280d6c5 RDX = 000000010280d6c0
RSP = 0000000000000002 RBP = 0000000106c53268
RSI = 00007fff8ae9302f RDI = 00000001323eabe0
R8 = 0000000000000000 R9 = 0000000000000018
R10 = 0000000106c52a00 R11 = 0000000000000000
R12 = 000000010280d6c5 R13 = 000000010280d6c0
R14 = 00000001323eaa90 R15 = 0000000000daffa5
RIP = 000000010a9e1390 RFL = 000000010275e826
CS = 0000000106c53278 FS = 0000000000000002 GS = 0000000006c4f000
Stack Trace (from fault):
[ 0] 0x000000010014f6b6 /Applications/MATLAB_R2011b.app/bin/maci64/libmwfl.dylib+00042678 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+000150
[ 1] 0x000000010015038c /Applications/MATLAB_R2011b.app/bin/maci64/libmwfl.dylib+00045964 fl_diag_terminate+000396
[ 2] 0x0000000100151c1e /Applications/MATLAB_R2011b.app/bin/maci64/libmwfl.dylib+00052254 _ZN2fl4diag13terminate_logEPKcRKNS0_14thread_contextEb+000158
[ 3] 0x00000001007ae853 /Applications/MATLAB_R2011b.app/bin/maci64/libmwmcr.dylib+00305235 mnSigInitCallbacks+000371
[ 4] 0x00000001007afe14 /Applications/MATLAB_R2011b.app/bin/maci64/libmwmcr.dylib+00310804 _Z32mnRunPathDependentInitializationv+002116
[ 5] 0x00000001007b01d8 /Applications/MATLAB_R2011b.app/bin/maci64/libmwmcr.dylib+00311768 _Z32mnRunPathDependentInitializationv+003080
[ 6] 0x00000001007b0863 /Applications/MATLAB_R2011b.app/bin/maci64/libmwmcr.dylib+00313443 _Z32mnRunPathDependentInitializationv+004755
[ 7] 0x00000001007b1505 /Applications/MATLAB_R2011b.app/bin/maci64/libmwmcr.dylib+00316677 mnFatalSignalHandler+000149
[ 8] 0x00007fff8aecacfa /usr/lib/system/libsystem_c.dylib+00666874 _sigtramp+000026
[ 9] 0x00007fff8aec8789 /usr/lib/system/libsystem_c.dylib+00657289 free+000194
[ 10] 0x0000000132cdcb51 /opt/local/lib/libboost_regex-mt.dylib+00301905 _ZN5boost9re_detail26basic_regex_implementationIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE6assignEPKcS8_j+000365
[ 11] 0x0000000132cd1ff7 /opt/local/lib/libboost_regex-mt.dylib+00258039 _ZN5boost11basic_regexIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE9do_assignEPKcS7_j+000437
[ 12] 0x000000011cda96e4 /Users/mriedel/ros/ros_comm/tools/rosconsole/lib/librosconsole.dylib+00067300 _ZN3ros7console9Formatter4initEPKc+000116
[ 13] 0x000000011cd9df58 /Users/mriedel/ros/ros_comm/tools/rosconsole/lib/librosconsole.dylib+00020312 _ZN3ros7console13do_initializeEv+000296
[ 14] 0x000000011cd9e5b5 /Users/mriedel/ros/ros_comm/tools/rosconsole/lib/librosconsole.dylib+00021941 _ZN3ros7console10initializeEv+000085
[ 15] 0x000000011cdaee1e /Users/mriedel/ros/ros_comm/tools/rosconsole/lib/librosconsole.dylib+00089630 _Z41__static_initialization_and_destruction_0ii+001950
[ 16] 0x00007fff6aec9d1a /Users/mriedel/ros/ros_comm/tools/rosconsole/lib/librosconsole.dylib+140730208292122