Bug #1254

LWRRaveEnvironment example is not running

Added by C. Emmerich over 11 years ago. Updated about 10 years ago.

Status:ClosedStart date:11/22/2012
Priority:UrgentDue date:
Assignee:D. Seidel% Done:

100%

Category:-
Target version:-

Description

I installed openrave and liblwr-openrave in /vol/flexirob/releases/trunk succesfully, but when starting

./build/runEnvironmentTest

the following exception occurs:

Loading setup from file:        /vol/flexirob/releases/trunk/etc/liblwr-rave/lwr_vrml/kuka_lwr.robot.xml
creating environment... 0%
creating environment... 10%
[environment-core.h:786] setting pqp collision checker
[collisionPQP.h:66] creating pqp collision                                                                                                                                                   
creating environment... 20%                                                                                                                                                                  
creating environment... 90%
[plugindatabase.h:573] Failed to create name qtcoin, interface viewer
terminate called after throwing an instance of 'OpenRAVE::openrave_exception'                                                                                                                
  what():  openrave (Assert): [/homes/cemmeric/flexirob_workspace/liblwr-rave/src/lwr/LWRRaveEnvironment.cpp:40] -> void rci::lwr::LWRRaveEnvironment::setViewer(OpenRAVE::EnvironmentBasePtr, const std::string&, bool), expr: !!raveViewer                                                                                                                                              
Aborted                                     

Here is the gdb-backtrace:

#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xaede0651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xaede3a82 in *__GI_abort () at abort.c:92
#3  0xaf01552f in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#4  0xaf013465 in ?? () from /usr/lib/libstdc++.so.6
#5  0xaf0134a2 in std::terminate() () from /usr/lib/libstdc++.so.6
#6  0xaf0135e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0xb7fbc17e in boost::assertion_failed (expr=0xb7fcf69e "!!raveViewer", 
    function=0xb7fd06e0 "void rci::lwr::LWRRaveEnvironment::setViewer(OpenRAVE::EnvironmentBasePtr, const std::string&, bool)", 
    file=0xb7fcf650 "/homes/cemmeric/flexirob_workspace/liblwr-rave/src/lwr/LWRRaveEnvironment.cpp", line=40) at /vol/flexirob/releases/trunk/include/openrave-0.8/openrave/openrave.h:2685
#8  0xb7fb765f in rci::lwr::LWRRaveEnvironment::setViewer (this=0x807f4c8, penv=..., viewername=..., showViewer=true)
    at /homes/cemmeric/flexirob_workspace/liblwr-rave/src/lwr/LWRRaveEnvironment.cpp:40
#9  0xb7fc9d0d in boost::_mfi::mf3<void, rci::lwr::LWRRaveEnvironment, boost::shared_ptr<OpenRAVE::EnvironmentBase>, std::string const&, bool>::operator() (this=0x80841ac, p=0x807f4c8, 
    a1=..., a2=..., a3=true) at /usr/include/boost/bind/mem_fn_template.hpp:384
#10 0xb7fc9b7c in boost::_bi::list4<boost::_bi::value<rci::lwr::LWRRaveEnvironment*>, boost::_bi::value<boost::shared_ptr<OpenRAVE::EnvironmentBase> >, boost::_bi::value<char const*>, boost::_bi::value<bool> >::operator()<boost::_mfi::mf3<void, rci::lwr::LWRRaveEnvironment, boost::shared_ptr<OpenRAVE::EnvironmentBase>, std::string const&, bool>, boost::_bi::list0> (
    this=0x80841b4, f=..., a=...) at /usr/include/boost/bind/bind.hpp:450
#11 0xb7fc9a5e in boost::_bi::bind_t<void, boost::_mfi::mf3<void, rci::lwr::LWRRaveEnvironment, boost::shared_ptr<OpenRAVE::EnvironmentBase>, std::string const&, bool>, boost::_bi::list4<boost::_bi::value<rci::lwr::LWRRaveEnvironment*>, boost::_bi::value<boost::shared_ptr<OpenRAVE::EnvironmentBase> >, boost::_bi::value<char const*>, boost::_bi::value<bool> > >::operator() (
    this=0x80841ac) at /usr/include/boost/bind/bind_template.hpp:20
#12 0xb7fc8d48 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf3<void, rci::lwr::LWRRaveEnvironment, boost::shared_ptr<OpenRAVE::EnvironmentBase>, std::string const&, bool>, boost::_bi::list4<boost::_bi::value<rci::lwr::LWRRaveEnvironment*>, boost::_bi::value<boost::shared_ptr<OpenRAVE::EnvironmentBase> >, boost::_bi::value<char const*>, boost::_bi::value<bool> > > >::run (this=0x80840f0) at /usr/include/boost/thread/detail/thread.hpp:56
#13 0xaf21d7c5 in thread_proxy (param=0x80840f0) at libs/thread/src/pthread/thread.cpp:130
#14 0xaf10b96e in start_thread (arg=0xabac8b70) at pthread_create.c:300
#15 0xaee83a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

History

#1 Updated by D. Seidel about 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Closed because too old.

Also available in: Atom PDF