http://bugs.orocos.org/show_bug.cgi?id=1046
Summary: OSX 10.8, boost 1.54, apple-gcc-4.2 RTT main-test
FAILS
Product: Toolchain
Version: master
Platform: Intel 64bit
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
As described above, in this combination the main-test segfaults. The backtrace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010006073f in boost::function0<int>::operator() () at
/opt/local/include/boost/function/function_template.hpp:766
766 return get_vtable()->invoker
(gdb) bt
#0 0x000000010006073f in boost::function0<int>::operator() () at
/opt/local/include/boost/function/function_template.hpp:766
#1 0x000000010006073f in RTT::os::StartStopManager::res_collector
(this=0x100503df0, f=<value temporarily unavailable, due to optimizations>) at
function_template.hpp:103
#2 0x0000000100060ed0 in boost::function0<int>::clear () at stl_function.h:656
#3 boost::function<int ()()>::~function () at
/opt/local/include/boost/function/function_template.hpp:759
#4 0x0000000100060ed0 in std::mem_fun1_t<void, RTT::os::StartStopManager,
boost::function
optimizations>, __x=<value temporarily unavailable, due to optimizations>) at
function_template.hpp:103
#5 0x0000000100060dda in boost::function0<int>::clear () at stl_function.h:412
#6 boost::function<int ()()>::~function () at
/opt/local/include/boost/function/function_template.hpp:759
#7 0x0000000100060dda in std::binder1st<std::mem_fun1_t
temporarily unavailable, due to optimizations>) at function_template.hpp:103
#8 0x0000000100060c39 in boost::function0<int>::clear () at
function_template.hpp:766
#9 boost::function<int ()()>::~function () at
/opt/local/include/boost/function/function_template.hpp:759
#10 0x0000000100060c39 in boost::function1<void, boost::function
a0=<value temporarily unavailable, due to optimizations>) at
function_template.hpp:103
#11 0x0000000100060644 in
std::for_each<__gnu_cxx::__normal_iterator<boost::function
#12 0x0000000100060120 in boost::function1<void, boost::function
/Users/vm/orocos_ws/src/orocos_toolchain/rtt/rtt/os/StartStopManager.cpp:78
#13 boost::function<void ()(boost::function
#14 0x0000000100060120 in RTT::os::StartStopManager::start (this=0x100503df0)
at function_template.hpp:103
#15 0x000000010005f854 in __os_init (argc=<value temporarily unavailable, due
to optimizations>, argv=<value temporarily unavailable, due to optimizations>)
at /Users/vm/orocos_ws/src/orocos_toolchain/rtt/rtt/os/startstop.cpp:88
#16 0x0000000100002a22 in std::string::_M_data () at
/Users/vm/orocos_ws/src/orocos_toolchain/rtt/tests/test-main.cpp:23
Ruben
[Bug 1046] OSX 10.8, boost 1.54, apple-gcc-4.2 RTT main-test FAI
http://bugs.orocos.org/show_bug.cgi?id=1046
Ruben Smits <ruben [dot] smits [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
[Bug 1046] OSX 10.8, boost 1.54, apple-gcc-4.2 RTT main-test FAI
http://bugs.orocos.org/show_bug.cgi?id=1046