Skip to content
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

libgcc_s.so.1 must be installed for pthread_cancel to work #745

Open
Shi-Mingyang opened this issue Oct 29, 2024 · 0 comments
Open

libgcc_s.so.1 must be installed for pthread_cancel to work #745

Shi-Mingyang opened this issue Oct 29, 2024 · 0 comments

Comments

@Shi-Mingyang
Copy link

I'm using conda env to test the 'roslaunch carla_ros_bridge carla_ros_bridge_with_example_ego_vehicle.launch town:='town01'
the error is as fllows:

VG-TARE) yang@yang-scut:~/cpp_ws_smy/VG-TARE/carla-ros-bridge_ws/src$ roslaunch carla_ros_bridge carla_ros_bridge_with_example_ego_vehicle.launch town:='town01'
... logging to /home/yang/.ros/log/eafa141e-959d-11ef-a582-d0ad0851d3b9/roslaunch-yang-scut-22934.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://yang-scut:34491/

SUMMARY
========

PARAMETERS
 * /carla_manual_control_ego_vehicle/role_name: ego_vehicle
 * /carla_ros_bridge/ego_vehicle_role_name: ["hero", "ego_veh...
 * /carla_ros_bridge/fixed_delta_seconds: 0.05
 * /carla_ros_bridge/host: localhost
 * /carla_ros_bridge/passive: 
 * /carla_ros_bridge/port: 2000
 * /carla_ros_bridge/register_all_sensors: True
 * /carla_ros_bridge/synchronous_mode: True
 * /carla_ros_bridge/synchronous_mode_wait_for_vehicle_control_command: False
 * /carla_ros_bridge/timeout: 10
 * /carla_ros_bridge/town: town01
 * /carla_spawn_objects_yang_scut_22934_8525560342637655170/objects_definition_file: /home/yang/cpp_ws...
 * /carla_spawn_objects_yang_scut_22934_8525560342637655170/spawn_point_ego_vehicle: 
 * /carla_spawn_objects_yang_scut_22934_8525560342637655170/spawn_sensors_only: False
 * /rosdistro: melodic
 * /rosversion: 1.14.13
 * /set_initial_pose_ego_vehicle/control_id: control
 * /set_initial_pose_ego_vehicle/role_name: ego_vehicle
 * /use_sim_time: True

NODES
  /
    carla_manual_control_ego_vehicle (carla_manual_control/carla_manual_control.py)
    carla_ros_bridge (carla_ros_bridge/bridge.py)
    carla_spawn_objects_yang_scut_22934_8525560342637655170 (carla_spawn_objects/carla_spawn_objects.py)
    set_initial_pose_ego_vehicle (carla_spawn_objects/set_initial_pose.py)

auto-starting new master
process[master]: started with pid [22963]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to eafa141e-959d-11ef-a582-d0ad0851d3b9
process[rosout-1]: started with pid [22993]
started core service [/rosout]
process[carla_ros_bridge-2]: started with pid [22997]
process[carla_spawn_objects_yang_scut_22934_8525560342637655170-3]: started with pid [23001]
process[set_initial_pose_ego_vehicle-4]: started with pid [23002]
process[carla_manual_control_ego_vehicle-5]: started with pid [23003]
pygame 2.6.1 (SDL 2.28.4, Python 3.8.15)
Hello from the pygame community. https://www.pygame.org/contribute.html
[INFO] [1730169096.761034, 0.000000]: Trying to connect to localhost:2000
[INFO] [1730169096.860395, 0.000000]: Loading town 'town01' (previous: 'Carla/Maps/Town01').
libgcc_s.so.1 must be installed for pthread_cancel to work
================================================================================REQUIRED process [carla_ros_bridge-2] has died!
process has died [pid 22997, exit code -6, cmd /home/yang/cpp_ws_smy/VG-TARE/carla-ros-bridge_ws/src/ros-bridge/carla_ros_bridge/src/carla_ros_bridge/bridge.py __name:=carla_ros_bridge __log:=/home/yang/.ros/log/eafa141e-959d-11ef-a582-d0ad0851d3b9/carla_ros_bridge-2.log].
log file: /home/yang/.ros/log/eafa141e-959d-11ef-a582-d0ad0851d3b9/carla_ros_bridge-2*.log
Initiating shutdown!
================================================================================
[carla_manual_control_ego_vehicle-5] killing on exit
[set_initial_pose_ego_vehicle-4] killing on exit
[carla_spawn_objects_yang_scut_22934_8525560342637655170-3] killing on exit
[carla_ros_bridge-2] killing on exit
Traceback (most recent call last):
  File "/home/yang/cpp_ws_smy/VG-TARE/carla-ros-bridge_ws/src/ros-bridge/ros_compatibility/src/ros_compatibility/node.py", line 84, in new_client
    rospy.wait_for_service(srv_name, timeout=timeout)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 166, in wait_for_service
    raise ROSInterruptException("rospy shutdown")
rospy.exceptions.ROSInterruptException: rospy shutdown

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/yang/cpp_ws_smy/VG-TARE/carla-ros-bridge_ws/src/ros-bridge/carla_spawn_objects/src/carla_spawn_objects/carla_spawn_objects.py", line 378, in <module>
    main()
  File "/home/yang/cpp_ws_smy/VG-TARE/carla-ros-bridge_ws/src/ros-bridge/carla_spawn_objects/src/carla_spawn_objects/carla_spawn_objects.py", line 356, in main
    spawn_objects_node = CarlaSpawnObjects()
  File "/home/yang/cpp_ws_smy/VG-TARE/carla-ros-bridge_ws/src/ros-bridge/carla_spawn_objects/src/carla_spawn_objects/carla_spawn_objects.py", line 56, in __init__
    self.spawn_object_service = self.new_client(SpawnObject, "/carla/spawn_object")
  File "/home/yang/cpp_ws_smy/VG-TARE/carla-ros-bridge_ws/src/ros-bridge/ros_compatibility/src/ros_compatibility/node.py", line 89, in new_client
    raise ROSException(e)
ros_compatibility.exceptions.ROSException: rospy shutdown
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

I'm sure that the LD_LIBRARY_PATH has '/usr/lib/x86_64-linux-gnu/' and '/usr/lib' .At the same time ,the env/lib also has this 'libgcc_s.so.1 '.What should I do?
Looking for your reply. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant