logo separator

[mkgmap-dev] Java issue with mkgmap

From Nakor nakor.osm at gmail.com on Sun Mar 14 15:41:19 GMT 2010

    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.



More information about the mkgmap-dev mailing list