logo separator

[mkgmap-dev] mkgmap-faster-mp-r4790 (warning and crash)

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Jun 25 07:42:46 BST 2021

Hi Karl,

I coulnd not reproduce the crash with 77800138.osm.pbf . It probably depends on the style and the options, but the fix is obvious.
Please try r4792.
Do you see the messages reg. ShapeSplitter also with the trunk version?

Gerd


________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von 7770 <7770 at foskan.eu>
Gesendet: Freitag, 25. Juni 2021 07:54
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] mkgmap-faster-mp-r4790 (warning and crash)

Hi.
Posting an error report.
I was running the mkgmap-faster-mp-r4790 to generate maps.
It trows a few errors and then crashes on a later pbf file.
4769 does not crash.

It is most likely this pbf that make it crash:
https://files.mkgmap.org.uk/detail/514


I also observed that 4790 procuces a tiny bit larger tiles than 4769, but maps
that did not crash work fine.


ALLVARLIG (ShapeSplitter): syd/splitted/77800065.osm.pbf: Horizontal split
121664384 failed on shape at http://www.openstreetmap.org/?
mlat=40.777236&mlon=0.641794&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Vertical split
-3407872 failed on shape at http://www.openstreetmap.org/?
mlat=42.764267&mlon=-1.308690&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Vertical split
-3670016 failed on shape at http://www.openstreetmap.org/?
mlat=42.924310&mlon=-1.142578&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Vertical split
-3538944 failed on shape at http://www.openstreetmap.org/?
mlat=42.762094&mlon=-1.230469&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Horizontal split
127951872 failed on shape at http://www.openstreetmap.org/?
mlat=42.880383&mlon=-1.135497&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Horizontal split
127886336 failed on shape at http://www.openstreetmap.org/?
mlat=42.871682&mlon=-0.965080&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Vertical split
-3538944 failed on shape at http://www.openstreetmap.org/?
mlat=42.762094&mlon=-1.230469&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Vertical split
-3473408 failed on shape at http://www.openstreetmap.org/?
mlat=42.766285&mlon=-1.186523&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Horizontal split
127951872 failed on shape at http://www.openstreetmap.org/?
mlat=42.880383&mlon=-1.135497&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Horizontal split
127886400 failed on shape at http://www.openstreetmap.org/?
mlat=42.871695&mlon=-0.965059&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (ShapeSplitter): syd/splitted/77800079.osm.pbf: Horizontal split
127945984 failed on shape at http://www.openstreetmap.org/?
mlat=42.877257&mlon=-0.977003&zoom=17 Possibly a self-intersecting polygon
ALLVARLIG (StyledConverter): syd/splitted/77800122.osm.pbf: Attention: Tile
contains both drive-on-left (17826) and drive-on-right roads (20713)






ALLVARLIG (global): Unexpected error
java.lang.IndexOutOfBoundsException: Index: 0
        at java.util.Collections$EmptyList.get(Collections.java:4454)
        at
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.findBestMerge(ShapeMergeFilter.java:
534)
        at
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.tryMerge(ShapeMergeFilter.java:
393)
        at
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.addWithConnectedHoles(ShapeMergeFilter.java:
335)
        at
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.tryMerge(ShapeMergeFilter.java:
238)
        at
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.mergeSimilar(ShapeMergeFilter.java:
149)
        at
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.merge(ShapeMergeFilter.java:104)
        at
uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:933)
        at
uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:833)
        at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:328)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:114)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:70)
        at uk.me.parabola.mkgmap.main.Main.lambda$processFilename$1(Main.java:
290)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
624)
        at java.lang.Thread.run(Thread.java:748)
ALLVARLIG (global): Exiting due to unexpected error
Number of ExitExceptions: 1
Time finished: Fri Jun 25 04:01:05 CEST 2021
Total time taken: 35 minutes 36 seconds


Regards
Karl






_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list