error running ocl deployer

Hey,

After installing RTT 2.0 and OCL 2.0, I try to run the deployer
(./deployer-gnulinux), which starts up with error messages:

"$ ./deployer-gnulinux
0.079 [ ERROR ][Logger] Unloading
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.3:
not a valid component library:
0.079 [ ERROR ][Logger]
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.3:
undefined sym1
0.128 [ ERROR ][Logger] Unloading
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2:
not a valid component library:
0.128 [ ERROR ][Logger]
os/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2: not a
valid component library:
0.130 [ ERROR ][Logger] Unloading
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.2:
not a valid component library:
0.131 [ ERROR ][Logger] ocos-rtt-mqueue-gnulinux.so.1.99.2: not a
valid component library
0.156 [ ERROR ][Logger] Unloading
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.2:
not a valid component library:
0.156 [ ERROR ][Logger]
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.2:
undefined symbol: createComponent
0.205 [ ERROR ][Logger] Unloading
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.3:
not a valid component library:
0.205 [ ERROR ][Logger]
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.3:
undefined symbol: createComponent
0.208 [ ERROR ][Logger] Unloading
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.3:
not a valid component library:
0.208 [ ERROR ][Logger]
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.3:
undefined symbol: createComponent
Switched to : Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change
variables.
(type 'help' for instructions)
TAB completion and HISTORY is available ('bash' like)

In Task Deployer[S]
(type 'ls' for context info) :quit

Segmentation fault (core dumped)"

and quits with a seg fault.

I'm using the newest version of both packages.

Any ideas?

Steven

error running ocl deployer

On Wednesday 30 June 2010 13:43:22 Steven Bellens wrote:
> Hey,
>
> After installing RTT 2.0 and OCL 2.0, I try to run the deployer
> (./deployer-gnulinux), which starts up with error messages:
>
> "$ ./deployer-gnulinux
> 0.079 [ ERROR ][Logger] Unloading
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/li
> borocos-rtt-gnulinux.so.1.99.3: not a valid component library:

You need to set your RTT_COMPONENT_PATH to

/home/steven/src/svn/robotics-
ros/install/orocos/rtt/rtt_2.0/install/lib/orocos

and not to a 'normal' lib directory. The RTT will try to load all libraries
found in these directories. In your case, some old (1.99.2) versions of the
rtt itself are loaded, and they cause crashes when loaded into the 1.99.3
version.

Peter

error running ocl deployer

On Jun 30, 2010, at 07:43 , Steven Bellens wrote:

> Hey,
>
> After installing RTT 2.0 and OCL 2.0, I try to run the deployer
> (./deployer-gnulinux), which starts up with error messages:
>
> "$ ./deployer-gnulinux
> 0.079 [ ERROR ][Logger] Unloading
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.3:
> not a valid component library:
> 0.079 [ ERROR ][Logger]
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.3:
> undefined sym1
> 0.128 [ ERROR ][Logger] Unloading
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2:
> not a valid component library:
> 0.128 [ ERROR ][Logger]
> os/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2: not a
> valid component library:
> 0.130 [ ERROR ][Logger] Unloading
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.2:
> not a valid component library:
> 0.131 [ ERROR ][Logger] ocos-rtt-mqueue-gnulinux.so.1.99.2: not a
> valid component library
> 0.156 [ ERROR ][Logger] Unloading
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.2:
> not a valid component library:
> 0.156 [ ERROR ][Logger]
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.2:
> undefined symbol: createComponent
> 0.205 [ ERROR ][Logger] Unloading
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.3:
> not a valid component library:
> 0.205 [ ERROR ][Logger]
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.3:
> undefined symbol: createComponent
> 0.208 [ ERROR ][Logger] Unloading
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.3:
> not a valid component library:
> 0.208 [ ERROR ][Logger]
> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.3:
> undefined symbol: createComponent
> Switched to : Deployer
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change
> variables.
> (type 'help' for instructions)
> TAB completion and HISTORY is available ('bash' like)
>
> In Task Deployer[S]
> (type 'ls' for context info) :quit
>
> Segmentation fault (core dumped)"
>
> and quits with a seg fault.
>
> I'm using the newest version of both packages.
>
> Any ideas?
>
> Steven

Can you provide a gdb backtrace for us?
Stephen

error running ocl deployer

2010/6/30 S Roderick <kiwi [dot] net [..] ...>:
> On Jun 30, 2010, at 07:43 , Steven Bellens wrote:
>
>> Hey,
>>
>> After installing RTT 2.0 and OCL 2.0, I try to run the deployer
>> (./deployer-gnulinux), which starts up with error messages:
>>
>> "$ ./deployer-gnulinux
>> 0.079 [ ERROR  ][Logger] Unloading
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.3:
>> not a valid component library:
>> 0.079 [ ERROR  ][Logger]
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.3:
>> undefined sym1
>> 0.128 [ ERROR  ][Logger] Unloading
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2:
>> not a valid component library:
>> 0.128 [ ERROR  ][Logger]
>> os/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2: not a
>> valid component library:
>> 0.130 [ ERROR  ][Logger] Unloading
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.2:
>> not a valid component library:
>> 0.131 [ ERROR  ][Logger] ocos-rtt-mqueue-gnulinux.so.1.99.2: not a
>> valid component library
>> 0.156 [ ERROR  ][Logger] Unloading
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.2:
>> not a valid component library:
>> 0.156 [ ERROR  ][Logger]
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.2:
>> undefined symbol: createComponent
>> 0.205 [ ERROR  ][Logger] Unloading
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.3:
>> not a valid component library:
>> 0.205 [ ERROR  ][Logger]
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-corba-gnulinux.so.1.99.3:
>> undefined symbol: createComponent
>> 0.208 [ ERROR  ][Logger] Unloading
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.3:
>> not a valid component library:
>> 0.208 [ ERROR  ][Logger]
>> /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-mqueue-gnulinux.so.1.99.3:
>> undefined symbol: createComponent
>>   Switched to : Deployer
>>
>>  This console reader allows you to browse and manipulate TaskContexts.
>>  You can type in an operation, expression, create or change
>> variables.
>>  (type 'help' for instructions)
>>    TAB completion and HISTORY is available ('bash' like)
>>
>> In Task Deployer[S]
>> (type 'ls' for context info) :quit
>>
>> Segmentation fault (core dumped)"
>>
>> and quits with a seg fault.
>>
>> I'm using the newest version of both packages.
>>
>> Any ideas?
>>
>> Steven
>
> Can you provide a gdb backtrace for us?

In Task Deployer[S]
(type 'ls' for context info) :quit

[Thread 0x7fffeb997710 (LWP 13701) exited]
[Thread 0x7ffff380f710 (LWP 13699) exited]
[Thread 0x7ffff2e0e710 (LWP 13700) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff211e753 in ?? () from
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2
(gdb) bt
#0 0x00007ffff211e753 in ?? ()
from /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/install/lib/liborocos-rtt-gnulinux.so.1.99.2
#1 0x00007ffff741b610 in
boost::detail::function::void_function_invoker0<void (*)(),
void>::invoke(boost::detail::function::function_buffer&) () from
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/lib/liborocos-rtt-gnulinux.so.1.99
#2 0x00007ffff7a21946 in boost::function0<void>::operator()() const ()
from /home/steven/src/svn/robotics-ros/install/orocos/ocl/ocl_2.0/lib/liborocos-deployment-gnulinux.so.1.99
#3 0x00007ffff73b6226 in
RTT::os::StartStopManager::caller(boost::function<void ()()>) ()
from /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/lib/liborocos-rtt-gnulinux.so.1.99
#4 0x00007ffff73b8618 in
boost::detail::function::void_function_invoker1<void
(*)(boost::function<void ()()>), void, boost::function<void ()()>
>::invoke(boost::detail::function::function_buffer&,
boost::function<void ()()>) ()
from /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/lib/liborocos-rtt-gnulinux.so.1.99
#5 0x00007ffff73b75fe in boost::function1<void, boost::function<void
()()> >::operator()(boost::function<void ()()>) const ()
from /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/lib/liborocos-rtt-gnulinux.so.1.99
#6 0x00007ffff73b677c in boost::function<void ()(boost::function<void
()()>)> std::for_each<std::reverse_iterator<__gnu_cxx::__normal_iterator<boost::function<void
()()>*, std::vector<boost::function<void ()()>,
std::allocator<boost::function<void ()()> > > > >,
boost::function<void ()(boost::function<void ()()>)>
>(std::reverse_iterator<__gnu_cxx::__normal_iterator<boost::function<void
()()>*, std::vector<boost::function<void ()()>,
std::allocator<boost::function<void ()()> > > > >,
std::reverse_iterator<__gnu_cxx::__normal_iterator<boost::function<void
()()>*, std::vector<boost::function<void ()()>,
std::allocator<boost::function<void ()()> > > > >,
boost::function<void ()(boost::function<void ()()>)>) () from
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/lib/liborocos-rtt-gnulinux.so.1.99
#7 0x00007ffff73b6001 in RTT::os::StartStopManager::stop() ()
from /home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/lib/liborocos-rtt-gnulinux.so.1.99
#8 0x00007ffff73b4ed6 in __os_exit() () from
/home/steven/src/svn/robotics-ros/install/orocos/rtt/rtt_2.0/lib/liborocos-rtt-gnulinux.so.1.99
#9 0x0000000000418312 in main ()

Steven

> Stephen
>
>