#42717 [Opn->Bgs]: Perl Interpreter Problem
| From: | scottmac@php.net | Date: | Thu, 20 Sep 2007 15:48:22 +0000 |
| Subject: | #42717 [Opn->Bgs]: Perl Interpreter Problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117728@lists.php.net to get a copy of this message | ||
ID: 42717
Updated by: scottmac@php.net
Reported By: dbergeron at exec-i dot com
-Status: Open
+Status: Bogus
Bug Type: Performance problem
Operating System: Linux
PHP Version: 5.2.4
New Comment:
Report bugs for PECL extensions on the PECL bug tracker.
http://pecl.php.net/perl/
Previous Comments:
------------------------------------------------------------------------
[2007-09-20 15:40:47] dbergeron at exec-i dot com
Description:
------------
Our project uses the Perl Interpreter to access a Perl package
that returns an array reference that will be displayed by a PHP class.
The problem is that the Perl Interpreter attempts to free non-existent
shared strings during global destruction.
This dumps over 12,000 lines of text into the Apache log and
impacts performance.
Reproduce code:
---------------
$perl = new Perl();
try {
$perl->eval('use lib "includes/modules/";');
$perl->eval('use Assessment;');
$dAr=$perl->{"Assessment::report"}($_POST);
}
catch (PerlException $exception) {
echo "Perl Error: " . $exception->getMessage();
}
Assessment is a Perl package that queries a DB2 database and
returns data that is displayed in the browser.
Expected result:
----------------
The apache log file without all the error messages
Actual result:
--------------
Over 12,000 lines of text in the apache log file that look like this:
Attempt to free non-existent shared string 'exe_ext' during global
destruction.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42717&edit=1