Re: question about "C++ usage example for RGB-D Mapping"
Posted by
TouchDeeper on
URL: http://official-rtab-map-forum.206.s1.nabble.com/question-about-C-usage-example-for-RGB-D-Mapping-tp5636p5690.html
Hi, matlabbe
After the first run, I run the example using
gdb --args ./rgbd_mapping 8
And the output is below:
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./rgbd_mapping...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/wang/CLionProjects/rtabmap/example/cmake-build-debug/rgbd_mapping 8
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffb2872700 (LWP 5725)]
[New Thread 0x7fffb2071700 (LWP 5726)]
[New Thread 0x7fffb1870700 (LWP 5727)]
[New Thread 0x7fffb106f700 (LWP 5728)]
[New Thread 0x7fffb086e700 (LWP 5729)]
[New Thread 0x7fffb006d700 (LWP 5730)]
[New Thread 0x7fffaf86c700 (LWP 5731)]
[Thread 0x7fffaf86c700 (LWP 5731) exited]
[New Thread 0x7fffaf86c700 (LWP 5732)]
[New Thread 0x7fffaf06b700 (LWP 5733)]
[New Thread 0x7fffae86a700 (LWP 5734)]
[New Thread 0x7fffae069700 (LWP 5735)]
[New Thread 0x7fffad868700 (LWP 5736)]
[New Thread 0x7fffad067700 (LWP 5737)]
terminate called after throwing an instance of 'rs2::invalid_value_error'
what(): set_xu(id=2) failed! Last Error: Input/output error
Thread 1 "rgbd_mapping" received signal SIGABRT, Aborted.
0x00007ffff1413428 in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff1413428 in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff141502a in __GI_abort () at abort.c:89
#2 0x00007ffff1a4d84d in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff1a4b6b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff1a4b701 in std::terminate() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff1a4b919 in __cxa_throw ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff76fa878 in rs2::error::handle(rs2_error*) ()
from /home/wang/rtabmap_ws/devel/lib/librtabmap_core.so.0.19
#7 0x00007ffff76f5181 in rtabmap::CameraRealSense2::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
from /home/wang/rtabmap_ws/devel/lib/librtabmap_core.so.0.19
#8 0x000000000045a89c in main ()
(gdb)