carla-simulator / carla

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

carla-0.9.11 reported errors during operation #3903

Open whuxhzhang opened 3 years ago

whuxhzhang commented 3 years ago

ubuntu18.04 carla-0.9.11

I compiled the source code of carla-0.9.11, and run CarlaUE4.sh, but find these errors: Signal 11 caught. Malloc Size=65538 LargeMemoryPoolOffset=65554 CommonUnixCrashHandler: Signal=11 Malloc Size=65535 LargeMemoryPoolOffset=131119 Malloc Size=122688 LargeMemoryPoolOffset=253824 Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Segmentation fault (core dumped)

qhaas commented 3 years ago

The community will likely need a tad more to go on...

  1. Which GPU are you using? If nvidia, does nvidia-smi produce an error? This will determine if you are capable of 3D acceleration with your GPU
  2. Are you running headless and/or X-less (i.e. no x-server)? If so, you should use opengl, and start carla like SDL_VIDEODRIVER=offscreen ./CarlaUE4.sh -opengl
whuxhzhang commented 3 years ago
1. nvidia-smi

image

All town_maps are available, including my own. Only one map I made had this problem. So I think it's not the GPU's fault.

corkyw10 commented 3 years ago

@bernatx could you have a look at this please?

stale[bot] commented 3 years ago

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.

yz-bry commented 3 years ago

I have the same problem as you.

yz-bry commented 3 years ago

Has your problem been solved? Could you tell me? Thank you!@ whuxhzhang

whuxhzhang commented 3 years ago

Has your problem been solved? Could you tell me? Thank you!@ whuxhzhang

Sorry, the problem I encountered has not been solved, I gave up the map I made

yz-bry commented 3 years ago

Thanks for your replay.I'll try to fix it again though I have failed many times.

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年10月8日(星期五) 下午3:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [carla-simulator/carla] carla-0.9.11 reported errors during operation (#3903)

Has your problem been solved? Could you tell me? Thank you!@ whuxhzhang

Sorry, the problem I encountered has not been solved, I gave up the map I made

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

qhaas commented 2 years ago

I've started seeing this in official CARLA 0.9.12 binaries, but only with jobs launched via SLURM, and with the 'default' maps even, works fine on 'bare metal' (i.e. just ssh into the box and run it):

./CarlaUE4.sh -nosound -vulkan -RenderOffscreen -graphicsadapter=0 -carla-rpc-port=2050
4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
sh: 1: xdg-user-dir: not found
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault
stale[bot] commented 2 years ago

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.

xbowlove commented 1 year ago

@yz-bry have you solved the problem? I face this problem these days.if solved, could you please tell me how to deal with it.

paulvantieghem commented 1 year ago

The community will likely need a tad more to go on...

  1. Which GPU are you using? If nvidia, does nvidia-smi produce an error? This will determine if you are capable of 3D acceleration with your GPU
  2. Are you running headless and/or X-less (i.e. no x-server)? If so, you should use opengl, and start carla like SDL_VIDEODRIVER=offscreen ./CarlaUE4.sh -opengl

Running SDL_VIDEODRIVER=offscreen ./CarlaUE4.sh -opengl instead of ./CarlaUE4.sh -opengl -nosound worked for me on 0.9.11

stale[bot] commented 1 year ago

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.