php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58474 undefined symbol: PZVAL_UNLOCK_FREE in
Submitted: 2008-12-24 09:13 UTC Modified: 2008-12-26 23:07 UTC
From: artms at is dot lt Assigned:
Status: Closed Package: funcall (PECL)
PHP Version: 5.2.5 OS: Centos 5.0/Fedora 9
Private report: No CVE-ID: None
 [2008-12-24 09:13 UTC] artms at is dot lt
Description:
------------
Reproduced in php 5.2.6 and php 5.1.6.

funcall module tries to use PZVAL_UNLOCK_FREE which is not available. It is "static inline" defined in zend_execute.c.

Reproduce code:
---------------
<?php
dl("funcall.so");

Expected result:
----------------
Module is loaded fine.

Actual result:
--------------
PHP Warning:  dl(): Unable to load dynamic library '/usr/lib64/php/modules/funcall.so' - /usr/lib64/php/modules/funcall.so: undefined symbol: PZVAL_UNLOCK_FREE in /test.php on line 2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-26 23:07 UTC] surfchen at gmail dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

I have removed PZVAL_UNLOCK_FRE calling.It's not in the symbol table of php exe and funcall.so.

But it's weird that this error should not be raised if just dl('funcall.so').

As I know, a undefined symbol err will be raised only if calling that symbol.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 17:01:25 2020 UTC