-
Notifications
You must be signed in to change notification settings - Fork 724
-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image_view crashes #102
Comments
Not sure if it is related to #101 but please provide a link to your bag. Thx. |
The bag can be downloaded here: https://dl.dropboxusercontent.com/u/9090110/cam_tests_flight2_2014-09-04-16-46-28.bag The camera2, camera3 and camera4 are the ones which are problematic with image_view in ros indigo. |
ok, I am on Kubuntu 14.04 too and I do not get any crashes ....
The window stays gray but I get this error:
How did you record your bag ? |
Since it is a compressed video feed, you need to view it using: |
Hi, image_view image:=/camera2/image _image_transport:=compressed now works for me. Been busy lately, sorry. |
I updated to the latest versions and I still have the same problem. I am running on Xubuntu 14.04 64bit installation (all updates as of 31/october). Can the issue be reopened? |
you get the exact same backtrace ? on the same bag ? |
The backtrace is not exactly the same but very similar (only the first line changes). I tested it with camera2 on the exact same bag. Note that sometimes it is able to run, but most of the times it fails (the same command, the same bag), which indicates that it could be some race condition.
|
sorry to bother, but you do have the 1.12.11 version right ? |
hi, which version do you have ? |
I have 1.12.11 and it doesn't crash anymore when using compressed images. I guess the bug has been resolved, but the debs are not updated yet. |
cool ! Good news then. public is still on 1.12.10 indeed. |
Indeed, I still have ros-indigo-image-view 1.12.10. I will try with 1.12.11 when its out and reply |
Sorry to say, but I have installed ros-indigo-image-view 1.12.11 and I still get exactly the same output. Note that sometimes it is able to show the images, but most of the times it crashes. Try to get the bag playing first and then run the image_view node to see it happening. Can the issue be reopened? Can I do anything else to determine what can be done? |
I do not get that error anymore. The easiest would be to revert image_view to previous versions and see when the break happened. |
can you please try with trunk ? I reverted some old commits, it should work for you now. |
Ping ? |
Sorry for the late reply. I tried with version 1.12.12 and I still get a crash occasionally, but it rarely happens. Running through GDB I wasn't able to get it to crash at all, so I would leave this one closed for now. |
right. thx ! same here: even reverting to a very old image_view, I do get a crash once in a while. |
I have a bag with 4 video feeds, 1 obtained from a drone camera and 3 from a pi camera. Whenever I try to view the images using the feeds from the camera using image_view, it crashes.
Using rqt_view does not have any problem whatsoever.
Running through gdb (I compiled image_view with debug information), I get the following backtrace:
#0 0x00007ffff614054d in cv::resizeAreaFast_Invoker<unsigned char, int, cv::ResizeAreaFastVec >::operator()(cv::Range const&) const ()
from /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4
#1 0x00007ffff6617210 in ?? () from /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4
#2 0x00007fffef5ddb3a in ?? () from /usr/lib/libtbb.so.2
#3 0x00007fffef5d9816 in ?? () from /usr/lib/libtbb.so.2
#4 0x00007fffef5d8f4b in ?? () from /usr/lib/libtbb.so.2
#5 0x00007fffef5d50ff in ?? () from /usr/lib/libtbb.so.2
#6 0x00007fffef5d52f9 in ?? () from /usr/lib/libtbb.so.2
#7 0x00007ffff5dcf182 in start_thread (arg=0x7fffb2be8700) at pthread_create.c:312
#8 0x00007ffff69a6fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Funny thing though, if I run in debug mode through QtCreator, it does not crash...
I am using Kubuntu 14.04 with all updates with indigo (also fully updated) as of today, 1/oct.
Any ideas? I can share the bag I am using (~750Mb) if anyone wants to test.
Although I can use rqt_image, image_view would be much better for my needs, and it was working without any problems in ros hydro and kubuntu 12.04 (for that same bag).
The text was updated successfully, but these errors were encountered: