openpose_ros icon indicating copy to clipboard operation
openpose_ros copied to clipboard

Unable to run after compilation

Open eraserpencil opened this issue 5 years ago • 0 comments

I followed tips from #7 to build openpose against /opt/ros/kinetic/share/OpenCV-3.3.1-dev but have been unsuccessful in running successfully.

I am building openpose with built-in caffe, cpu_only, release mode. Node dies only after I have the video stream from webcam turned on.

Here is my GDB output.

#0  0x00007ffff4b00428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff4b0202a in __GI_abort () at abort.c:89
#2  0x00007ffff513a84d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
#3  0x00007ffff51386b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff5138701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff5138919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff6f01d02 in cv::error(cv::Exception const&) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#7  0x00007ffff6f01e84 in cv::error(int, cv::String const&, char const*, char const*, int) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_core3.so.3.3
#8  0x00007ffff5672871 in cv::imshow(cv::String const&, cv::_InputArray const&) () from /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_highgui3.so.3.3
#9  0x000000000043a95e in openpose_ros::OpenPoseROSIO::display(std::shared_ptr<std::vector<std::shared_ptr<op::Datum>, std::allocator<std::shared_ptr<op::Datum> > > > const&) ()
#10 0x000000000043a355 in openpose_ros::OpenPoseROSIO::processImage(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) ()
#11 0x000000000044b88a in boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>::operator()(openpose_ros::OpenPoseROSIO*, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) const ()
#12 0x000000000044af77 in void boost::_bi::list2<boost::_bi::value<openpose_ros::OpenPoseROSIO*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>, boost::_bi::list1<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&> >(boost::_bi::type<void>, boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>&, boost::_bi::list1<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>&, int)
()
#13 0x000000000044a45b in void boost::_bi::bind_t<void, boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>, boost::_bi::list2<boost::_bi::value<openpose_ros::OpenPoseROSIO*>, boost::arg<1> > >::operator()<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) ()
#14 0x00000000004495bc in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, openpose_ros::OpenPoseROSIO, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>, boost::_bi::list2<boost::_bi::value<openpose_ros::OpenPoseROSIO*>, boost::arg<1> > >, void, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&>::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) ()
#15 0x00007fffc77c0cb9 in image_transport::RawSubscriber::internalCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, boost::function<void (boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)> const&) () from /opt/ros/kinetic/lib//libimage_transport_plugins.so
#16 0x00007ffff6a378ec in boost::detail::function::void_function_obj_invoker1<boost::function<void (boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)>, void, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const>) () from /opt/ros/kinetic/lib/libimage_transport.so
#17 0x00007fffc77c8703 in ros::SubscriptionCallbackHelperT<boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, void>::call(ros::SubscriptionCallbackHelperCallParams&) () from /opt/ros/kinetic/lib//libimage_transport_plugins.so
#18 0x00007ffff679ad8d in ros::SubscriptionQueue::call() () from /opt/ros/kinetic/lib/libroscpp.so
#19 0x00007ffff6740838 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () from /opt/ros/kinetic/lib/libroscpp.so
#20 0x00007ffff674223b in ros::CallbackQueue::callAvailable(ros::WallDuration) () from /opt/ros/kinetic/lib/libroscpp.so
#21 0x00007ffff679ee39 in ros::SingleThreadedSpinner::spin(ros::CallbackQueue*) () from /opt/ros/kinetic/lib/libroscpp.so
#22 0x00007ffff6783e9b in ros::spin() () from /opt/ros/kinetic/lib/libroscpp.so
#23 0x0000000000432351 in openPoseROS() ()

eraserpencil avatar Jul 12 '19 06:07 eraserpencil