running on linux? Java is crashing a lot more for me there. mkgmab does well but running multiple jobs in parallel produces random crashes. also osmosis crashes on one special use case but runs fine on a Mac. and it happens on the Sun and OpenJDK virtual machine.
On 14 Mar 2010, at 8:41 , Nakor wrote: > Hello, > Not sure if this is directly related to mkgmap but I thought I would > seek advice here. I have a strange behavior with mkgmap. > > When I generate my maps one by one, everything works fine. When I try to > generate all at once, java segfaults. > > When I say one by one, I mean: > > for FILE in `ls 11*.osm.gz` > do > java -ea -Dlog.config=./logging.properties -Xmx3000M -jar > ./mkgmap-r1580/mkgmap.jar \ > --net --route \ > --drive-on-right --check-roundabouts --check-roundabout-flares \ > --add-pois-to-areas --adjust-turn-headings \ > --link-pois-to-ways \ > --description="OSM North America map" \ > --style-file=$OSM_BASE/styles --style=nakor \ > $FILE > done > > When I say all at one, I mean > > java -ea -Dlog.config=./logging.properties -Xmx3000M -jar > ./mkgmap-r1580/mkgmap.jar \ > --net --route \ > --drive-on-right --check-roundabouts --check-roundabout-flares \ > --add-pois-to-areas --adjust-turn-headings \ > --link-pois-to-ways \ > --description="OSM North America map" \ > --style-file=$OSM_BASE/styles --style=nakor \ > 11*.osm.gz > > > The error I get in the latest case is: > > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x00007f8f2500e902, pid=2331, tid=140252930266896 > # > # JRE version: 6.0_17-b17 > # Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 ) > # Derivative: IcedTea6 1.7 > # Distribution: Custom build (Wed Feb 3 14:25:54 UTC 2010) > # Problematic frame: > # j > uk.me.parabola.mkgmap.main.Main.endOptions(Luk/me/parabola/mkgmap/CommandArgs;)V+428 > # > # An error report file with more information is saved as: > # .../hs_err_pid2331.log > # > # If you would like to submit a bug report, please include > # instructions how to reproduce the bug and visit: > # http://icedtea.classpath.org/bugzilla > # > > Thanks, > > N. > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev@lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev