question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash of example application runner using Linux

See original GitHub issue

uname -a

Linux frey 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

java -version

openjdk version “11.0.11” 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

java -jar jMonkeyEngine3.jar

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.jme3.util.ReflectionAllocator (file:/home/marco/Scaricati/jMonkeyEngine/lib/jme3-core.jar) to method sun.nio.ch.DirectBuffer.cleaner() WARNING: Please consider reporting this to the maintainers of com.jme3.util.ReflectionAllocator WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release mar 27, 2022 1:44:13 PM com.jme3.system.JmeDesktopSystem initialize INFORMAZIONI: Running on jMonkeyEngine 3.5.1-stable

  • Branch: HEAD
  • Git Hash: 28bf1c9
  • Build Date: 2022-03-20 Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)’ failed!

------------------------ it seems that trying to run any example make the application crash.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
stephengoldcommented, Mar 27, 2022

Support questions like this are better addressed at the Hub (JMonkeyEngine’s Discourse forum): https://hub.jmonkeyengine.org/

The “Inconsistency detected” error indicates that OpenJDK was compiled with a version of the C runtime library that’s incompatible with one of the native libraries in your application. jme3-lwjgl is a likely candidate, but there are several other possibilities. It’s more of an issue with OpenJDK than with JMonkeyEngine.

On my own Linux system, I worked around this issue by installing Temurin and setting the JAVA_HOME environment variable in my .bashrc to point to the install directory export JAVA_HOME=/usr/lib/jvm/Temurin/jdk-11.0.14.1+1

0reactions
Scrappers-glitchcommented, Apr 25, 2022

Thanks for the replies. My linux configuration is quite old and maybe it’s a problem of my hardware. I tryed on a new laptop in windows and it worked, even if some examples have missing assets and won’t start, but the majority of it is working. Thanks for the suggestions.

Download jdk from oracle website, extract, then to run, locate its java executable file :

/home/Downloads/jdk-1.8.0/bin/java -jar MyGame.jar

and it will work !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Take A Core Dump: What to do when your app crashes on Linux
On Linux, whenever an app crashes (most commonly by a segmentation fault, i.e. when accessing a bad pointer/memory), it has the option of ......
Read more >
How to crash a single process in Linux? - unix - Server Fault
Show activity on this post. You can try to send a SIGILL signal to your process : kill -SIGKILL PID. To get the...
Read more >
crash(8) - Linux manual page - man7.org
Crash is a tool for interactively analyzing the state of the Linux system while it is running, or after a kernel crash has...
Read more >
Chapter 21. Debugging a Crashed Application
Procedure · To identify the executable file where the crash occurred, run the eu-unstrip command with the core dump file: · Get the...
Read more >
Lab 1.1 Reproduce and troubleshoot a crash problem
This article describes the process of reproducing the .NET Core crash problem in Linux, and checking the Nginx tool and system logs for ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found