Opened 3 years ago

Last modified 3 years ago

#22386 new defect

JOSM freezes from time to time without clear indication why — at Version 8

Reported by: dieterdreist Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by skyper)

I get freezes in Josm several times a day, console output is this:

local revision is 18559, latest available revision is 18559 - using local revision 18559
starting josm...
josm started with PID 2504
2022-09-20 09:43:48.759 INFO: Log level is at INFO (INFO, 800)
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
2022-09-20 09:43:50.630 INFO: Detected no usable IPv6 network, preferring IPv4 over IPv6 after next restart.
2022-09-20 09:43:50.667 INFO: Restart [/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java, -Xmx2048M, -Djosm.home=/Users/martin/.josm-cai, -Dsun.java2d.opengl=true, -jar, /Users/martin/bin/josm-archive/josm-18559.jar]
josm terminated

it says "josm terminated", and "restart" but what I see in the GUI is Josm with a "waiting spinner" and neither restarting, nor being reactive to any command (I have to kill it and restart manually).

Maybe it has to do with IPv6, because during startup, there is this message:

INFO: Detected usable IPv6 network, preferring IPv6 over IPv4.

before the crash, I get

INFO: Detected no usable IPv6 network, preferring IPv4 over IPv6 after next restart

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-09-18 18:03:33 +0200 (Sun, 18 Sep 2022)
Build-Date:2022-09-19 01:30:56
Revision:18559
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18559 en) Mac OS X 10.16
OS Build number: macOS 12.6 (21G115)
Memory Usage: 1765 MB / 1820 MB (511 MB allocated, but free)
Java version: 1.8.0_292-b10, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: Display 1 1920×1080 (scaling 1.00×1.00) Display 2 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_IT
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djosm.home=<josm.pref>, -Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Plugins:
+ apache-commons (36003)
+ ejml (35924)
+ geotools (36015)
+ jackson (36006)
+ jaxb (35952)
+ jts (36004)
+ mbtiles (v2.6.1)
+ measurement (35978)
+ opendata (36011)
+ openqa (0.3.1)
+ pbf (35978)
+ poly (35976)
+ todo (30306)
+ utilsplugin2 (36011)

Tagging presets:
+ /Volumes/WD750/projects_wd/CAI-SOSEC/josm-support/23cai.xml

Map paint styles:
+ /Volumes/WD750/projects_wd/CAI-SOSEC/josm-support/23cai-sosec.mapcss

Last errors/warnings:
- 36454.331 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838972.8224581,5722993.1817677,839584.3186844,5723604.6779940&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36478.448 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838361.3262318,5722993.1817677,838972.8224581,5723604.6779940&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36491.313 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838208.4521753,5723757.5520506,838361.3262318,5723910.4261071&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36494.901 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838361.3262318,5723757.5520506,838514.2002884,5723910.4261071&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36512.938 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838361.3262318,5723910.4261071,838514.2002884,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36534.215 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838055.5781187,5723910.4261071,838208.4521753,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36536.945 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838208.4521753,5723910.4261071,838361.3262318,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36972.829 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=837596.9559490,5724369.0482768,837749.8300055,5724521.9223334&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36975.396 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838514.2002884,5724216.1742203,838667.0743450,5724369.0482768&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36976.719 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838514.2002884,5723910.4261071,838667.0743450,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap

Change History (8)

comment:1 by dieterdreist, 3 years ago

Description: modified (diff)

comment:2 by dieterdreist, 3 years ago

Description: modified (diff)

comment:3 by stoecker, 3 years ago

If it's really related to IPv6 tests set "prefer.ipv6" either to true or false (depending on your IPv6 setup). Please report back if it helps.

comment:4 by anonymous, 3 years ago

thank you, I’ll give it a try

comment:5 by dieterdreist, 3 years ago

Until now it seemed to work, but now it crashed again. I have the impression it happens shortly after loading a data layer from disk (file size is 18MB of osm xml, so its neither tiny but also not huge) and doing something like moving the screen.

comment:6 by skyper, 3 years ago

A status report and a thread dump the next time it happens would be useful.

comment:7 by dieterdreist, 3 years ago

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-09-18 18:03:33 +0200 (Sun, 18 Sep 2022)
Build-Date:2022-09-19 01:30:56
Revision:18559
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18559 en) Mac OS X 10.16
OS Build number: macOS 12.6 (21G115)
Memory Usage: 1765 MB / 1820 MB (511 MB allocated, but free)
Java version: 1.8.0_292-b10, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: Display 1 1920×1080 (scaling 1.00×1.00) Display 2 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_IT
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djosm.home=<josm.pref>, -Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Plugins:
+ apache-commons (36003)
+ ejml (35924)
+ geotools (36015)
+ jackson (36006)
+ jaxb (35952)
+ jts (36004)
+ mbtiles (v2.6.1)
+ measurement (35978)
+ opendata (36011)
+ openqa (0.3.1)
+ pbf (35978)
+ poly (35976)
+ todo (30306)
+ utilsplugin2 (36011)

Tagging presets:
+ /Volumes/WD750/projects_wd/CAI-SOSEC/josm-support/23cai.xml

Map paint styles:
+ /Volumes/WD750/projects_wd/CAI-SOSEC/josm-support/23cai-sosec.mapcss

Last errors/warnings:
- 36454.331 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838972.8224581,5722993.1817677,839584.3186844,5723604.6779940&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36478.448 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838361.3262318,5722993.1817677,838972.8224581,5723604.6779940&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36491.313 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838208.4521753,5723757.5520506,838361.3262318,5723910.4261071&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36494.901 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838361.3262318,5723757.5520506,838514.2002884,5723910.4261071&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36512.938 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838361.3262318,5723910.4261071,838514.2002884,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36534.215 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838055.5781187,5723910.4261071,838208.4521753,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36536.945 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838208.4521753,5723910.4261071,838361.3262318,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36972.829 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=837596.9559490,5724369.0482768,837749.8300055,5724521.9223334&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36975.396 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838514.2002884,5724216.1742203,838667.0743450,5724369.0482768&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
- 36976.719 W: JCS - Silent failure during download: http://wms.pcn.minambiente.it/ogc?MAP=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_06.map&LAYERS=OI.ORTOIMMAGINI.2006.33,OI.ORTOIMMAGINI.2006.32&STYLES=,&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=838514.2002884,5723910.4261071,838667.0743450,5724063.3001637&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap
Last edited 3 years ago by skyper (previous) (diff)

comment:8 by skyper, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.