The environment exits with a segmentation fault that occurs after n timesteps. This is an indeterministic number failing within even 2000 timesteps and as late as never as seen.
The following has been observed.
- It is seen to fail faster in python 3.8.16 (environment.yml) as compared to 3.7
- It was thought that this might be due to the collision sensor. However, the collision sensor was completely removed from the script and it stil continued to fail.
- This seg fault might be occurring due to failure of destroying the actor. It seems that the seg fault is occurring due to the carla library. However since the carla python library is a wrapper for C code, it is hard to debug exactly what is going wrong.
- After the traffic manager instantiation was moved to after setting it to synchronous mode, it seems these seg faults occur less. However, this could be unrelated.
The environment exits with a segmentation fault that occurs after n timesteps. This is an indeterministic number failing within even 2000 timesteps and as late as never as seen.
The following has been observed.