kendzi / kendzi3d

3D plugin for JOSM
57 stars 19 forks source link

kendzi shuts down JOSM #97

Open natrius opened 4 years ago

natrius commented 4 years ago

JOSM: 15806 Kendzi: 1.0.205 Kendi3d-resources: 0.0.2 OS: Windows 10

When trying to start with 3d - "Kendzi 3D View" JOSM just shuts down. How can i provide more information you may need?

(Unfortunately it looks like the project is dead :( )

natrius commented 4 years ago

It seems it does not work with Java 11, just with Java 8.

https://forum.openstreetmap.org/viewtopic.php?id=68115

OK. Solved. kendzi3d is not working with java 11 (linux Mint 19.2).

It's necessary to install java 8. sudo apt-get install openjdk-8-jdk

Then either you put java 8 as a default : sudo update-alternatives --config java

either you start JOSM indicating the complete path for java, in my case : /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx2048M -jar /home/....../josm-tested.jar

h8nor commented 4 years ago

There seems to have been a similar problem #85. I have a error on Java 8 after an unsuccessful update. Try updating the josm plugins.

natrius commented 4 years ago

@bopoh13

Thanks for your suggestion, but i can not do that. As mentioned above, i'm using 1.0.205 and according to https://github.com/kendzi/kendzi3d/releases thats the newest version. So, not possible to update right now :)

h8nor commented 4 years ago

@natrius, I meant updating the installed plugin:

  1. Set the switch to "Installed"
  2. In the search field specify "3d"
  3. Highlight plugins
  4. Click on the button "Update plugins"

Found a link where a possible fix is written https://wiki.osm.org/JOSM/Plugins/Kendzi3D/trouble

natrius commented 4 years ago

Thank you, but it seems like i did not communicate well:

According to this GitHub page the most recent version is 1.0.205. According to JOSM i'm using already 1.0.205. According to JOSM the available version is 1.0.205 as well.

So, if i'm not willing to use an old JAVA version on my computer, it will not be fixed as i cannot update as well. Thanks anyway.

image

kendzi commented 4 years ago

@natrius could you run jsom inside console and put here output when it crash? https://wiki.openstreetmap.org/wiki/JOSM/Plugins/Kendzi3D/trouble

for java 9/10 you should run josm with command: java -jar --add-modules ALL-SYSTEM josm-tested.jar

But I didn't test it with newer javas yet. Please put here console output

JulienPalard commented 4 years ago

I'm getting:

Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

with:

natrius commented 4 years ago

With the downloaded jar i get an error

java -jar --add-modules ALL-SYSTEM josm-tested.jar
Error: Unable to access jarfile ALL-SYSTEM

Now without --add-modules it works. When starting the kendzi3D error i get the folloing error

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x50ab05ce, pid=5340, tid=0x000039f4
#
# JRE version: Java(TM) SE Runtime Environment (8.0_211-b12) (build 1.8.0_211-b12)
# Java VM: Java HotSpot(TM) Client VM (25.211-b12 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  0x50ab05ce
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\ski\Downloads\hs_err_pid5340.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

and the mentioned file

hs_err_pid5340.log

natrius commented 4 years ago

JOSM Version 16239 from 06.04.2020

When starting up JOSM i get the following error on linux. KDE neon, based on Ubuntu 18.04 LTS. (I have to add: It works on Windows 10 now on 2 different computers)

java.io.IOException: No file found for: http://zibi.openstreetmap.org.pl/kendzi/k/Simple3dPreset/s3db-preset.zip

image

Maybe its something about that?

EDIT: And another problem i set by mistake kendzi to "autostart when starting JOSM" and now i can't start JOSM unless i delete kendzi from ~/.local/share/JOSM/plugins$

EDIT2: I think i found in the settings the key for it. kendzi3d.autostart=true, set to false -> JOSM starting again.

natrius commented 4 years ago

And the error when checking via console on Linux is the same as the one JulienParlard

Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

kyorilys commented 4 years ago

windows is fined with this. start javaw.exe -jar -Xmx8192M josm-tested.jar

jolesh commented 4 years ago

It seems it does not work with Java 11, just with Java 8.

https://forum.openstreetmap.org/viewtopic.php?id=68115

OK. Solved. kendzi3d is not working with java 11 (linux Mint 19.2). It's necessary to install java 8. sudo apt-get install openjdk-8-jdk Then either you put java 8 as a default : sudo update-alternatives --config java either you start JOSM indicating the complete path for java, in my case : /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx2048M -jar /home/....../josm-tested.jar

Thanks, that seems to have solved my problem. :heart:

ChildishGiant commented 10 months ago

My JOSM crashes when I try to launch the plugin with this error: Inconsistency detected by ld.so: dl-lookup.c: 106: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!