Opened 11 months ago
Closed 11 months ago
#23746 closed defect (worksforme)
Filter makes JOSM crash
Reported by: | PanierAvide | Owned by: | PanierAvide |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Cc: |
Description
Steps to reproduce :
- Launch JOSM
- Download data in certain area (around here https://www.openstreetmap.org/#map=15/48.3141/-1.9437 )
- Apply through the UI the following filtering rule (config from /home/user/.config/JOSM/preferences.xml)
<map> <tag key='version' value='1'/> <tag key='text' value='landuse=* or ((type:way and closed) and (amenity=* or natural=* or leisure=*)) or new'/> <tag key='mode' value='replace'/> <tag key='enable' value='true'/> <tag key='hiding' value='false'/> <tag key='inverted' value='true'/> </map>
- Enjoy a plain JOSM crashing
- Restart JOSM
- Try to download any area
- Also crashes when downloading, as filter is still applied from previous session
Happens on tested and older versions from one month back. Under Manjaro Linux (rolling release), OpenJDK Runtime Environment 22.0.
Attachments (1)
Change History (6)
by , 11 months ago
Attachment: | hs_err_pid17163.log added |
---|
comment:2 by , 11 months ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
I wasn't able to reproduce on Fedora 40 with Java 22.0.1.
What version of Java were you running? I've seen another bug report with Java 22 (GA) that was fixed in Java 22.0.1.
Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.
Please add all needed information according to this list:
- The required parts of the Status Report from your JOSM.
- Please, use
Report Bug from Help menu and copy & paste.
- Please, use
- Describe what behaviour you expected.
- Describe what did happen instead.
- Describe if and how the issue is reproducible.
- Add any relevant information like error messages or screenshots.
To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Help → Report Bug.
Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!
comment:3 by , 11 months ago
Java version :
[adrien@pcportable ~]$ java --version openjdk 22 2024-03-19 OpenJDK Runtime Environment (build 22) OpenJDK 64-Bit Server VM (build 22, mixed mode, sharing)
Package from Manjaro :
jre-openjdk 22.0.1.u0-1 [Installés] extra OpenJDK Java 22 full runtime environment
From JOSM infos :
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2024-06-03 18:08:14 +0200 (Mon, 03 Jun 2024) Revision:19096 Build-Date:2024-06-07 01:31:15 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19096 fr) Linux Manjaro Linux Memory Usage: 440 MB / 6144 MB (133 MB allocated, but free) Java version: 22, N/A, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 3840×1552 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 3840×1552 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: fr_FR.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: fr_FR Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: XFCE VM arguments: [--add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED] Plugins: + apache-commons (36273) + buildings_tools (36226) + ejml (36176) + geotools (36273) + jackson (36273) + jaxb (36118) + jts (36004) + measurement (36256) + opendata (36256) + photo_geotagging (36276) + photoadjust (36200) + tageditor (36258) + turnlanes-tagging (0.0.5) + utilsplugin2 (36241) + wikipedia (605) Tagging presets: + https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
I will do a bit of testing later to see if that happens with another version of Java.
comment:4 by , 11 months ago
So I tested with OpenJDK 21 :
[adrien@pcportable ~]$ java --version openjdk 21.0.3 2024-04-16 OpenJDK Runtime Environment (build 21.0.3+9) OpenJDK 64-Bit Server VM (build 21.0.3+9, mixed mode, sharing)
And JOSM works like a charm on filtering 😄 Thanks for your fast feedback !
comment:5 by , 11 months ago
Resolution: | → worksforme |
---|---|
Status: | needinfo → closed |
openjdk 22 2024-03-19 OpenJDK Runtime Environment (build 22) OpenJDK 64-Bit Server VM (build 22, mixed mode, sharing)
You might want to check your default Java version. I'm not certain what the commands are on Manjaro, but it looks like the current default is set to a old/custom version.
Java 22 was initially released on 2024-03-19; 22.0.1 wasn't released until 2024-04-16.
Log file