php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57449 "Cannot delete class ..." error
Submitted: 2006-12-21 07:40 UTC Modified: 2006-12-22 08:48 UTC
From: d-sano at cybozu dot co dot jp Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: 4.3.11 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: d-sano at cybozu dot co dot jp
New email:
PHP Version: OS:

 

 [2006-12-21 07:40 UTC] d-sano at cybozu dot co dot jp
Description:
------------
"Cannot delete class ..." error occures when cached_compile method is executed.

Line 264 may be wrong.

if(cache_entry->data.file.classes) {
    for(ii = 0; ii < i ; ii++) {
        uninstall_class(cache_entry->data.file.classes[i] TSRMLS_CC);
    }
}

->

if(cache_entry->data.file.classes) {
    for(ii = 0; ii < i ; ii++) {
        uninstall_class(cache_entry->data.file.classes[ii] TSRMLS_CC);
    }
}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-22 08:48 UTC] gopalv82 at yahoo dot com
Thanks for taking the time to read the code and report this in detail.

This bug has been fixed in CVS a while back
http://cvs.php.net/viewvc.cgi/pecl/apc/apc_main.c?view=diff&r1=3.88&r2=3.89

And I'm working towards stabilizing for a new release.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 22:01:26 2019 UTC