From owner-freebsd-apache@freebsd.org Sun May 15 14:04:38 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F962B3BC02 for ; Sun, 15 May 2016 14:04:38 +0000 (UTC) (envelope-from bounce@spareroom.co.uk) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4A85A1885 for ; Sun, 15 May 2016 14:04:38 +0000 (UTC) (envelope-from bounce@spareroom.co.uk) Received: by mailman.ysv.freebsd.org (Postfix) id 46195B3BC01; Sun, 15 May 2016 14:04:38 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45A65B3BBFE for ; Sun, 15 May 2016 14:04:38 +0000 (UTC) (envelope-from bounce@spareroom.co.uk) Received: from smtp02.spareroom.co.uk (mail.spareroom.co.uk [84.39.119.202]) by mx1.freebsd.org (Postfix) with ESMTP id BBD931883 for ; Sun, 15 May 2016 14:04:36 +0000 (UTC) (envelope-from bounce@spareroom.co.uk) Received: from cron02.spareroom.net (cron02.spareroom.net [172.16.2.122]) by smtp02.spareroom.co.uk (Postfix) with ESMTP id 0027B41023 for ; Sun, 15 May 2016 15:04:36 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spareroom.co.uk; s=spareroomcouk; t=1463321076; bh=gYUeY3W+JR92wWIV8ED74DYa2FZseIKPF33pPa/mZJc=; h=Subject:To:Reply-To:From:Date; b=KXs8kDuU3JrPCGdBysJFIpk3GbxmFXnIZgaXt94Ai8ZPa+jiNwYJ23nq6awRSjf6M 7Pg14nTlFtfqJwvtlawj7p3G84FV3GlHBgwQVZ8BbXk07MwKL9RK2cDf9i3ZuZJrxd n7UhM9L9wUVVEsEM7WZ/eHYeV2Cfn4t7vrmxmQJc= Received: by cron02.spareroom.net (Postfix, from userid 0) id F33BC20787; Sun, 15 May 2016 15:04:35 +0100 (BST) MIME-Version: 1.0 X-Mailer: MIME-tools 5.507 (Entity 5.507) Subject: Fraudulent email warning To: apache@freebsd.org Reply-To: gemma.craft@spareroom.co.uk From: "SpareRoom" Message-Id: <20160515140435.F33BC20787@cron02.spareroom.net> Date: Sun, 15 May 2016 15:04:35 +0100 (BST) Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 14:04:38 -0000 Hi, On Saturday 14th, a malicious user used SpareRoom's "Tell a Friend" recommendation system to send messages purporting to be from Bank of America Home Loans. The email said money would be paid into the recipient's bank account and requested bank account details along with other personal information. The email came from a SpareRoom.co.uk email address, but the content of the email is a scam and wasn't in any way sanctioned by SpareRoom. Please don't reply to this email with your bank details or any other personal information. Even though the reply will go to SpareRoom, not the malicious user that created the email, the message was a scam and we don't require your details. However, if you replied to the email address in the body of the email - the one beginning 'bankofamericanewyork.homeloan1' - please contact your bank immediately to let them know. As soon as the source of the emails was discovered we locked this system down to stop it sending any more emails. Other than the misuse of the "Tell a Friend" system, we're not aware of any breaches to the security of SpareRoom. It appears as though the list of email addresses that were targeted were obtained from an external source. There is currently no evidence to suggest that SpareRoom has been hacked; this is an isolated instance of someone misusing a specific feature of the site. We apologise sincerely for any inconvenience caused. Best wishes, The SpareRoom Team gemma.craft@spareroom.co.uk 01625 666 750 From owner-freebsd-apache@freebsd.org Sun May 15 15:11:16 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6B05B39CA7 for ; Sun, 15 May 2016 15:11:16 +0000 (UTC) (envelope-from bounce@spareroom.co.uk) Received: from smtp02.spareroom.co.uk (mail.spareroom.co.uk [84.39.119.202]) by mx1.freebsd.org (Postfix) with ESMTP id 6166217C4 for ; Sun, 15 May 2016 15:11:16 +0000 (UTC) (envelope-from bounce@spareroom.co.uk) Received: from cron02.spareroom.net (cron02.spareroom.net [172.16.2.122]) by smtp02.spareroom.co.uk (Postfix) with ESMTP id 352A8411AF for ; Sun, 15 May 2016 16:11:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spareroom.co.uk; s=spareroomcouk; t=1463325075; bh=UEOpzGEnfQDpSZUHyjZiw0LqNslw1Ow3+EbtVyVYiv0=; h=From:To:Reply-To:Subject:Date; b=G4AJS1FZ1mhWAlZL7ZrGOEHBBL3ShyaGdi78SYqHmPHCWtDZa0O8U0BrCJy4Yr8c+ eImCYyTmrZzG0FBdwSeX98CpFu0J/3eTat2Xo0duVhhZ9kTTPSPym/Eir0sTeDcYHm sByAqM7B4UouLjHx4bLbfQjruEk7tcSfaDzFcGFY= Received: by cron02.spareroom.net (Postfix, from userid 0) id 2E12A20789; Sun, 15 May 2016 16:11:15 +0100 (BST) MIME-Version: 1.0 X-Mailer: MIME-tools 5.507 (Entity 5.507) From: "SpareRoom" To: freebsd-apache@freebsd.org Reply-To: gemma.craft@spareroom.co.uk Subject: Fraudulent email warning Message-Id: <20160515151115.2E12A20789@cron02.spareroom.net> Date: Sun, 15 May 2016 16:11:15 +0100 (BST) Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 15:11:16 -0000 Hi, On Saturday 14th, a malicious user used SpareRoom's "Tell a Friend" recommendation system to send messages purporting to be from Bank of America Home Loans. The email said money would be paid into the recipient's bank account and requested bank account details along with other personal information. The email came from a SpareRoom.co.uk email address, but the content of the email is a scam and wasn't in any way sanctioned by SpareRoom. Please don't reply to this email with your bank details or any other personal information. Even though the reply will go to SpareRoom, not the malicious user that created the email, the message was a scam and we don't require your details. However, if you replied to the email address in the body of the email - the one beginning 'bankofamericanewyork.homeloan1' - please contact your bank immediately to let them know. As soon as the source of the emails was discovered we locked this system down to stop it sending any more emails. Other than the misuse of the "Tell a Friend" system, we're not aware of any breaches to the security of SpareRoom. It appears as though the list of email addresses that were targeted were obtained from an external source. There is currently no evidence to suggest that SpareRoom has been hacked; this is an isolated instance of someone misusing a specific feature of the site. We apologise sincerely for any inconvenience caused. Best wishes, The SpareRoom Team gemma.craft@spareroom.co.uk 01625 666 750 From owner-freebsd-apache@freebsd.org Mon May 16 09:34:36 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18C0DB3B585 for ; Mon, 16 May 2016 09:34:36 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0754F1CD2 for ; Mon, 16 May 2016 09:34:36 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 06B05B3B584; Mon, 16 May 2016 09:34:36 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 065CBB3B583 for ; Mon, 16 May 2016 09:34:36 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org (portscout.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE13B1CD0 for ; Mon, 16 May 2016 09:34:35 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org ([127.0.1.123]) by portscout.freebsd.org (8.15.2/8.15.2) with ESMTP id u4G9YZ9K052217 for ; Mon, 16 May 2016 09:34:35 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.freebsd.org (8.15.2/8.15.2/Submit) id u4G9YZmQ052214; Mon, 16 May 2016 09:34:35 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201605160934.u4G9YZmQ052214@portscout.freebsd.org> X-Authentication-Warning: portscout.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Mon, 16 May 2016 09:34:35 +0000 From: portscout@FreeBSD.org To: apache@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 09:34:36 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/apache@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ www/mod_auth_cas | 1.0.9.1 | v1.1 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks. From owner-freebsd-apache@freebsd.org Tue May 17 18:49:44 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4789B3F4FB for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id AF037132A for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AE507B3F4FA; Tue, 17 May 2016 18:49:44 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADF7DB3F4F9 for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92ABA1328 for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4HIniIX059551 for ; Tue, 17 May 2016 18:49:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 209585] www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts Date: Tue, 17 May 2016 18:49:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: papowell@astart.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 18:49:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209585 Bug ID: 209585 Summary: www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: papowell@astart.com Assignee: apache@FreeBSD.org Flags: maintainer-feedback?(apache@FreeBSD.org) Created attachment 170413 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170413&action= =3Dedit SHAR file containing test scripts to reproduce problem Apache, MOD_PERL, and MySQL Modules Have Wierd Failure on FreeBSD 10.X But = Not on FreeBSD 9.3 Note: this problem was initially reported as 208370, but this problem appea= rs to be related to Apache and the dynamic loading of modules using MySQL and not to using the GD graphics library. FreeBSD 10.3: The Apache mod_perl + p5-GD + mod_dbd DBD + mysql appear to have a subtle but catastrophic interaction. IF a Perl GCI script to try to read a PNG file using the GD Perl module THEN reading the PNG file fails, you get an error and the apache log file contains: GD Error: gd-png: fatal libpng error: bad parameters to zlib GD Warning: gd-png error: setjmp returns error condition 2 Also, the same interaction occurs when you have Apache mod_perl + p5-GD + mod_auth_mysql The common element appears to be the dynamic loading of the MySQL client library. FreeBSD 9.3: The same combination shown above works fine. DETAILS: On FreeBSD 10.3: Apache 24 IF you load the mod_perl AND you have a Perl CGI script AND the perl Perl CGI script uses GD via the p5-gd (GD.pm) module AND you load the mod_dbd module AND you configure mod_dbd to use mysql i.e. - DBDriver mysql DBDParams "host=3D127.0.0.1 dbname=3Dapache user=3Dadmin pass=3Dpasswor= d" AND The Perl GCI script to try to read a PNG file THEN reading the PNG file fails, you get an error and the apache log file contains: GD Error: gd-png: fatal libpng error: bad parameters to zlib GD Warning: gd-png error: setjmp returns error condition 2 Just to make it more complicated, If you do not use mod_perl, or do not use the mysql DBDriver then everything works OK: MOD Perl, DB Driver Enabled LoadModule perl_module libexec/apache24/mod_perl.so DBDriver mysql
Did NOT Read Image MOD Perl, DB Driver Disabled LoadModule perl_module libexec/apache24/mod_perl.so #DBDriver mysql
Read Image No MOD Perl, DB Driver Enabled #LoadModule perl_module libexec/apache24/mod_perl.so DBDriver mysql
Read Image If you do not use mod_dbd, but use mod_auth_mysql, then it also fails: Using mod_auth_mysql #LoadModule authn_dbd_module libexec/apache24/mod_authn_dbd.so #LoadModule authz_dbd_module libexec/apache24/mod_authz_dbd.so #LoadModule dbd_module libexec/apache24/mod_dbd.so LoadModule perl_module libexec/apache24/mod_perl.so LoadModule mysql_auth_module libexec/apache24/mod_auth_mysql.so DBDriver mysql
Did NOT Read Image To Reproduce this, attached are a set of scripts that will configure a Free= BSD installation. and run the tests which generated the fault indications. 1. Install the FreeBSD system. (I use VirtualBox and Virtual Machines) You will need the latests versions of the PORTS tree so you can skip installing the ports. You may want to do this for FreeBSD 10.3 and FreeBSD 9.3 2. Copy the step* and test103* files to the test system. 3. On the test system run the step* files: sh step1 # will modify /etc/rc.conf and install pkg and ports tree sh step2 # installs Apache, MySQL, GD, and support modules sh step3 # configures, compiles and installs devel/apr1 # you need to select MySQL support sh step4 # sets up a toy MySQL database for testing. See # Enabling_and_Administring_authn_dbd for an explanation sh step5 # modifies the Apache httpd.conf file and installs the # test103.cgi script and test103.png file. sh step6 # runs a set of tests on different Apache configurations. # This is done by commenting out critical lines in the # Apache httpd.conf file. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Tue May 17 18:49:44 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CF99B3F4F5 for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 57CF61326 for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 571B6B3F4E9; Tue, 17 May 2016 18:49:44 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56BE8B3F4E8 for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 474891325 for ; Tue, 17 May 2016 18:49:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4HIniIT059551 for ; Tue, 17 May 2016 18:49:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: maintainer-feedback requested: [Bug 209585] www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts Date: Tue, 17 May 2016 18:49:43 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 18:49:44 -0000 papowell@astart.com has reassigned Bugzilla Automation 's request for maintainer-feedback to apache@FreeBSD.org: Bug 209585: www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209585 --- Description --- Created attachment 170413 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170413&action= =3Dedit SHAR file containing test scripts to reproduce problem Apache, MOD_PERL, and MySQL Modules Have Wierd Failure on FreeBSD 10.X But = Not on FreeBSD 9.3 Note: this problem was initially reported as 208370, but this problem appea= rs to be related to Apache and the dynamic loading of modules using MySQL and not to using the GD graphics library. FreeBSD 10.3: The Apache mod_perl + p5-GD + mod_dbd DBD + mysql appear to have a subtle but catastrophic interaction. IF a Perl GCI script to try to read a PNG file using the GD Perl module THEN reading the PNG file fails, you get an error and the apache log file contains: GD Error: gd-png: fatal libpng error: bad parameters to zlib GD Warning: gd-png error: setjmp returns error condition 2 Also, the same interaction occurs when you have Apache mod_perl + p5-GD + mod_auth_mysql The common element appears to be the dynamic loading of the MySQL client library. FreeBSD 9.3: The same combination shown above works fine. DETAILS: On FreeBSD 10.3: Apache 24 IF you load the mod_perl AND you have a Perl CGI script AND the perl Perl CGI script uses GD via the p5-gd (GD.pm) module AND you load the mod_dbd module AND you configure mod_dbd to use mysql i.e. - DBDriver mysql DBDParams "host=3D127.0.0.1 dbname=3Dapache user=3Dadmin pass=3Dpasswor= d" AND The Perl GCI script to try to read a PNG file THEN reading the PNG file fails, you get an error and the apache log file contains: GD Error: gd-png: fatal libpng error: bad parameters to zlib GD Warning: gd-png error: setjmp returns error condition 2 Just to make it more complicated, If you do not use mod_perl, or do not use the mysql DBDriver then everything works OK: MOD Perl, DB Driver Enabled LoadModule perl_module libexec/apache24/mod_perl.so DBDriver mysql
Did NOT Read Image MOD Perl, DB Driver Disabled LoadModule perl_module libexec/apache24/mod_perl.so #DBDriver mysql
Read Image No MOD Perl, DB Driver Enabled #LoadModule perl_module libexec/apache24/mod_perl.so DBDriver mysql
Read Image If you do not use mod_dbd, but use mod_auth_mysql, then it also fails: Using mod_auth_mysql #LoadModule authn_dbd_module libexec/apache24/mod_authn_dbd.so #LoadModule authz_dbd_module libexec/apache24/mod_authz_dbd.so #LoadModule dbd_module libexec/apache24/mod_dbd.so LoadModule perl_module libexec/apache24/mod_perl.so LoadModule mysql_auth_module libexec/apache24/mod_auth_mysql.so DBDriver mysql
Did NOT Read Image To Reproduce this, attached are a set of scripts that will configure a Free= BSD installation. and run the tests which generated the fault indications. 1. Install the FreeBSD system. (I use VirtualBox and Virtual Machines) You will need the latests versions of the PORTS tree so you can skip installing the ports. You may want to do this for FreeBSD 10.3 and FreeBSD 9.3 2. Copy the step* and test103* files to the test system. 3. On the test system run the step* files: sh step1 # will modify /etc/rc.conf and install pkg and ports tree sh step2 # installs Apache, MySQL, GD, and support modules sh step3 # configures, compiles and installs devel/apr1 # you need to select MySQL support sh step4 # sets up a toy MySQL database for testing. See # Enabling_and_Administring_authn_dbd for an explanation sh step5 # modifies the Apache httpd.conf file and installs the # test103.cgi script and test103.png file. sh step6 # runs a set of tests on different Apache configurations. # This is done by commenting out critical lines in the # Apache httpd.conf file. From owner-freebsd-apache@freebsd.org Fri May 20 15:34:16 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C338EB43C0C for ; Fri, 20 May 2016 15:34:16 +0000 (UTC) (envelope-from daniel.mafua@dempseyuniform.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id AC4B61F4C for ; Fri, 20 May 2016 15:34:16 +0000 (UTC) (envelope-from daniel.mafua@dempseyuniform.com) Received: by mailman.ysv.freebsd.org (Postfix) id A77FBB43C0A; Fri, 20 May 2016 15:34:16 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7108B43C09 for ; Fri, 20 May 2016 15:34:16 +0000 (UTC) (envelope-from daniel.mafua@dempseyuniform.com) Received: from terminus.dempseyuniform.com (terminus.dempseyuniform.com [50.32.63.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 80F5C1F49 for ; Fri, 20 May 2016 15:34:16 +0000 (UTC) (envelope-from daniel.mafua@dempseyuniform.com) Received: from exchange-d2.ad.dempseylinen.com (exchange-d.dempseylinen.com [172.16.10.11]) by terminus.dempseyuniform.com (Postfix) with ESMTPS id F0A7814F78A for ; Fri, 20 May 2016 11:25:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dempseyuniform.com; s=bubbles-xvi-ss; t=1463757947; bh=NWB6CHWiuNyBdBmSZbajLjk1vSCVT1yLLGYjxEN0Rc0=; h=From:To:Date:Subject; z=From:=20Daniel=20Mafua=20|To:=20 "apache@FreeBSD.org"=20|Date:=20Fri,=2020=20Ma y=202016=2011:25:46=20-0400|Subject:=20FreeBSD=20Port:=20www/mod_p erl2; b=avMe2RFkxNjq3Fn2MxjiG9vcWC8DdivuTfhHZ7ig4/hQfbO1/3nNrR1V7JJegTW59 gR17J1e1a8IAuExI78XuGS+ic/z8SyAmezRYpLiKSijXWWSYwkT6tFL0RztsxTjFr0 tUnpYOM7KhiOvnzoJtLfuUmXBlV2WjuMhV3+urIQ= Received: from EXCHANGE-D.ad.dempseylinen.com ([::1]) by exchange-d.ad.dempseylinen.com ([::1]) with mapi; Fri, 20 May 2016 11:25:46 -0400 From: Daniel Mafua To: "apache@FreeBSD.org" Date: Fri, 20 May 2016 11:25:46 -0400 Subject: FreeBSD Port: www/mod_perl2 Thread-Topic: FreeBSD Port: www/mod_perl2 Thread-Index: AQHRsqvhnLhO5R9HqEaTssOFSHl/HQ== Message-ID: <865732CAD56682479AE4806B3C648A5C10E31C9508@exchange-d.ad.dempseylinen.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 15:34:16 -0000 Perl 5.24 is now live in the ports tree, however mod_perl2 still hasn't res= olved issues with 5.22. In the mod_perl2 make file, a check is performed bu= t only against 5.22. .if ${PERL_VER} =3D=3D 5.22 This should probably be changed to >=3D From owner-freebsd-apache@freebsd.org Sat May 21 19:45:03 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22438B45144 for ; Sat, 21 May 2016 19:45:03 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 08C711324 for ; Sat, 21 May 2016 19:45:03 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: by mailman.ysv.freebsd.org (Postfix) id 045F4B45143; Sat, 21 May 2016 19:45:03 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03F8EB45142 for ; Sat, 21 May 2016 19:45:03 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B4BD1323 for ; Sat, 21 May 2016 19:45:01 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from [192.168.100.100] ([87.139.233.65]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lg0sd-1btQhl2Jxr-00pbqT; Sat, 21 May 2016 21:40:50 +0200 Subject: Re: FreeBSD Port: www/mod_perl2 References: <865732CAD56682479AE4806B3C648A5C10E31C9508@exchange-d.ad.dempseylinen.com> Cc: Daniel Mafua To: "apache@FreeBSD.org" From: olli hauer Message-ID: <4f4aa992-c8dc-bd7f-29aa-3ecf44617741@gmx.de> Date: Sat, 21 May 2016 21:40:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <865732CAD56682479AE4806B3C648A5C10E31C9508@exchange-d.ad.dempseylinen.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:tHfGBS08ijhIkZFBuzAopmBdtFgmkWHm516NnGrx0kP4S2hAboN r/zNWOtbgHhrHaLxy64jT146hsHdWvc7xHYAiHqCt0muBCfhk6vid3KIwCWJ5G7qlvuIIO+ 51G1o5voiUa9ofmP3yZ6aAXejOZzYnnZgNE2MleYXJ/qdjgnk8q4e0hfOKiMBs8ksucTsvt ySgDODxbwpy7zOebPfiSw== X-UI-Out-Filterresults: notjunk:1;V01:K0:hJZXYr6IdAk=:SffkHkn6hHvRShclitIOe9 smrm3MzvukeIBe+EVtxa0TpWO+Bo1mnJPqqHjrwmXgFSeEd+EHteud4ZSHpzzlZ23wy8vnqGI JBpBf3/A7aXB8Iwk+GMmRbM3wQJ97aMwyAJKbV7d9MREWy+p6td5S3RfASw5J4PIhgBJ+Ehyp iReqN3UZLU3C3Yya002Jt/NctaPQraz3uv9gDdBG6qAS6x7o9ip0i6s29xEodoVVKoJXhCDsm F4T+wXX1Dl5obeZJa4u/1J/5c3qpVlu8wOlG+6E8WY6jmTvMtOPDes61YSWx0VGQ87hLD+vkL 6Ja3eb05NmefRVEmsaah850GKdSQPi1jdYiEa+Vf80GEtcKiu4EZjO+GkJWrtlJ9+Croxb43g lisRD+WRDV+DRr10jJ2clYNnAOdgpDRZeCzBrKMqHol6jUPxnIKskaQHgdnJIOp9ErjkvJZFg 6y2D2ChryjtTR6MEBkr3dJtghm46SFn7v61DvdBFY32bPlEKBxo9/LlvOdVJ46LWFlYmXdBtt /ANuucpDwWOQIszvPoFrLm7xe2DK9hp4/8LEWyvG8HynUIJu3MdV3UVxRGswL59yH54Ylu1Ru F/PvsawH7mJ7YyFt5vseZDZZwTKUtOWK9ms/eY+tt9/ETjqKglnLsbQi88gPvU9T8X5Clcozs bfSpo6Sp/ZyblKGJqnUmocesNUFbnMPiUwSgGBPULRyyooyLr6MYiVzP4md3khPcAWecxFPg4 whk1W+gaDwDu2ur2dei7Ix+RP/EVy1uzCLFL34FDrjkLYY7Al/uRsjhJ9UFMc8zlxYfliCsrj lW68Z0b X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 19:45:03 -0000 On 2016-05-20 17:25, Daniel Mafua via freebsd-apache wrote: > > Perl 5.24 is now live in the ports tree, however mod_perl2 still hasn't resolved issues with 5.22. In the mod_perl2 make file, a check is performed but only against 5.22. > > .if ${PERL_VER} == 5.22 > > This should probably be changed to >= > Hi Daniel, thanks for the note! I've just committed your patch. -- olli