kendzi / kendzi3d

3D plugin for JOSM
57 stars 19 forks source link

JOSM crashes when clicking on "Kendzi 3D View" #100

Closed jolesh closed 4 years ago

jolesh commented 4 years ago

When I click on 3D View JOSM crashes and closes itself immediately. In the terminal I get the following message: Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed! This happens with and without map data.

OpenJDK Java 11 Runtime Linux Mint 19.3 Tricia 64-bit Version Linux Mint 19.3 Tricia 64-bit MATE 1.22.2 AMD A10-9600P RADEON R5, 10 COMPUTE CORES 4C+6G × 4

Hole log:

2020-08-19 16:11:20.789 INFORMATION: Protokollierungsgrad ist bei INFORMATION (INFO, 800) 2020-08-19 16:11:24.782 INFORMATION: Erweiterung 'jaxb' wird geladen (Version 35092) 2020-08-19 16:11:24.793 INFORMATION: Erweiterung 'log4j' wird geladen (Version 35092) 2020-08-19 16:11:24.854 INFORMATION: Erweiterung 'ImproveOsm' wird geladen (Version 199) 2020-08-19 16:11:27.877 INFORMATION: GET https://api.openstreetmap.org/api/0.6/user/details -> HTTP/1.1 200 (552 ms; 948 B) 2020-08-19 16:11:28.691 INFORMATION: 68 Tag2Link Regeln wurden von META-INF/resources/webjars/tag2link/2020.7.15/index.json bezogen 2020-08-19 16:11:34.291 INFORMATION: Could not load tool definition getoffset 2020-08-19 16:11:34.438 INFORMATION: Erweiterung 'jogl' wird geladen (Version 1.2.3) 2020-08-19 16:11:34.442 INFORMATION: Erweiterung 'imagery_offset_db' wird geladen (Version 35405) WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2 2020-08-19 16:11:35.250 INFORMATION: Erweiterung 'kendzi3d' wird geladen (Version 1.0.205) 2020-08-19 16:11:35.255 INFORMATION: copying file: /lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-armv6.jar exist skiping

2020-08-19 16:11:35.256 INFORMATION: copying file: /lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-armv6hf.jar exist skiping

2020-08-19 16:11:35.257 INFORMATION: copying file: /lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-amd64.jar exist skiping

2020-08-19 16:11:35.258 INFORMATION: copying file: /lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-i586.jar exist skiping

2020-08-19 16:11:35.258 INFORMATION: copying file: /lib/jogl-2.3.2/jogl-all-2.3.2-natives-solaris-amd64.jar exist skiping

2020-08-19 16:11:35.260 INFORMATION: copying file: /lib/jogl-2.3.2/jogl-all-2.3.2-natives-solaris-i586.jar exist skiping

2020-08-19 16:11:35.261 INFORMATION: copying file: /lib/jogl-2.3.2/jogl-all-2.3.2.jar exist skiping

2020-08-19 16:11:35.263 INFORMATION: copying file: /lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-armv6.jar exist skiping

2020-08-19 16:11:35.264 INFORMATION: copying file: /lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-armv6hf.jar exist skiping

2020-08-19 16:11:35.265 INFORMATION: copying file: /lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-amd64.jar exist skiping

2020-08-19 16:11:35.266 INFORMATION: copying file: /lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-i586.jar exist skiping

2020-08-19 16:11:35.266 INFORMATION: copying file: /lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-solaris-amd64.jar exist skiping

2020-08-19 16:11:35.267 INFORMATION: copying file: /lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-solaris-i586.jar exist skiping

2020-08-19 16:11:35.268 INFORMATION: copying file: /lib/jogl-2.3.2/gluegen-rt-2.3.2.jar exist skiping

2020-08-19 16:11:35.271 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-armv6.jar 2020-08-19 16:11:35.272 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-armv6hf.jar 2020-08-19 16:11:35.273 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-amd64.jar 2020-08-19 16:11:35.274 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2-natives-linux-i586.jar 2020-08-19 16:11:35.275 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2-natives-solaris-amd64.jar 2020-08-19 16:11:35.275 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2-natives-solaris-i586.jar 2020-08-19 16:11:35.276 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2.jar 2020-08-19 16:11:35.277 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-armv6.jar 2020-08-19 16:11:35.278 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-armv6hf.jar 2020-08-19 16:11:35.279 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-amd64.jar 2020-08-19 16:11:35.280 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-linux-i586.jar 2020-08-19 16:11:35.280 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-solaris-amd64.jar 2020-08-19 16:11:35.281 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/gluegen-rt-2.3.2-natives-solaris-i586.jar 2020-08-19 16:11:35.282 INFORMATION: loading lib: /home/jolesh/.local/share/JOSM/plugins/jogl/lib/jogl-2.3.2/gluegen-rt-2.3.2.jar 3d test 2020-08-19 16:11:36.207 INFORMATION: Reassigning shortcut 'menu:3D' from null to 576 because of conflict with Alt+D 2020-08-19 16:11:36.208 INFORMATION: Tastenkürzelkonflikt: 'menu:3D' wurde von 'menu:Data' auf 'Alt+Umschalt+F1' verschoben. 2020-08-19 16:11:37.482 INFORMATION: Registrierte Werkzeugleistenaktion 1306318261_debugger24 überschrieben: kendzi.josm.kendzi3d.action.TextureToggleAction wird kendzi.josm.kendzi3d.action.GroundToggleAction 2020-08-19 16:11:37.489 INFORMATION: Registrierte Werkzeugleistenaktion 1306318261_debugger__24 überschrieben: kendzi.josm.kendzi3d.action.GroundToggleAction wird kendzi.josm.kendzi3d.action.DebugToggleAction 2020-08-19 16:11:37.497 INFORMATION: Registrierte Werkzeugleistenaktion 1306318261_debugger24 überschrieben: kendzi.josm.kendzi3d.action.DebugToggleAction wird kendzi.josm.kendzi3d.action.DebugPointModelToggleAction 2020-08-19 16:11:37.515 INFORMATION: Registrierte Werkzeugleistenaktion 1306318261_debugger24 überschrieben: kendzi.josm.kendzi3d.action.DebugPointModelToggleAction wird kendzi.josm.kendzi3d.action.ForceTwoSidedToggleAction 2020-08-19 16:11:37.526 INFORMATION: Registrierte Werkzeugleistenaktion 1306318261_debugger__24 überschrieben: kendzi.josm.kendzi3d.action.ForceTwoSidedToggleAction wird kendzi.josm.kendzi3d.action.TextureFilterToggleAction 2020-08-19 16:11:37.527 INFORMATION: Registrierte Werkzeugleistenaktion 1306318261_debugger24 überschrieben: kendzi.josm.kendzi3d.action.TextureFilterToggleAction wird kendzi.josm.kendzi3d.action.TextureFilterToggleAction 2020-08-19 16:11:37.711 INFORMATION: Erweiterung 'kendzi3d-resources' wird geladen (Version 0.0.2) 2020-08-19 16:11:37.719 INFORMATION: Erweiterung 'buildings_tools' wird geladen (Version 35500) 2020-08-19 16:11:37.762 INFORMATION: Erweiterung 'osm-obj-info' wird geladen (Version 56) 2020-08-19 16:11:37.766 INFORMATION: Erweiterung 'terracer' wird geladen (Version 35499) 2020-08-19 16:11:37.794 INFORMATION: Erweiterung 'RelationDissolve' wird geladen (Version 0.2.0) 2020-08-19 16:11:37.899 INFORMATION: Werkzeugleistenaktion 1306318208_rebuild24 überschrieben: kendzi.josm.kendzi3d.action.CleanUpAction wird kendzi.josm.kendzi3d.action.PointModelListAction 2020-08-19 16:11:37.899 INFORMATION: Werkzeugleistenaktion 1306318208_rebuild__24 überschrieben: kendzi.josm.kendzi3d.action.PointModelListAction wird kendzi.josm.kendzi3d.action.LightConfigurationAction 2020-08-19 16:11:37.901 INFORMATION: Werkzeugleistenaktion 1306318261_debugger24 überschrieben: kendzi.josm.kendzi3d.action.TextureToggleAction wird kendzi.josm.kendzi3d.action.GroundToggleAction 2020-08-19 16:11:37.901 INFORMATION: Werkzeugleistenaktion 1306318261_debugger24 überschrieben: kendzi.josm.kendzi3d.action.GroundToggleAction wird kendzi.josm.kendzi3d.action.DebugToggleAction 2020-08-19 16:11:37.902 INFORMATION: Werkzeugleistenaktion 1306318261_debugger__24 überschrieben: kendzi.josm.kendzi3d.action.DebugToggleAction wird kendzi.josm.kendzi3d.action.DebugPointModelToggleAction 2020-08-19 16:11:37.903 INFORMATION: Werkzeugleistenaktion 1306318261_debugger24 überschrieben: kendzi.josm.kendzi3d.action.DebugPointModelToggleAction wird kendzi.josm.kendzi3d.action.ForceTwoSidedToggleAction 2020-08-19 16:11:37.903 INFORMATION: Werkzeugleistenaktion 1306318261_debugger__24 überschrieben: kendzi.josm.kendzi3d.action.ForceTwoSidedToggleAction wird kendzi.josm.kendzi3d.action.TextureFilterToggleAction 2020-08-19 16:11:37.904 INFORMATION: Werkzeugleistenaktion 1323558253_wikipedia-icon_24 überschrieben: kendzi.josm.kendzi3d.action.WikiTextureLoaderAction wird kendzi.josm.kendzi3d.action.LoadTextureLibraryAction 2020-08-19 16:11:37.904 INFORMATION: Werkzeugleistenaktion ohne Namen: kendzi.josm.kendzi3d.action.ExportAction 2020-08-19 16:11:37.905 INFORMATION: Werkzeugleistenaktion 1323558253_wikipedia-icon_24 überschrieben: kendzi.josm.kendzi3d.action.LoadTextureLibraryAction wird kendzi.josm.kendzi3d.action.ShowPluginDirAction 2020-08-19 16:11:38.151 INFORMATION: Message notifier active (checks every 5 minutes) 2020-08-19 16:11:38.162 INFORMATION: Changeset updater active (checks every 60 minutes if open changesets have been closed) 2020-08-19 16:11:38.374 INFORMATION: GET https://api.openstreetmap.org/api/0.6/user/details (Anzahl der ungelesenen Nachrichten abrufen) -> HTTP/1.1 200 (197 ms; 948 B) Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

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

Worked for me, even though now i get another error from a different pulgin: JavaFX is not available. Please install OpenJFX through your package manager. Even after installing it.