logo separator

[mkgmap-dev] v4058 dem-tdb crashes

From Andrzej Popowski popej at poczta.onet.pl on Sun Jan 14 23:24:58 GMT 2018

Hi Gerd,

I have uploaded example at 
http://files.mkgmap.org.uk/download/392/test-crash.7z.

java.lang.IndexOutOfBoundsException
	at java.nio.Buffer.checkIndex(Unknown Source)
	at java.nio.DirectByteBuffer.getShort(Unknown Source)
	at uk.me.parabola.mkgmap.reader.hgt.HGTReader.ele(HGTReader.java:203)
	at 
uk.me.parabola.mkgmap.reader.hgt.HGTConverter.getElevation(HGTConverter.java:108)
	at 
uk.me.parabola.mkgmap.reader.hgt.HGTConverter.getHeights(HGTConverter.java:302)
	at uk.me.parabola.imgfmt.app.dem.DEMSection.calcTiles(DEMSection.java:127)
	at uk.me.parabola.imgfmt.app.dem.DEMSection.<init>(DEMSection.java:74)
	at uk.me.parabola.imgfmt.app.dem.DEMFile.calc(DEMFile.java:96)
	at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:322)
	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:263)
	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:259)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going option

-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list