Bug #1639

Exception when configuring non-available transport

Added by Anonymous almost 11 years ago. Updated over 10 years ago.

Status:ResolvedStart date:10/01/2013
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:cca0.5

Description

terminate called after throwing an instance of 'rsc::runtime::NoSuchObject'
  what():  spread

Program received signal SIGABRT, Aborted.
0x00007ffff5f77425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff5f77425 in __GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff5f7ab8b in __GI_abort () at abort.c:91
#2  0x00007ffff65cd69d in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff65cb846 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff65cb873 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff65cb96e in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff5c915c0 in rsb::transport::isRemote (transportName=...)
    at /home/jenkins/workspace/rsb-cpp-master-toolkit-nightly/label/ubuntu_precise_64bit_techfak/src/rsb/transport/transports.cpp:176
#7  0x00007ffff73e7065 in cca::PortConfiguration::PortConfiguration (this=0x67b210, scp=..., 
    loc=<optimized out>, rem=<optimized out>, qsize=<optimized out>, keepl=<optimized out>)
    at /home/jenkins/workspace/cca-trunk-toolkit-nightly/label/ubuntu_precise_64bit_techfak/src/cca/port/PortConfiguration.cpp:190
#8  0x00007ffff73e765f in cca::PortConfiguration::REMOTE (scope=..., qsize=1, keepl=true)
    at /home/jenkins/workspace/cca-trunk-toolkit-nightly/label/ubuntu_precise_64bit_techfak/src/cca/port/PortConfiguration.cpp:68
#9  0x000000000042ae8b in main (argc=1, argv=0x7fffffffe318)
    at /homes/dseidel/cor-lab/dev/PathPlanning/bin/runGraphLearningComponent.cpp:145

Associated revisions

Revision 722
Added by anordman almost 11 years ago

Only consider available transports for port config

  • When enabling and disabling transports for ports to ensure localness or remoteness, only consider actually available transports
  • Depending on recent API change in rsb 0.10 to check transport for availability

fixes #1639

Revision 723
Added by anordman almost 11 years ago

Missing namespace usage, refs #1639

History

#1 Updated by Anonymous almost 11 years ago

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

Applied in changeset r722.

#2 Updated by C. Emmerich over 10 years ago

  • Status changed from Resolved to Feedback
  • % Done changed from 100 to 80

The same issue is present also in cca-0.4. Can we backport this solution to cca-0.4?

#3 Updated by Anonymous over 10 years ago

  • Status changed from Feedback to Resolved

Unfortunately, this can't be done easily as this fix heavily depends on features that were introduced in rsb 0.10.

#4 Updated by Anonymous over 10 years ago

  • % Done changed from 80 to 100

Also available in: Atom PDF