Closed aytimothy closed 4 years ago
Hello,
I've had to upgrade ROS from
kinetic
tomelodic
due to the repositories being shut down.
Kinetic's end of life is set to April 2021. We should have one year more of it?
So, previously, on
kinetic
, I've had no problem runningvideo_stream_opencv
straight out of the box without any problems, at least for the webcam. However, come tomelodic
, it seems thatimage_view
always triggers aSIGSEGV
(segfault) and dies.
We use image_view
as a tool to visualize, but we aren't maintaining it. I can see a couple of issues in the image_pipeline
repository describing your same error:
My recommendation is to record a rosbag of the topics provided by video_stream_opencv
of short duration and check if image_view
crashes with playing the rosbag instead of the node running. (I think it should... as image_view
is just trying to show images from the ROS Image message format).
If you manage to reproduce it, reply to one of those issues (probably 498) attaching your rosbag and explaining it reproduces the problem. I'm sure the developers will be very happy to have a reproducible case.
Edit: Also, you can use rosrun rqt_image_view rqt_image_view
or Rviz and add a panel for Images to visualize the stream too :) (both have different implementations, they may and probably do work).
I've had to upgrade ROS from kinetic to melodic due to the repositories being shut down.
Kinetic's end of life is set to April 2021. We should have one year more of it?
That's what I thought too. Tried it on numerous new installations, all failed to find any packages that were for kinetic
.
Going to attempt to reproduce it now. Closing as wrong place to ask, and thanks for the pointers.
For reference, we're using the /webcam/image_compressed
for its PNG/JPEG file stream, and it seems that both died along with image_view
@aytimothy I just tried to install Kinetic (desktop_full, following the official instructions) on a Docker environment with Ubuntu 16.04 and it worked no problem. I'm actually working on a Ubuntu 16.04 system and I updated some ROS Kinetic packages just last week.
I also maintain a continuous integration build of both ROS Kinetic and Melodic over Gentoo (Prefix) and they are both building (with some hickups sometimes, but they build).
Maybe you want to copy-paste the errors you are having and I may be able to give you a hand? That said, starting a project in Melodic would be probably the best approach these days :)
If your problem is related to the compressed version of the images, you may be having problems with image_transport
. It is contained in the repo: https://github.com/ros-perception/image_common which I haven't seen any particularly interesting issue related to what you comment.
Oh, I just realized, I'm on 18.04, so that would be why Kinetic wasn't working (it's for 16.x). Oops, but unrelated to the actual issue at hand.
Should worth mentioning that when I was on kinetic
, it is indeed 16.04.
@aytimothy makes sense then!
I've had to upgrade ROS from
kinetic
tomelodic
due to the repositories being shut down. So, previously, onkinetic
, I've had no problem runningvideo_stream_opencv
straight out of the box without any problems, at least for the webcam. However, come tomelodic
, it seems thatimage_view
always triggers aSIGSEGV
(segfault) and dies.I'm not sure what is going on, because I have had my
/dev/video0
available for user read/write andcheese
seems to be able to open it fine without having the need to besudo
'd.This is the stacktrace that was outputted by the crash detector:
I don't think it's any help, but the logs files mentioned in the console output are both empty.