|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57842 Perl Interpreter Problem
Submitted: 2007-09-20 12:26 UTC Modified: 2013-02-18 00:35 UTC
From: dbergeron at exec-i dot com Assigned: dmitry (profile)
Status: No Feedback Package: perl (PECL)
PHP Version: 5.2.1 OS: Linux Red Hat
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-09-20 12:26 UTC] dbergeron at exec-i dot com
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;');
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-24 11:37 UTC] dmitry at zend dot com
I don't know where these strings come from.
May be they are the reason of bugs in your Perl module.
I can just guess, becaus I am not able to reproduce it without Perl code.
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 26 03:03:36 2021 UTC