CurryKitten / CurryKitten-Sim

FPV quad simulator
67 stars 7 forks source link

munmap_chunk(): invalid pointer on Linux #70

Closed OMGChase closed 3 years ago

OMGChase commented 3 years ago

Hello.

Launching the sim on Linux and getting the error:

munmap_chunk(): invalid pointer Aborted (core dumped)

Could be something I'm doing wrong, as I'm quite new to Linux, but steps to reproduce are:

1.open terminal in directory 2.chmod +x CK-FPV-Sim-Linux64-050b.x86_64 3../CK-FPV-Sim-Linux64-050b.x86_64

Running Ubuntu 20.04 focal (x86-64) with Cinnamon DE (4.4.8)

CurryKitten commented 3 years ago

Whoops, sorry @OMGChase - was not paying attention and didn't see this one come in. Are you running on an AMD GPU - from what I can tell it's a driver issue here, specifically (I think) the AMDGPU Pro driver. I see a reference to it being fixed in 20.40. I'm not entirely sure what package name we're talking about here, but can you check what (if any) versions of amdgpu you have installed

OMGChase commented 3 years ago

Whoops, sorry @OMGChase - was not paying attention and didn't see this one come in. Are you running on an AMD GPU - from what I can tell it's a driver issue here, specifically (I think) the AMDGPU Pro driver. I see a reference to it being fixed in 20.40. I'm not entirely sure what package name we're talking about here, but can you check what (if any) versions of amdgpu you have installed

Hello @CurryKitten

No worries about the delayed response, I understand that these things take time.

I am running an AMD GPU. Let me dump my system specs in case it helps:

ASRock H97M Anniversary Intel Core i5-4690k @ 3.5ghz x 4 Corsair Vengeance LP12GB RAM (2x4GB) + (2x2GB) AMD Radeon R9 290

amdgpu drivers are apparently version 20.30-1109583 from what I can tell. Only way I am able to check is by running

sudo apt install amdgpu

then it gives me the message:

amdgpu is already the newest version (20.30-1109583).

Hope this helps in some way?

OMGChase commented 3 years ago

Running the game on Mesa drivers now without an issue.

Closing the issue.