Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Application crashes with LWJGL3 backend: pointer being freed was not allocated #5205
When running my application with the LWJGL3 backend, it crashed right upon starting with the error message:
This does not occur with the LWJGL backend.
Use LWJGL3, start application.
Version of LibGDX and/or relevant dependencies
Please select the affected platforms
changed the title from
Application crashed with LWJGL3: pointer being freed was not allocated
Application crashes with LWJGL3: pointer being freed was not allocated
May 1, 2018
Seen this before with mac. Not sure the what the absolute cause is here as i don't have a device i can reproduce this on, but the gpu is being switched from discrete to integrated. At which point this error happens. This usually happens when transitioning from using an external monitor, or exiting a game, mac seems to put you back on integrated, (probably to save power). You can confirm this by manually switching back to discrete gpu with any application that can manage this on macosx and running again
This is also most likely a lwjgl3 issue, if you can confirm that this is not a problem with a standard lwjgl3 (no libgdx) application, we can try to look into it, but afaik this is not something with libgdx itself.