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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
9 - 7 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC