Created attachment 168739 [details]
Sample CGI script, test103.png, and additional outputs from tests
p5-GD does not read PNG files when running under mod_perl on 10.2 or 10.3RC3, but does correctly reads them on 9.3. A simple CGI test file reads test103.png. This fails and the Apache error log contains an error message.
In the Apache Error log:
GD Error: gd-png: fatal libpng error: bad parameters to zlib
GD Warning: gd-png error: setjmp returns error condition 2
Attached is a SHAR file with the test103.png and test103.cgi. Install these on the Apache server. Run the CGI script (example above). The image PNG will be displayed but the CGI script will fail to read it. If you execute the CGI script using the command line, it succeeds:
cd ... # cd to directory containing test103.png, test103.cgi
... <h1>images/test103.png</h1><img src="images/test103.png">
<br> Read Image
Someone(tm) should test if the described problem can be reproduced.
As perl@ is a group, and asking a group to do something does not really work in general (only in some cornercases), that's why nobody tested it until now.
10.2 and 10.3 are gone. We have p5-GD version 2.71. This is overcome by events.
If there are problems with the newer version, please, reopen.