Bug #1250
Cannot use BaseComponents inprocess only
Status: | New | Start date: | 11/21/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | Estimated time: | 1.00 hour | |
Target version: | cca0.3 |
Description
BaseComponents are per default constructed with a remote state-input-port and remote state-output-port etc. This forbids to create BaseComponents within a "inprocess"-only rsb-configuration, since at construction time a remote port is tried to created and then the following exception occurs:
terminate called after throwing an instance of 'std::invalid_argument' what(): Remote transport requested, but no remote transport is enabled in RSB configuration.
Backtrace:
#0 0xb7fe2424 in __kernel_vsyscall () #1 0xb689b651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xb689ea82 in *__GI_abort () at abort.c:92 #3 0xb6acf52f in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6 #4 0xb6acd465 in ?? () from /usr/lib/libstdc++.so.6 #5 0xb6acd4a2 in std::terminate() () from /usr/lib/libstdc++.so.6 #6 0xb6acd5e1 in __cxa_throw () from /usr/lib/libstdc++.so.6 #7 0xb78f9ad0 in cca::PortConfiguration::PortConfiguration(std::string const&, bool, bool, unsigned int, bool) () from /vol/flexirob/releases/trunk/lib/libcca.so.0.3 #8 0xb78f8ed2 in cca::PortConfiguration::REMOTE(std::string const&, unsigned int, bool) () from /vol/flexirob/releases/trunk/lib/libcca.so.0.3 #9 0xb78e4873 in cca::BaseComponent::createStateInputPort() () from /vol/flexirob/releases/trunk/lib/libcca.so.0.3 #10 0xb78e1ee9 in cca::BaseComponent::BaseComponent(std::string const&) () from /vol/flexirob/releases/trunk/lib/libcca.so.0.3 #11 0xb7f46fd4 in Kinect2RobotCalibration (this=0x80a7d60, cname=...) at ... #12 0xb7f46e5d in flexirob::Kinect2RobotCalibration::create (cname=...) at ... #13 0x08055b9b in main (ac=1, av=0xbffff0e4) at ...
History
#1 Updated by Anonymous over 11 years ago
- Estimated time set to 1.00
Already handled / fixed in trunk (0.4). Will try to backport a ABI/API stable fix to 0.3.
#2 Updated by Anonymous over 10 years ago
- Target version set to cca0.3