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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC