rpng / open_vins

An open source platform for visual-inertial navigation research.
https://docs.openvins.com
GNU General Public License v3.0
2.13k stars 630 forks source link

serial reader rosbag segmentation fault munmap_chunk(): invalid pointer #208

Closed ilms123 closed 2 years ago

ilms123 commented 2 years ago

Hi, I have a problem of roslaunch. When I run "roslaunch ov_msckf pgeneva_ros_eth.launch”, the program runs well. But it failed when run "roslaunch ov_msckf pgeneva_serial_eth.launch".
The error shows 111

My Configuration information:ROS noetic \ python 3.8 (the same problem using python 2.7) \ ubuntu 20.04

Thank you ! Looking forward your reply!

WoosikLee2510 commented 2 years ago

can you try running gdb (its in the launch file) and repost the error please?

ilms123 commented 2 years ago

I try to running gdb ,it shows 微信截图_20211206105806 But when I debug it in my another computer ,it run well. It have the same configuration information:ROS noetic \ python 3.8 \ ubuntu 20.04 Is it the problem with system configuration? Do I need to reinstall Ros or ubuntu ?

goldbattle commented 2 years ago

Yeah, this looks like either it is linking to a wrong version of ROS, there is some issue with your ROS install, or the bad is corrupted. You could try reinstalling ros, rebuilding from a clean workspace, and using the subscriber node. Do you only have one version of ROS installed on your system?

ilms123 commented 2 years ago

I only have one version of ROS noetic on my system, and reinstall it correctly. I rebuild a new workspace and debug it .Subscriber node runs well ,serial node shows same error . Maybe it is the problem of compatibility of application . Weird

goldbattle commented 2 years ago

I would recommend trying with another bag, otherwise not sure if there is anything from my side to help with.

ilms123 commented 2 years ago

I will use another bag . Thanks a lot !!!