Opened 12 years ago

#4192 new defect

libpng / IDAT CRC error when seeding tiles (CAIRO/PNG Driver)

Reported by: theram Owned by: tbonfort
Priority: normal Milestone:
Component: MapCache Version: 6.0
Severity: normal Keywords:
Cc:

Description

While using mapcache_seed to seed tiles from Mapserver, using CAIRO/PNG driver, mapcache_seed fails due to possible corrupt image returned from Mapserver.

Error:

libpng warning: Ignoring bad adaptive filter type libpng warning: Extra compressed data. libpng warning: Extra compression data. libpng 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 failed to setjmp(png_jmpbuf(png_ptr)) seeding tile 50 30 7

Switching Mapserver OUTPUTFORMAT to use AGG/PNG driver does not encounter the error.

Mapfile & mapcache.xml file attached.

mapcache_seed params that reproduces the error:

mapcache_seed -c /tmp/tb/png_error_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 6,7

(reproducable at these zoom levels, error occurs at same tile each time: seeding tile 50 30 7)

Fonts & data sent to Thomas directly

Attachments (2)

png_error.map (4.1 KB ) - added by theram 12 years ago.
mapfile
png_error_mapcache.xml (3.0 KB ) - added by theram 12 years ago.
mapcache.xml file

Download all attachments as: .zip

Change History (2)

by theram, 12 years ago

Attachment: png_error.map added

mapfile

by theram, 12 years ago

Attachment: png_error_mapcache.xml added

mapcache.xml file

Note: See TracTickets for help on using tickets.