Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

trying to figure out location of interrupt exit -6

I am running a two bag files one runs fine the other produces an error:

[rgbdtam-3] process has died [pid 28773, exit code -6, cmd /home/rjn/catkin_ws/devel/lib/rgbdtam/rgbdtam /camera/rgb/image_color:=/xtion/rgb/image_raw /camera/depth/image:=/xtion/depth/image_raw __name:=rgbdtam __log:=/home/rjn/.ros/log/8047b868-c1a3-11e7-9b8b-0028f87b9f9e/rgbdtam-3.log].
log file: /home/rjn/.ros/log/8047b868-c1a3-11e7-9b8b-0028f87b9f9e/rgbdtam-3*.log

The bag file producing the error has its depth image as 16UC1 and the other bag has 32FC1. I am assuming that is is what is causing the error as there are only image and depth messages in the bag files nothing else.

I tried using dbg to catch the stack trace but it does not produce one.

Does anyone know how to capture the or issue a stack trace form dbg?

thank you.

trying to figure out location of interrupt exit -6

I am running a two bag files one runs fine the other produces an error:

[rgbdtam-3] process has died [pid 28773, exit code -6, cmd /home/rjn/catkin_ws/devel/lib/rgbdtam/rgbdtam /camera/rgb/image_color:=/xtion/rgb/image_raw /camera/depth/image:=/xtion/depth/image_raw __name:=rgbdtam __log:=/home/rjn/.ros/log/8047b868-c1a3-11e7-9b8b-0028f87b9f9e/rgbdtam-3.log].
log file: /home/rjn/.ros/log/8047b868-c1a3-11e7-9b8b-0028f87b9f9e/rgbdtam-3*.log

The bag file producing the error has its depth image as 16UC1 and the other bag has 32FC1. I am assuming that is is what is causing the error as there are only image and depth messages in the bag files nothing else.

I tried using dbg to catch the stack trace but it does not produce one.

Does anyone know how to capture the or issue a stack trace form dbg?

thank you.

Here is output of gdb window. note line number reference given....thanks for help.

 V   Thread 15 "rgbdtam" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc4b4f700 (LWP 30105)]
0x00007fffed2ff428 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  0x00007fffed2ff428 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007fffed30102a in __GI_abort () at abort.c:89
#2  0x00007fffedb5b84d in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007fffedb596b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007fffedb59701 in std::terminate() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007fffedb59919 in __cxa_throw ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff6843cf2 in cv::error(cv::Exception const&) ()
   from /opt/ros/kinetic/lib/libopencv_core3.so.3.2
#7  0x00007ffff6843e83 in cv::error(int, cv::String const&, char const*, char const*, int) () from /opt/ros/kinetic/lib/libopencv_core3.so.3.2
#8  0x00007ffff68e7c9a in cv::_OutputArray::create(int, int, int, int, bool, int) const () from /opt/ros/kinetic/lib/libopencv_core3.so.3.2
#9  0x00007ffff6838eb9 in cv::Mat::copyTo(cv::_OutputArray const&) const ()
   from /opt/ros/kinetic/lib/libopencv_core3.so.3.2
#10 0x000000000047a3c0 in resize_points (points2=..., points=..., 
    reduction=<optimized out>, image_p=..., 
    kinect_initialization=kinect_initialization@entry=1, 
    limit_grad=limit_grad@entry=1)
    at /home/rjn/catkin_ws/src/rgbdtam/src/SemiDenseTracking.cpp:1899
---Type <return> to continue, or q <return> to quit---