logo separator

[mkgmap-dev] mkgmap error with austria.osm.bz2 of June 1 (all other contry extracts by gefabrik for Europe compiled except for Austria)

From Felix Hartmann extremecarver at googlemail.com on Mon Jun 1 23:52:57 BST 2009

I assume there is a serious bug in the austria.osm.bz2 currently.
See here the error output. It compiles 3 out of 7 tiles correctly, and 
then chokes on the 4. tile.
I'm sure there is an error in the country extract (with the same command 
all other country extracts of europe compiled fine - the overflow is not 
related to split size (I reduced it drastically just to test, and 
yesterdays osm.bz2 extract compiled just fine).
If someone wants to have a look at it, I could upload the broken file 
(only the splitted part that breaks mapbuilding - it's 12.1 MB) to my 
server.

Maybe it's useful for bugtracking for you, I don't know (happens on rev 
1053 and/or 1052 I did not testrun with older revisions)...



D:\Garmin\mkgmap_680>start /b /wait java -jar -Xmx4800M mkgmap.jar 
--latin1 --lower-case --no-sorted-roads --ignore-maxspeeds 
--ignore-turn-restrictions --remove-short-arcs
--add-pois-to-areas --location-autofill=1 --route --net  
--country-abbr=at --country-name=austria --gmapsupp --mapname=63660000 
636600*.osm.gz
Exception in thread "main" java.lang.StackOverflowError
        at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
        at java.util.regex.Pattern$GroupHead.match(Unknown Source)
        at java.util.regex.Pattern$Branch.match(Unknown Source)
        at java.util.regex.Pattern$BranchConn.match(Unknown Source)
        at java.util.regex.Pattern$GroupTail.match(Unknown Source)
        at java.util.regex.Pattern$Curly.match0(Unknown Source)
        at java.util.regex.Pattern$Curly.match(Unknown Source)
        at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
        at java.util.regex.Pattern$GroupHead.match(Unknown Source)
        at java.util.regex.Pattern$Branch.match(Unknown Source)
        at java.util.regex.Pattern$Branch.match(Unknown Source)
        at java.util.regex.Pattern$BranchConn.match(Unknown Source)
        at java.util.regex.Pattern$GroupTail.match(Unknown Source)
        at java.util.regex.Pattern$Curly.match0(Unknown Source)
        at java.util.regex.Pattern$Curly.match(Unknown Source)
        at java.util.regex.Pattern$GroupHead.match(Unknown Source)
        at java.util.regex.Pattern$Branch.match(Unknown Source)
        at java.util.regex.Pattern$Branch.match(Unknown Source)
        at java.util.regex.Pattern$BmpCharProperty.match(Unknown Source)
        at java.util.regex.Pattern$Start.match(Unknown Source)
        at java.util.regex.Matcher.search(Unknown Source)
        at java.util.regex.Matcher.find(Unknown Source)
        at java.util.Formatter.parse(Unknown Source)
        at java.util.Formatter.format(Unknown Source)
        at java.util.Formatter.format(Unknown Source)
        at uk.me.parabola.imgfmt.app.Coord.toDegreeString(Coord.java:191)
        at 
uk.me.parabola.imgfmt.app.net.RouteCenter.<init>(RouteCenter.java:42)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.toRouteCenter(NOD1Part.java:286)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:242)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
.........
This continues for around 200 lines, then breaks operation.

Different output with -ea:
D:\Garmin\mkgmap_680>start /b /wait java -jar -ea -Xmx4800M mkgmap.jar 
--latin1 --lower-case --no-sorted-roads --ignore-maxspeeds 
--ignore-turn-restrictions --remove-short-arcs --add-pois-to-area
s --location-autofill=1 --description=main1_openmtbmap_at --route --net 
--country-abbr=at --country-name=austria --gmapsupp --mapname=63660000 
636600*.osm.gz
Exception in thread "main" java.lang.AssertionError: trying to get 
center of empty BBox
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part$BBox.center(NOD1Part.java:141)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.toRouteCenter(NOD1Part.java:286)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:242)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.imgfmt.app.net.NOD1Part.subdivide(NOD1Part.java:266)
        at 
uk.me.parabola.mkgmap.general.RoadNetwork.splitCenters(RoadNetwork.java:161)
        at 
uk.me.parabola.mkgmap.general.RoadNetwork.getCenters(RoadNetwork.java:166)
        at 
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:186)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:90)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
        at uk.me.parabola.mkgmap.main.Main.processFilename(Main.java:151)
        at 
uk.me.parabola.mkgmap.CommandArgsReader$Filename.processArg(CommandArgsReader.java:237)
        at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:120)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:92)



More information about the mkgmap-dev mailing list