logo separator

[mkgmap-dev] --index crashes on an otherwise successfully rendered image

From Lambertus osm at na1400.info on Wed Dec 2 20:26:57 GMT 2009

Clinton Gladstone wrote:
> Try the attached patch. It catches the index out of bounds error, and 
> prints an error message: the (incorrect) index which was encoded in 
> the POI, the last index of the array, and the POI label, if it has 
> one. The city information will then not be written.
> This will at least prevent the crash.
>   

Well, compiler problems fixed finally, so this is the result of your 
patch on my test file. I hope this tells you anything:

 > java -Xmx2048M -jar mkgmap/dist/mkgmap.jar --index 
--overview-mapname=63240000 --series-name='OSM World Routable' --latin1 
--description='OSM World Routable' --product-id=3 --family-id=2000 
--tdbfile --nsis --gmapsupp 63240212.img
Bad index: 32803  java.lang.IndexOutOfBoundsException: Index: 32803, 
Size: 488
[9237]P+R DOKTOR HOOLBOOMWEG
Bad index: 36735  java.lang.IndexOutOfBoundsException: Index: 36735, 
Size: 488
[0]
Bad index: 4096  java.lang.IndexOutOfBoundsException: Index: 4096, Size: 488
[9330]P+R STATIONSWEG
Bad index: 36494  java.lang.IndexOutOfBoundsException: Index: 36494, 
Size: 488
[0]
Bad index: 63630  java.lang.IndexOutOfBoundsException: Index: 63630, 
Size: 488
[9515]ROGGESTRAAT
Bad index: 6400  java.lang.IndexOutOfBoundsException: Index: 6400, Size: 488
[0]
Bad index: 45454  java.lang.IndexOutOfBoundsException: Index: 45454, 
Size: 488
[9683]HANDELSKADE
Bad index: 32803  java.lang.IndexOutOfBoundsException: Index: 32803, 
Size: 488
[0]
Bad index: 9893  java.lang.IndexOutOfBoundsException: Index: 9893, Size: 488
[0]
Bad index: 32895  java.lang.IndexOutOfBoundsException: Index: 32895, 
Size: 488
[0]
Bad index: 51839  java.lang.IndexOutOfBoundsException: Index: 51839, 
Size: 488
[0]
Bad index: 51839  java.lang.IndexOutOfBoundsException: Index: 51839, 
Size: 488
[0]
Bad index: 51839  java.lang.IndexOutOfBoundsException: Index: 51839, 
Size: 488
[0]
Bad index: 32787  java.lang.IndexOutOfBoundsException: Index: 32787, 
Size: 488
[0]
Bad index: 51839  java.lang.IndexOutOfBoundsException: Index: 51839, 
Size: 488
[0]
Bad index: 9925  java.lang.IndexOutOfBoundsException: Index: 9925, Size: 488
[0]
Bad index: 32805  java.lang.IndexOutOfBoundsException: Index: 32805, 
Size: 488
[0]
Bad index: 50815  java.lang.IndexOutOfBoundsException: Index: 50815, 
Size: 488
[0]
Bad index: 9925  java.lang.IndexOutOfBoundsException: Index: 9925, Size: 488
[0]
Bad index: 32805  java.lang.IndexOutOfBoundsException: Index: 32805, 
Size: 488
[0]
Bad index: 51839  java.lang.IndexOutOfBoundsException: Index: 51839, 
Size: 488
[0]
Bad index: 9956  java.lang.IndexOutOfBoundsException: Index: 9956, Size: 488
[0]
Bad index: 58751  java.lang.IndexOutOfBoundsException: Index: 58751, 
Size: 488
[0]
Bad index: 5321  java.lang.IndexOutOfBoundsException: Index: 5321, Size: 488
[0]
Bad index: 58751  java.lang.IndexOutOfBoundsException: Index: 58751, 
Size: 488
[0]
Bad index: 9956  java.lang.IndexOutOfBoundsException: Index: 9956, Size: 488
[0]
Bad index: 58751  java.lang.IndexOutOfBoundsException: Index: 58751, 
Size: 488
[0]
Bad index: 9956  java.lang.IndexOutOfBoundsException: Index: 9956, Size: 488
[0]
Bad index: 58751  java.lang.IndexOutOfBoundsException: Index: 58751, 
Size: 488
[0]
Bad index: 9973  java.lang.IndexOutOfBoundsException: Index: 9973, Size: 488
[0]
Bad index: 58751  java.lang.IndexOutOfBoundsException: Index: 58751, 
Size: 488
[0]
Bad index: 2175  java.lang.IndexOutOfBoundsException: Index: 2175, Size: 488
[0]
Bad index: 2175  java.lang.IndexOutOfBoundsException: Index: 2175, Size: 488
[0]
Bad index: 2175  java.lang.IndexOutOfBoundsException: Index: 2175, Size: 488
[0]
Bad index: 2175  java.lang.IndexOutOfBoundsException: Index: 2175, Size: 488
[0]
Bad index: 2175  java.lang.IndexOutOfBoundsException: Index: 2175, Size: 488
[0]
Bad index: 2175  java.lang.IndexOutOfBoundsException: Index: 2175, Size: 488
[0]
Bad index: 32895  java.lang.IndexOutOfBoundsException: Index: 32895, 
Size: 488
[0]
Bad index: 23555  java.lang.IndexOutOfBoundsException: Index: 23555, 
Size: 488
[0]
Bad index: -1  java.lang.ArrayIndexOutOfBoundsException: -1
[0]
Bad index: 46975  java.lang.IndexOutOfBoundsException: Index: 46975, 
Size: 488
[0]
Bad index: 10234  java.lang.IndexOutOfBoundsException: Index: 10234, 
Size: 488
[0]
Bad index: 11135  java.lang.IndexOutOfBoundsException: Index: 11135, 
Size: 488
[0]
Bad index: 10309  java.lang.IndexOutOfBoundsException: Index: 10309, 
Size: 488
[0]
Bad index: 8752  java.lang.IndexOutOfBoundsException: Index: 8752, Size: 488
[0]
Bad index: 30591  java.lang.IndexOutOfBoundsException: Index: 30591, 
Size: 488
[0]
Bad index: 10410  java.lang.IndexOutOfBoundsException: Index: 10410, 
Size: 488
[0]




More information about the mkgmap-dev mailing list