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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC