New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

png causes abort on libpng error: IDAT: CRC error #1144

Closed
springmeyer opened this Issue Mar 23, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@springmeyer

This comment has been minimized.

Show comment
Hide comment
@springmeyer

springmeyer Mar 23, 2012

Member

Looks like the abort is happening due to the image being interlaced:


~/projects/mapnik[master]$ python -c "import mapnik as m;m.Image.open('crashing.png')"
Problem loading plugin library: /usr/local/lib/mapnik/input/occi.input (dlopen failed - plugin likely has an unsatisfied dependency or incompatible ABI)
libpng error: IDAT: CRC error
Abort trap: 6
~/projects/mapnik[master]$ file crashing.png 
crashing.png: PNG image data, 570 x 570, 8-bit/color RGBA, interlaced

So, dupe of #940

Member

springmeyer commented Mar 23, 2012

Looks like the abort is happening due to the image being interlaced:


~/projects/mapnik[master]$ python -c "import mapnik as m;m.Image.open('crashing.png')"
Problem loading plugin library: /usr/local/lib/mapnik/input/occi.input (dlopen failed - plugin likely has an unsatisfied dependency or incompatible ABI)
libpng error: IDAT: CRC error
Abort trap: 6
~/projects/mapnik[master]$ file crashing.png 
crashing.png: PNG image data, 570 x 570, 8-bit/color RGBA, interlaced

So, dupe of #940

@artemp artemp closed this Apr 10, 2012

@artemp

This comment has been minimized.

Show comment
Hide comment
@artemp

artemp Apr 10, 2012

Member

fixed in 7c0824f

NOTE: interlaced PNGs (adam7) supported when we can rely on png_read_image(..) to read whole image at once

Member

artemp commented Apr 10, 2012

fixed in 7c0824f

NOTE: interlaced PNGs (adam7) supported when we can rely on png_read_image(..) to read whole image at once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment