-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Python script's Segmentation fault (core dumped) #4995
Comments
I encounter the same segmentation fault, mine is when running the line world.get_random_location_from_navigation(). Also, I am using py3.9 and this issue disappear when I switch to py2.7, can anyone help? The error is: Thread 1 "python" received signal SIGSEGV, Segmentation fault. |
same here I got segmentation fault with that error #0 carla::traffic_manager::SimpleWaypoint::GetLocation (this=0x16a6030) #35 0x00000000005fb12e in _start () |
@LucianYuan Hi, I found my problem is caused by Pygame. But after I re-install the Pygame, this problem is still not fixed. I am stuck currently. Have you fixed your problem yet? Thx |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
If you are using an imported custom map, you can copy the map folder from /Content to /Content/Carla/Maps. This solves the problem for me. |
Worked for me. Just to add I am using a custom map on which I ran Here's what I did. The files/subfiles of the following folder
For example
Similarly,
Make sure you do this for all the relevant map files. |
@LucianYuan I switched to python3.8 and the problem was resolved |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
CARLA version:0.9.10.1
Platform/OS:Linux
Problem you have experienced: After run the Python script, it didn't work
Hi, I used the ubuntu 20.1 and the Carla 0.9.10.1 and because the former problem which is "No module named 'carla' "
So I set in the ./bashrc with
export CARLA_ROOT=/home/andy/Desktop/CARLA_0.9.10.1
export CARLA_SERVER=/home/andy/Desktop/CARLA_0.9.10.1/CarlaUE4.sh
export PYTHONPATH="$PYTHONPATH:/home/andy/Desktop/CARLA_0.9.10.1/PythonAPI/carla/dist/carla-0.9.10-py3.7-linux-x86_64.egg"
And after that when I want to run the manual_control.py, it just shows the 'Segmentation fault (core dumped)' in the next line and the carla server is fine. Does anyone know what happend, and thanks!
The text was updated successfully, but these errors were encountered: