-
Notifications
You must be signed in to change notification settings - Fork 67
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
seg fault #10
Comments
Hi - this library is ROS independent. Please, take a look and try to run the script demo.sh to find out, if the problem is related to the library or the ROS implementation. From this error output I can not tell anything. |
I think my issue is that my cmake could not find the module config file for but_velodyne_lib. Quick question, how do you let cmake look for the but_velodyne_lib module config file, suppose I have compiled the but_velodyne_lib at my home directory? Thanks a lot. |
Nope
try backtrace on gdb |
This is what I get after I entered backtrace on gdb: Any idea what went wrong? Thanks! |
Dear All,
I managed to compile the but_velodyne_lib and but_velodyne_ros based on #3
Now I am trying to test the program and I got a seg fault. I also run the program with gdb (rosrun --prefix 'gdb -ex run --args' but_velodyne_ros but_velodyne_ros_node ) and I got the output as shown below. Is there anything I did wrongly? Thanks a lot for the help!
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/vc1/catkin_ws/devel/lib/but_velodyne_ros/but_velodyne_ros_node...(no debugging symbols found)...done.
Starting program: /home/vc1/catkin_ws/devel/lib/but_velodyne_ros/but_velodyne_ros_node
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
Program received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:241
241 ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S: No such file or directory.
(gdb) continue
Continuing.
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
The text was updated successfully, but these errors were encountered: