[Bug 1046] New: OSX 10.8, boost 1.54, apple-gcc-4.2 RTT main-test FAILS

Ruben Smits <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]/>
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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
   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<int ()()> >::operator() (this=<value temporarily unavailable,
due to optimizations>, __p=<value temporarily unavailable, due to
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<void,
RTT::os::StartStopManager, boost::function<int ()()> > >::operator()
(this=<value temporarily unavailable, due to optimizations>, __x=<value
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<int ()()>
>::operator() (this=<value temporarily unavailable, due to optimizations>,
a0=<value temporarily unavailable, due to optimizations>) at
function_template.hpp:103
#11 0x0000000100060644 in
std::for_each<__gnu_cxx::__normal_iterator<boost::function<int ()()>*,
std::vector<boost::function<int ()()>, std::allocator<boost::function<int ()()>
> > >, boost::function<void ()(boost::function<int ()()>)> >
(__f=@0x7fff5fbff860) at stl_algo.h:159
#12 0x0000000100060120 in boost::function1<void, boost::function<int ()()>
>::clear () at
/Users/vm/orocos_ws/src/orocos_toolchain/rtt/rtt/os/StartStopManager.cpp:78
#13 boost::function<void ()(boost::function<int ()()>)>::~function () at
/opt/local/include/boost/function/function_template.hpp:759
#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

-- 
Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.