|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-09-24 11:37 UTC] dmitry at zend dot com
[2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 06:00:01 2025 UTC |
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.