Re: [mkgmap-dev] Java issue with mkgmap

2010-03-14 Thread Apollinaris Schoell
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=0x7f8f2500e902, 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


Re: [mkgmap-dev] Java issue with mkgmap

2010-03-14 Thread Nakor
Mark,
>
> I don't know what is causing the SEGV but have you tried using another
> runtime? Perhaps, it's a problem in OpenJDK.
>
>> # Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )

Indeed, I tried Sun JVM and everything went fine.

Thanks,

N.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Java issue with mkgmap

2010-03-14 Thread Mark Burton

> You can try --max-jobs=1

That's the default value, so it should not make any difference.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Java issue with mkgmap

2010-03-14 Thread Matteo Gottardi
In data domenica 14 marzo 2010 16:41:19, Nakor ha scritto:
> 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

You can try --max-jobs=1

-- 
* Matteo Gottardi | matg...@tin.it
* ICQ UIN 20381372
* Linux - the choice of a GNU generation
* GPG Fingerprint:
* B9EE 108F 52C8 D50C B667 B1F2 AB56 8A01 BA3D 36A1
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Java issue with mkgmap

2010-03-14 Thread Mark Burton

Hi Nakor,

I don't know what is causing the SEGV but have you tried using another
runtime? Perhaps, it's a problem in OpenJDK.

> # Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Java issue with mkgmap

2010-03-14 Thread Nakor
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=0x7f8f2500e902, 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