[mapserver-users] Mapcache Seed / libpng error?
thomas bonfort
thomas.bonfort at gmail.com
Fri Feb 17 07:55:01 PST 2012
Andrew,
I was unable to reproduce the issue with your test case. Using the
trunk mapserver version, I successfully seeded levels 6 and 7. Can you
try with the trunk version on your system, there have been some
changes in the cairo font rendering code that might fix the issue you
encountered.
regards,
thomas
On Thu, Feb 16, 2012 at 22:57, Andrew Cowie
<CowieA at landcareresearch.co.nz> wrote:
> Ticket created:
>
> http://trac.osgeo.org/mapserver/ticket/4192
>
>
> -----Original Message-----
> From: thomas bonfort [mailto:thomas.bonfort at gmail.com]
> Sent: Wednesday, 15 February 2012 10:43 p.m.
> To: Andrew Cowie
> Cc: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] Mapcache Seed / libpng error?
>
> Is the error always reproducible ?
> From the logs it seems that the png data received by mapcache from the
> wms server is corrupt. More investigation would be needed to determine
> if the network or the wms server is at fault for this.
>
> regards,
>
> --
> thomas
>
> On Wed, Feb 15, 2012 at 04:45, Andrew Cowie
> <CowieA at landcareresearch.co.nz> wrote:
>> Hello List,
>>
>>
>>
>> We’ve been using mapcache_seed ( mapcache SVN checkout 13002 ) to build our
>> caches mostly successfully so far, but recently have come up against an
>> error which has only cropped up with a certain layer which includes our text
>> & labels
>>
>>
>>
>> www-data at server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml
>> -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 7,8
>>
>> found old lockfile /tmp/_gc_lock9-175-1233-slope_cache_nztm.lck, deleting it
>>
>> found old lockfile /tmp/_gc_lock7-7-9-2012-02-02_text_cache_nztm.lck,
>> deleting it
>>
>> found old lockfile /tmp/_gc_lock9-136-179-terr_auth_cache_nztm.lck, deleting
>> it
>>
>> found old lockfile /tmp/_gc_lock9-138-86-wards_cache_nztm.lck, deleting it
>>
>> seeding tile 65 25 7libpng error: IDAT: CRC error
>>
>> failed to setjmp(png_jmpbuf(png_ptr))
>>
>> failed to load image data from metatile
>>
>> failed to setjmp(png_jmpbuf(png_ptr))
>>
>> failed to load image data from metatile
>>
>> seeding tile 130 50 8
>>
>> www-data at server$
>>
>>
>>
>> or...
>>
>>
>>
>> www-data at server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml
>> -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 6,7
>>
>> found old lockfile /tmp/_gc_lock9-137-51-terr_auth_cache_nztm.lck, deleting
>> it
>>
>> found old lockfile /tmp/_gc_lock9-182-1201-slope_cache_nztm.lck, deleting it
>>
>> found old lockfile /tmp/_gc_lock9-138-197-wards_cache_nztm.lck, deleting it
>>
>> seeding tile 25 15 6libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng warning: Ignoring bad adaptive filter type
>>
>> libpng error: IDAT: CRC error
>>
>> failed to setjmp(png_jmpbuf(png_ptr))
>>
>> failed to load image data from metatile
>>
>> seeding tile 50 35 7failed to setjmp(png_jmpbuf(png_ptr))
>>
>> failed to load image data from metatile
>>
>> www-data at server$
>>
>>
>>
>>
>>
>> The next step will be to checkout the latest SVN version. But we are
>> currently mid-build with some other layers, so are waiting for them to
>> finish before we do that. But thought we’d fire it out to the list to see
>> if anyone has any ideas as to what might be causing this?
>>
>>
>>
>>
>>
>> Below is the mapcache config:
>>
>>
>>
>> <source name="src_text_update" type="wms">
>>
>> <http>
>>
>> <url>http://server/cgi-bin/mapserv601?</url>
>>
>> </http>
>>
>> <getmap>
>>
>> <params>
>>
>> <FORMAT>image/png</FORMAT>
>>
>> <LAYERS>text</LAYERS>
>>
>> <MAP>/opt/mapserver/mapfiles/m6scenz_topo_new.map</MAP>
>>
>> <TRANSPARENT>true</TRANSPARENT>
>>
>> </params>
>>
>> </getmap>
>>
>> </source>
>>
>>
>>
>> <tileset name="2012-02-02_text_cache_nztm">
>>
>> <source>src_text_update</source>
>>
>> <cache>disk</cache>
>>
>> <format>PNG</format>
>>
>> <grid>portalgridnztm1</grid>
>>
>> <metatile>5 5</metatile>
>>
>> <metabuffer>10</metabuffer>
>>
>> </tileset>
>>
>>
>>
>>
>>
>> "labelcache_map_edge_buffer" "-10" is set in mapserver
>> WEB METADATA
>>
>>
>>
>>
>>
>> Cheers
>>
>>
>>
>>
>>
>> Andrew
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ________________________________
>> Please consider the environment before printing this email
>> Warning: This electronic message together with any attachments is
>> confidential. If you receive it in error: (i) you must not read, use,
>> disclose, copy or retain it; (ii) please contact the sender immediately by
>> reply email and then delete the emails.
>> The views expressed in this email may not be those of Landcare Research New
>> Zealand Limited. http://www.landcareresearch.co.nz
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
> Please consider the environment before printing this email
> Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
> The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list