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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Mon Sep 16 02:01:26 2019 UTC