defold icon indicating copy to clipboard operation
defold copied to clipboard

Defold Editor Causes Screen Freeze on Linux Mint

Open JsaBuilds opened this issue 3 years ago • 3 comments

When I've been using the Defold editor for about half an hour my screen will freeze, and sometimes the screen will go black after a few seconds, but my computer is still running. I have to reboot my computer before it will work again. The bug is usually caused when I click on something in the editor. I have not had this problem with any other software, just Defold (I've updated the editor several times, but that did not help either).

Defold version: 1.2.189 (Editor version: 2.0)

Platform: Linux Mint 19.1

JsaBuilds avatar Jun 23 '22 18:06 JsaBuilds

@JsaBuilds could you please try the latest version of Defold? We recently upgraded the JOGL version in the editor and it might actually solve your problem.

britzl avatar Jun 23 '22 19:06 britzl

Okay so I updated Defold to v. 1.3.3, but now when I try to build a project I get the following error:

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.dynamo.bob.TexcLibrary
java.lang.NoClassDefFoundError: Could not initialize class com.dynamo.bob.TexcLibrary

I closed and reopened it, but then I got a different set of errors:

java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: Unable to load library 'texc_shared':
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/7150537345366814125/x86_64-linux/libtexc_shared.so)
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/7150537345366814125/x86_64-linux/libtexc_shared.so)
Native library (linux-x86-64/libtexc_shared.so) not found in resource path (/home/josiah/Desktop/Defold (2)/packages/defold-9dcfb8737ada7cad493aa17acbcb13e4d841dd5d.jar)
java.lang.UnsatisfiedLinkError: Unable to load library 'texc_shared':
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/7150537345366814125/x86_64-linux/libtexc_shared.so)
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/7150537345366814125/x86_64-linux/libtexc_shared.so)
Native library (linux-x86-64/libtexc_shared.so) not found in resource path (/home/josiah/Desktop/Defold (2)/packages/defold-9dcfb8737ada7cad493aa17acbcb13e4d841dd5d.jar)

Opening any game object, collection or other component besides code results in the first error.

JsaBuilds avatar Jun 24 '22 13:06 JsaBuilds

It seems like your version of Linux Mint has an old version of glibc installed. You can try to install a newer version of glibc (2.29+) or upgrade your version of Linux Mint.

britzl avatar Jun 25 '22 05:06 britzl

Reporter didn't check suggested solution

AGulev avatar Mar 09 '24 07:03 AGulev