ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Node crashes

asked 2014-11-02 23:43:33 -0600

kost9 gravatar image

updated 2014-11-04 02:45:44 -0600

Hi, ROS community. I need your help! So I was trying to run the ira_laser_tools https://github.com/iralabdisco/ira_la... package on my robot computer (kuka youbot with ubuntu 12.04 32-bit and HYDRO ROS) but it just keeps crashing. However on my PC (with ubuntu 12.04 64-bit and HYDRO ROS) it runs well and works as a part of my project. When I compiled this package with catkin_make on the robot I noticed some warnings like:

/home/youbot/catkin_ws/src/ira_laser_tools-master/src/laserscan_multi_merger.cpp: In member function ‘void LaserscanMerger::laserscan_topic_parser()’: /home/youbot/catkin_ws/src/ira_laser_tools-master/src/laserscan_multi_merger.cpp:113:13: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘std::vector<ros::subscriber>::size_type {aka unsigned int}’ [-Wformat] /home/youbot/catkin_ws/src/ira_laser_tools-master/src/laserscan_virtualizer.cpp: In member function ‘void LaserscanVirtualizer::virtual_laser_scan_parser()’: /home/youbot/catkin_ws/src/ira_laser_tools-master/src/laserscan_virtualizer.cpp:109:13: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘std::vector<ros::publisher>::size_type {aka unsigned int}’ [-Wformat]

Running just one laserscan_multi_merger node of this package gives me next error:

[laserscan_multi_merger-1] process has died [pid 16008, exit code -11, cmd /home/youbot/catkin_ws/devel/lib/ira_laser_tools/laserscan_multi_merger __name:=laserscan_multi_merger __log:=/home/youbot/.ros/log/6a789f88-6310-11e4-9d7c-000bab4510aa/laserscan_multi_merger-1.log].
log file: /home/youbot/.ros/log/6a789f88-6310-11e4-9d7c-000bab4510aa/laserscan_multi_merger-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

ALSO THIS FILE IS NONEXISTENT: /home/youbot/.ros/log/6a789f88-6310-11e4-9d7c-000bab4510aa/laserscan_multi_merger-1*.log. SO I CAN'T EVEN FIND THE LOG FILE TO DEBUG

rosrun ira_laser_tools laserscan_multi_merger gives me this:

laserscan_multi_merger: malloc.c:2451: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted (core dumped)

Anyone know what the problem is?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2014-11-03 01:10:29 -0600

Wolf gravatar image

exit code -11 is a segmentation fault; This should not happen in a package if you didn't change any code and "just" used it (regardless "how" you used it)... I think you should report this as an issue on the github repo you mentioned (maybe add log files, complete output, exact launch command or whatever information you have that might help reproducing/resolving this )....

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-11-02 23:43:33 -0600

Seen: 2,121 times

Last updated: Nov 04 '14