-
Notifications
You must be signed in to change notification settings - Fork 79
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
Rviz crashing while trying to create target #110
Comments
Found the issue : Opencv version conflict, as described here : Couldn't make it work with my opencv source build, so I uninstalled it, build moveit and reinstalled. Seems to work. |
@VictorGiraud glad things worked out for you. Would you like to close the issue? |
I think so, although it might need a fix or a compilation warning, this is some really niche case. |
-11 means it is segfaulting. Can you get a stack trace? |
Hi @tylerjw , I tried looking through all the log files to get some clue about this, but there's no file by this name "rviz_Whisler_196549_2156718789477154300-10*.log" that shows up in this error. I tried to generate it multiple times, but in vain. I tried running it in gdb, but then the rviz gui won't open, defeating the whole purpose. I also tried obtaining core dumps as mentioned here, but I don't see any /home/.ros/core files or folders. Kindly help. |
Here are some better instructions for getting back traces: https://navigation.ros.org/tutorials/docs/get_backtrace.html The reason you are not getting core dumps is you probably haven't enabled them. You can do that with this command:
|
@tylerjw , I was finally able to get some backtrace with gdb. This is right after it crashes: [ INFO] [1658266903.771406838]: handeye calibration gui created. Thread 1 "rviz" received signal SIGSEGV, Segmentation fault. |
@tylerjw it works now!! :D This is the problem. The fix mentioned in that comment worked perfectly! You may close this issue, but I would suggest updating the readme or something. Thanks for all the help! :) |
Oh, cool. |
Hi @tylerjw , I have the same issue here. The rviz crashed after I selected the image topic. The different thing is my OS is ubuntu18 and it doesn't have buggy library libopenblas. And here is my backtrace with gdb. [ INFO] [1661477281.364112049]: Set target real dimensions: [tcsetpgrp failed in terminal_inferior: Invalid argument] Thread 1 "rviz" received signal SIGSEGV, Segmentation fault. Any advice would be appreciated! |
Hey did anyone solve this issue by any chance ? |
@Vaibhav1196 , check my comment above: |
@prasuchit I tried that solution to upgrade openblas to 0.3.9, unfortunately rviz keeps crashing as soon as i give the image topic :( |
Rviz crash when I try to create targets.
How to reproduce :
roslaunch ur10_moveit_config demo.launch
Add the handEyeCalibration of moveit_calibration gui
Either click on create target button or add an image topic
The error printed :
[rviz_softmanbot_HP_Z2_Tower_G5_Workstation_104184_6014999650425201243-4] process has died [pid 104204, exit code -11, cmd /opt/ros/noetic/lib/rviz/rviz -d /home/softmanbot/catkin_ws/src/fmauch_universal_robot/ur10_moveit_config/launch/moveit.rviz __name:=rviz_softmanbot_HP_Z2_Tower_G5_Workstation_104184_6014999650425201243 __log:=/home/softmanbot/.ros/log/e40cab08-a9b9-11ec-9038-99fad0a21714/rviz_softmanbot_HP_Z2_Tower_G5_Workstation_104184_6014999650425201243-4.log].
log file: /home/softmanbot/.ros/log/e40cab08-a9b9-11ec-9038-99fad0a21714/rviz_softmanbot_HP_Z2_Tower_G5_Workstation_104184_6014999650425201243-4*.log
I also cannot find the related log file, as described by other users here
https://answers.ros.org/question/53108/cannot-find-log-files/
I tried debugging, it seems to be the call of
board->draw(image_size, image, separation_, border_bits_)
that crashes (handeye_target_arucco.cpp, line 158)
Ubuntu 20.04 is used with Noetic. Moveit built from sources.
The text was updated successfully, but these errors were encountered: