logo separator

[mkgmap-dev] Current mkgmap version has another java.lang.AssertionError:

From Felix Hartmann extremecarver at gmail.com on Thu Apr 26 13:01:44 BST 2018

and crashed too:

SEVERE (TREFile): 74990001.osm.pbf: invalid maxlat -3504124 changed to
4194304
SEVERE (TREFile): 74990001.osm.pbf: invalid maxlong -6549504 changed to
8388608
SEVERE (TREFile): 74990009.osm.pbf: invalid maxlat -2818048 changed to
4194304
SEVERE (TREFile): 74990009.osm.pbf: invalid maxlong -2127872 changed to
8388608
SEVERE (TREFile): 74990011.osm.pbf: invalid maxlat -3538944 changed to
4194304
SEVERE (TREFile): 74990011.osm.pbf: invalid maxlong 34816 changed to 8388608
SEVERE (TREFile): 74990010.osm.pbf: invalid maxlat -2820096 changed to
4194304
SEVERE (TREFile): 74990010.osm.pbf: invalid maxlong 34816 changed to 8388608
SEVERE (TREFile): 74990000.osm.pbf: invalid maxlat -3588092 changed to
4194304
SEVERE (TREFile): 74990000.osm.pbf: invalid maxlong -7262208 changed to
8388608
java.lang.AssertionError: 8388608
        at
uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put3s(BufferedImgFileWriter.java:143)
        at
uk.me.parabola.imgfmt.app.trergn.TREHeader.writeFileHeader(TREHeader.java:165)
        at
uk.me.parabola.imgfmt.app.CommonHeader.writeHeader(CommonHeader.java:73)
        at
uk.me.parabola.imgfmt.app.trergn.TREFile.writePost(TREFile.java:350)
        at
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:351)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Exiting - if you want to carry on regardless, use the --keep-going option


Do you need one on of the osm.pbf files? I could upload them too. There is
clearly again some bug related to 180° on DEM creation....


On 26 April 2018 at 13:56, Felix Hartmann <extremecarver at gmail.com> wrote:

> Not sure what happens on Antarctica - it's not crashing yet - but I get
> some error messages like:
> SEVERE (TREFile): 74990003.osm.pbf: invalid maxlat -3653632 changed to
> 4194304
> SEVERE (TREFile): 74990003.osm.pbf: invalid maxlong -4204544 changed to
> 8388608
> SEVERE (TREFile): 74990001.osm.pbf: invalid maxlat -3504128 changed to
> 4194304
> SEVERE (TREFile): 74990001.osm.pbf: invalid maxlong -6549504 changed to
> 8388608
> SEVERE (TREFile): 74990002.osm.pbf: invalid maxlat -3454976 changed to
> 4194304
> SEVERE (TREFile): 74990002.osm.pbf: invalid maxlong -5959680 changed to
> 8388608
> SEVERE (TREFile): 74990004.osm.pbf: invalid maxlat -3203072 changed to
> 4194304
> SEVERE (TREFile): 74990004.osm.pbf: invalid maxlong -4204544 changed to
> 8388608
> SEVERE (TREFile): 74990005.osm.pbf: invalid maxlat -3407872 changed to
> 4194304
> SEVERE (TREFile): 74990005.osm.pbf: invalid maxlong -5183488 changed to
> 8388608
> SEVERE (TREFile): 74990006.osm.pbf: invalid maxlat -3203072 changed to
> 4194304
> SEVERE (TREFile): 74990006.osm.pbf: invalid maxlong -3274752 changed to
> 8388608
> SEVERE (TREFile): 74990000.osm.pbf: invalid maxlat -3588096 changed to
> 4194304
> SEVERE (TREFile): 74990000.osm.pbf: invalid maxlong -7262208 changed to
> 8388608
>
>
> I guess that means something is properly broken...
>
> On 26 April 2018 at 13:39, Felix Hartmann <extremecarver at gmail.com> wrote:
>
>> Hi Gerd, well yes I guess it's again related to 180° - I've uploaded all
>> the 4 tiles that do not compile here: https://openmtbmap.org/n
>> ot_compiling.zip
>> you will need the asia.poly file from geofabrik too (and the relevant hgt
>> files - sorry I don't know which ones they are - you can get them via
>> phyghtmap with the asia.poly (maybe antarctica.poly will be quicker - it's
>> also messing up there).
>>
>> Calling mkgmap:
>> java -ea -jar -Xmx20000M /home/contourlines/mkgmap.jar
>> --dem=/home/contourlines/hgt/VIEW1/,/home/contourlines/hgt/S
>> RTM1v3.0/,/home/contourlines/hgt/VIEW3/,/home/contourlines/hgt/SRTM3v3.0/
>> --dem-dists=9936 --dem-poly=/home/contourlines/bounds/asia.poly
>> --max-jobs=6 --reduce-point-density=3.6 --transparent
>> --description=openmtbmap-srtm-Asia --latin1 --draw-priority=24
>> --mapname=74500000 --family-id=7450 --product-id=1
>> --series-name=openmtbmap-srtm-ASIA --family-name=mtbmap-srtm-ASIA --overview-mapname=mapsetz
>> --tdbfile 7*.osm.pbf
>>
>>
>> On 26 April 2018 at 10:50, Gerd Petermann <gpetermann_muenchen at hotmail.c
>> om> wrote:
>>
>>> Hi Felix,
>>>
>>> I think the assertions have one big disadvantage: One never knows the
>>> tile that was processed.
>>> Attached  is a patch that should report the bad tile(s) and maybe fixes
>>> the problem, but I think we have to find the place in the source that
>>> produces the invalid
>>> bounds. At the moment I see only one possibility: A tile that has
>>> minlong on +180°.
>>> So if you have the problem tile and you are able to reproduce the crash
>>> with the default style please post the details.
>>>
>>> Gerd
>>>
>>> ________________________________________
>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von
>>> Felix Hartmann <extremecarver at gmail.com>
>>> Gesendet: Donnerstag, 26. April 2018 10:30:21
>>> An: Development list for mkgmap
>>> Betreff: Re: [mkgmap-dev] Current mkgmap version has another
>>> java.lang.AssertionError:
>>>
>>> okay I kinda guessed so - because it produced way more tiles before the
>>> crash....
>>>
>>> On 26 April 2018 at 10:21, Gerd Petermann <gpetermann_muenchen at hotmail.c
>>> om<mailto:gpetermann_muenchen at hotmail.com>> wrote:
>>> Hi Felix,
>>>
>>> this is a different error in a different source. I'll have a look now. I
>>> don't need the file.
>>> Gerd
>>>
>>> ________________________________________
>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:
>>> mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann <
>>> extremecarver at gmail.com<mailto:extremecarver at gmail.com>>
>>> Gesendet: Donnerstag, 26. April 2018 10:18:10
>>> An: Development list for mkgmap
>>> Betreff: Re: [mkgmap-dev] Current mkgmap version has another
>>> java.lang.AssertionError:
>>>
>>> It's not fixed yet with the newest mkgmap version - still getting:
>>>
>>> java.lang.AssertionError: 8388608
>>>         at uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put3s(Buffer
>>> edImgFileWriter.java:143)
>>>         at uk.me.parabola.imgfmt.app.trergn.TREHeader.writeFileHeader(T
>>> REHeader.java:165)
>>>         at uk.me.parabola.imgfmt.app.CommonHeader.writeHeader(CommonHea
>>> der.java:73)
>>>         at uk.me.parabola.imgfmt.app.trergn.TREFile.writePost(TREFile.j
>>> ava:349)
>>>         at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.ja
>>> va:351)
>>>         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:10
>>> 7)
>>>         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
>>>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290)
>>>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286)
>>>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>> Executor.java:1149)
>>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>> lExecutor.java:624)
>>>         at java.lang.Thread.run(Thread.java:748)
>>>
>>>
>>> I'm compiling it again now with --keep-going to find the offending
>>> .osm.pbf tile and will upload that in a couple of hours.
>>>
>>>
>>> On 25 April 2018 at 20:28, Felix Hartmann <extremecarver at gmail.com<mailt
>>> o:extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:
>>> extremecarver at gmail.com>>> wrote:
>>> I'm trying it right now (Asia takes a couple of hours however) - I've
>>> removed the patch nevertheless.
>>>
>>> On 25 April 2018 at 20:20, Gerd Petermann <gpetermann_muenchen at hotmail.c
>>> om<mailto:gpetermann_muenchen at hotmail.com><mailto:gpetermann
>>> _muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>>> wrote:
>>> Hi Felix,
>>>
>>> I don't think that the patch changes this. As Ticker suggested I've
>>> removed the assertions introduced with r4167.
>>> Please try with r4179.
>>>
>>> Gerd
>>>
>>> ________________________________________
>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:
>>> mkgmap-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces at lists.
>>> mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>>> im
>>> Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:
>>> extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:
>>> extremecarver at gmail.com>>>
>>> Gesendet: Mittwoch, 25. April 2018 19:03:54
>>> An: Development list for mkgmap
>>> Betreff: Re: [mkgmap-dev] Current mkgmap version has another
>>> java.lang.AssertionError:
>>>
>>> oh yes - I still use the dem-empty.patch from you - I will remove it and
>>> try how it behaves without that one.
>>> (besides it I'm using  minSizePolygon = props.getProperty("min-size-polygon",
>>> 14);
>>> (instead of 8) since long long time, but I'm sure that's no cause for
>>> the error here).
>>>
>>>
>>> Felix
>>>
>>> On 25 April 2018 at 18:57, Gerd Petermann <gpetermann_muenchen at hotmail.c
>>> om<mailto:gpetermann_muenchen at hotmail.com><mailto:gpetermann
>>> _muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>><mailto:
>>> gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com
>>> ><mailto:gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at ho
>>> tmail.com>>>> wrote:
>>> Hi Felix,
>>>
>>> it seems you use a version of MapBuilder that doesn't match the current
>>> source in trunk. Is that possible?
>>> If yes, please post your version.
>>>
>>> Gerd
>>>
>>> ________________________________________
>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:
>>> mkgmap-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces at lists.
>>> mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>><mailto:
>>> mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkg
>>> map-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounc
>>> es at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>>>>
>>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:
>>> extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:
>>> extremecarver at gmail.com>><mailto:extremecarver at gmail.com<mailto:
>>> extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:
>>> extremecarver at gmail.com>>>>
>>> Gesendet: Mittwoch, 25. April 2018 18:17:30
>>> An: Development list for mkgmap
>>> Betreff: [mkgmap-dev] Current mkgmap version has another
>>> java.lang.AssertionError:
>>>
>>> java.lang.AssertionError: minlong=-8388608
>>>         at uk.me.parabola.imgfmt.app.trergn.TREFile.setBounds(TREFile.j
>>> ava:359)
>>>         at uk.me.parabola.imgfmt.app.map.Map.setBounds(Map.java:162)
>>>         at uk.me.parabola.mkgmap.build.Ma<http://uk.me.parabola.mkgmap.
>>> build.Ma><http://uk.me.parabola.mkgmap.build.Ma>pBuilder.pro
>>> cessInfo(MapBuilder.java:1000)
>>>         at uk.me.parabola.mkgmap.build.Ma<http://uk.me.parabola.mkgmap.
>>> build.Ma><http://uk.me.parabola.mkgmap.build.Ma>pBuilder.mak
>>> eMap(MapBuilder.java:288)
>>>         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:10
>>> 7)
>>>         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
>>>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290)
>>>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:286)
>>>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>> Executor.java:1149)
>>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>> lExecutor.java:624)
>>>         at java.lang.Thread.run(Thread.java:748)
>>>
>>>
>>> I'm sure back 30-40 versions mkgmap had no problems here - I basically
>>> did not change my style (only removed one resolution) - and the data is the
>>> same.
>>>
>>>
>>> Happens on Asia continent map dem/contourline creation.
>>>
>>> java -ea -jar -Xmx20000M /home/contourlines/mkgmap.jar
>>> --dem=/home/contourlines/hgt/VIEW1/,/home/contourlines/hgt/S
>>> RTM1v3.0/,/home/contourlines/hgt/VIEW3/,/home/contourlines/hgt/SRTM3v3.0/
>>> --dem-dists=9936 --dem-poly=/home/contourlines/bounds/asia.poly
>>> --max-jobs=6 --reduce-point-density=3.6 --transparent
>>> --description=openmtbmap-srtm-Asia --style-file=srtm --latin1
>>> --draw-priority=24 --mapname=74500000 --family-id=7450 --product-id=1
>>> --series-name=openmtbmap-srtm-ASIA --family-name=mtbmap-srtm-ASIA
>>> --overview-mapname=mapsetz --tdbfile 7*.osm.pbf
>>>
>>> --
>>> Felix Hartman - Openmtbmap.org & VeloMap.org
>>> Schusterbergweg 32/8
>>> 6020 Innsbruck
>>> Austria - Österreich
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk
>>> ><mailto:mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgma
>>> p-dev at lists.mkgmap.org.uk>><mailto:mkgmap-dev at lists.mkgmap.org.uk
>>> <mailto:mkgmap-dev at lists.mkgmap.org.uk><mailto:mk
>>> gmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>>>
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>>
>>>
>>> --
>>> Felix Hartman - Openmtbmap.org & VeloMap.org
>>> Schusterbergweg 32/8
>>> 6020 Innsbruck
>>> Austria - Österreich
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk
>>> ><mailto:mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgma
>>> p-dev at lists.mkgmap.org.uk>>
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>>
>>>
>>> --
>>> Felix Hartman - Openmtbmap.org & VeloMap.org
>>> Schusterbergweg 32/8
>>> 6020 Innsbruck
>>> Austria - Österreich
>>>
>>>
>>>
>>> --
>>> Felix Hartman - Openmtbmap.org & VeloMap.org
>>> Schusterbergweg 32/8
>>> 6020 Innsbruck
>>> Austria - Österreich
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>>
>>>
>>> --
>>> Felix Hartman - Openmtbmap.org & VeloMap.org
>>> Schusterbergweg 32/8
>>> 6020 Innsbruck
>>> Austria - Österreich
>>>
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>
>>
>>
>> --
>> Felix Hartman - Openmtbmap.org & VeloMap.org
>> Schusterbergweg 32/8
>> 6020 Innsbruck
>> Austria - Österreich
>>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
> Schusterbergweg 32/8
> 6020 Innsbruck
> Austria - Österreich
>



-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180426/529a32a4/attachment-0001.html>


More information about the mkgmap-dev mailing list