carla-simulator / carla

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

Segmentation fault when loading vehicle into own OpenDrive Map #5394

Closed Domsall closed 2 years ago

Domsall commented 2 years ago

I am getting a segmentation fault when I want to start a simulation with the following OpenDrive map: Renningen_map.zip

I also created a fbx and imported it into Carla, but get the same error. It seems that the OpenDrive-file can be read correctly, but waypoints, etc. cannot be created at runtime. After hours of searching, I could not find the cause in the OpenDrive file in order to make it work...

Carla version: 0.9.13 Platform: Windows 10 Steps to reproduce:

Domsall commented 2 years ago

Update:

EDIT: the OpenDrive file actually works as standalone now, but not with the packaged map

Domsall commented 2 years ago

That was actually the reason... it still did not work, because changing the OpenDrive-file was not enough. The error was coming from the bin-file (it had content size, but only /0). I deleted everything again, made a new import and the a correct .bin-file got created. After deleting the cached-Carla Version, everything is working fine.