carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.1k stars 3.57k forks source link

Permission denied [system:13 at ../boost-1.80.0-c8-install/include/boost/asio/detail/reactive_socket_service.hpp:161] Malloc error #7917

Open SExpert12 opened 2 months ago

SExpert12 commented 2 months ago

CARLA version:0.9.14 Platform/OS:Ubuntu Problem you have experienced:Exception thrown: bind: Permission denied [system:13 at ../boost-1.80.0-c8-install/include/boost/asio/detail/reactive_socket_service.hpp:161] What you expected to happen:Resolve this issue Steps to reproduce: Run this file: https://github.com/praveen-palanisamy/macad-agents/blob/master/src/macad_agents/baseline_agent.py Hi, I am working on Multi-agent reinforcement learning in CARLA and I am trying to run this file.

https://github.com/praveen-palanisamy/macad-agents/blob/master/src/macad_agents/baseline_agent.py

But I got this error: Initializing new Carla server... Running simulation in single-GPU mode LowLevelFatalError [File:Unknown] [Line: 136] Exception thrown: bind: Permission denied [system:13 at ../boost-1.80.0-c8-install/include/boost/asio/detail/reactive_socket_service.hpp:161] Signal 11 caught. Malloc Size=65538 LargeMemoryPoolOffset=65554 Malloc Size=131160 LargeMemoryPoolOffset=196744 Malloc Size=131160 LargeMemoryPoolOffset=327928 Segmentation fault (core dumped)

Server got started and crashed suddenly. How to resolve this.

Apart from this file server is working fine.

PatrickPromitzer commented 1 month ago

Hi, try to run

sudo chmod 755 /path/to/carla

to make sure the permissions are right.

If that didn't work, you can look if the default Carla ports are used.

sudo lsof -i:2000
sudo lsof -i:2001
sudo lsof -i:2002