Closed farshbafdoustar closed 5 years ago
[ INFO] [1568108363.853125526]: Opening map motoman_mh5_r1.1_reachability.h5 stack smashing detected : /home/abc/catkin_ws/devel/lib/map_creator/load_reachability_map terminated Aborted (core dumped)
It seams that it is related to the full path length during the file opening in hdf5_dataset.cpp
bool Hdf5Dataset::open() { const char* filepath = this->path_.c_str(); const char* name = this->filename_.c_str(); char fullpath[100]; strcpy(fullpath, filepath); strcat(fullpath, name); ROS_INFO("Opening map %s", this->filename_.c_str());
when the path is more than 100 chars this happens. I will update the source code and make a pull request
[ INFO] [1568108363.853125526]: Opening map motoman_mh5_r1.1_reachability.h5 stack smashing detected : /home/abc/catkin_ws/devel/lib/map_creator/load_reachability_map terminated Aborted (core dumped)
It seams that it is related to the full path length during the file opening in hdf5_dataset.cpp
when the path is more than 100 chars this happens. I will update the source code and make a pull request