Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 22:02:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208370] p5-GD does not read PNG files under mod_perl on 10.2, 10.3RC3
Message-ID:  <bug-208370-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208370

            Bug ID: 208370
           Summary: p5-GD does not read PNG files under mod_perl on 10.2,
                    10.3RC3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: papowell@astart.com

Created attachment 168739
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168739&action=
=3Dedit
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.3RC=
3,
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.

http://localhost/test103.cgi
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 thes=
e 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
perl test103.cgi

  ... <h1>images/test103.png</h1><img src=3D"images/test103.png">
      <br> Read Image

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208370-13>