Bug #64920 [NEW]: imagepng fails to generate correct image
From: diderich at yahoo dot com
Operating system: OpenSUSE 12.3
PHP version: 5.4.15
Package: GD related
Bug Type: Bug
Bug description:imagepng fails to generate correct image
Description:
------------
Since upgrading to php 5.4.15 on apache 2.2.22, I get the following error
messages with the VtigerCRM package.
[Fri May 24 20:00:14 2013] [error] [client 172.16.1.43] PHP Warning:
imagepng(): gd-png: fatal libpng error: Wrote palette index exceeding
num_palette in /opt/vtigercrm/Image/Canvas/GD/PNG.php on line 126, referer:
http://www.didilan.net/vtigercrm/index.php?module=Dashboard&action=index
[Fri May 24 20:00:14 2013] [error] [client 172.16.1.43] PHP Warning:
imagepng(): gd-png error: setjmp returns error condition in
/opt/vtigercrm/Image/Canvas/GD/PNG.php on line 126, referer:
http://www.didilan.net/vtigercrm/index.php?module=Dashboard&action=index
As this worked correctly before and I have not found any references
searching the web, I would like to report the issue here:
Test script:
---------------
n/a
--
Edit bug report at https://bugs.php.net/bug.php?id=64920&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64920&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64920&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64920&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64920&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64920&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64920&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64920&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64920&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64920&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64920&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64920&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64920&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64920&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64920&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64920&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64920&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64920&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64920&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64920&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64920&r=mysqlcfg
Thread (3 messages)
- diderich at yahoo dot com