From: dbergeron at exec-i dot com
Operating system: Linux
PHP version: 5.2.4
PHP Bug Type: Performance problem
Bug description: Perl Interpreter Problem
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 bug report at http://bugs.php.net/?id=42717&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=42717&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=42717&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=42717&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42717&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=42717&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42717&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42717&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42717&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42717&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42717&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=42717&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=42717&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42717&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42717&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42717&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42717&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42717&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42717&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42717&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42717&r=mysqlcfg