php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58878 APC Crashes when loading classes
Submitted: 2009-10-04 18:40 UTC Modified: 2011-09-18 13:19 UTC
Votes:8
Avg. Score:4.0 ± 1.3
Reproduced:6 of 6 (100.0%)
Same Version:3 (50.0%)
Same OS:3 (50.0%)
From: info at thomas-peterson dot de Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.9/5.3 OS: *
Private report: No CVE-ID: None
 [2009-10-04 18:40 UTC] info at thomas-peterson dot de
Description:
------------
Hello,

with Php Version 5.3 and 5.2.9 i become an error with the new APC Version:

[apc-error] Cannot redeclare class zend_application_bootstrap_bootstrapper in C:\xampp\htdocs\project\library\Zend\Loader.php on line 83

This Error can i reproduce with many Software e.g. phpmyadmin

With the Version:
Version         3.1.0-dev
$Revision: 3.151 $

the error comes not :)
This Version is included in xampp


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-05 10:23 UTC] gopalv82 at yahoo dot com
Do you mean that 3.1.0-dev does not have this error?
 [2009-10-05 10:38 UTC] info at thomas-peterson dot de
Yes thats correct with 3.1.0-dev it works.
 [2009-10-06 15:27 UTC] gopalv82 at yahoo dot com
3.0.19 is a dead branch, I'm not going to fix anything there anymore (except maybe a security fix).

If 3.1.3p1 works, then you're good to go with that.

Also in case you want to catch me personally & make me fix stuff, here's the next meeting.

http://news.php.net/php.apc.dev/222
 [2009-10-06 17:08 UTC] pierre dot php at gmail dot com
This problem happens with today SVN and on linux as well.

I have ask the reported to write a smaller reproduce script than the Zend Framework :).

Please note that I got many similar reports (same error) lately.
 [2009-10-07 00:05 UTC] shire@php.net
This doesn't reproduce for me with the latest APC.  If someone posts specific reproduction instructions and/or a simpler reproduction code example I'll debug this further.
 [2009-10-08 18:06 UTC] info at thomas-peterson dot de
I have make an test project:
http://www.thomas-peterson.de/apctest.rar
 [2009-10-10 17:36 UTC] shire@php.net
Thanks for the reproduction script, however this still doesn't produce the error you describe for me.  Is there anything particular in your APC or PHP configurations that affects this?  Anyone else have any luck?
 [2009-10-12 08:57 UTC] kukulich at kukulich dot cz
I got this error with apctest.rar:

[Mon Oct 12 14:24:36 2009] [apc-error] Cannot redeclare class zend_application_bootstrap_bootstrapper in C:\Test\apc\Zend\Loader.php on line 83.

My settings:

[apc]
extension=php_apc.dll
apc.enabled = On

WinXP SP2, Apache 2.2 VC9, PHP 5.3.1 RC 1 VC9, APC 3.1.3p1. 

But I get this error since APC 3.0.17. Last working version was 3.0.16 (3.0.17-dev in pecl4win).

If I disable apc.stat then I see "It works" for the first time but after refresh I see:

Warning: require_once(C:\Program Files\Apache2\Zend\Application.php): failed to open stream: No such file or directory in C:\Test\apc\index.php on line 5 Fatal error: require_once(): Failed opening required 'C:\Program Files\Apache2\Zend\Application.php' (include_path='.') in C:\Test\apc\index.php on line 5
 [2009-10-12 10:02 UTC] info at thomas-peterson dot de
@kukulich

[Mon Oct 12 14:24:36 2009] [apc-error] Cannot redeclare class
zend_application_bootstrap_bootstrapper in C:\Test\apc\Zend\Loader.php
on line 83.

Yes this is the error
 [2009-10-15 08:31 UTC] gopalv82 at yahoo dot com
Sorry, I still can't reproduce this error with a later build of APC.

I'm testing this against php 

PHP 5.3.1-dev (built: Aug  4 2009 17:47:44) (DEBUG)

And it keeps saying "It works", no matter how many times I hit it.
 [2009-10-15 08:45 UTC] info at thomas-peterson dot de
Ok

Windows or Linux?

Extensions activated?
 [2009-10-15 19:08 UTC] info at thomas-peterson dot de
An Overview

Apache 2.2
 - stat = 0
  * the first request works
  * all other failed with tis error: 
    Warning: require_once(C:\Program Files\Apache2
    \Zend\Application.php):
 - stat = 1
  * all request fail with apc_error Cannot redeclare class

PHP Cli
 - stat = 0
  * all request works
 - stat = 1
  * all request fail with apc_error Cannot redeclare class
 [2009-10-15 20:31 UTC] shire@php.net
Interesting, does the setting apc.canonicalize=0 have any affect?

Which class is being redeclared in the error for the reproduction you sent us?  Your initial report said zend_application_bootstrap_bootstrapper, but I don't see that class in the repro code you posted.

Also is the require once error you listed the *complete* error?  Or is there more information after the ':'?
 [2009-10-15 20:41 UTC] info at thomas-peterson dot de
no effect with apc.canonicalize=0

[apc-error] Cannot redeclare class
zend_application_bootstrap_bootstrapper in
C:\xampp\htdocs\project\library\Zend\Loader.php on line 83

and the file is in 
Zend/Application/Bootstap/Bootstrapper

interface Zend_Application_Bootstrap_Bootstrapper {

}
 [2009-10-16 05:51 UTC] gopalv82 at yahoo dot com
I sort of worked out what could be happening here on irc last night. I think this could be a Microsoft only problem.

http://msdn.microsoft.com/en-us/library/14h5k7ff(VS.71).aspx

Quoting the significant bit

st_ino
    Number of the information node (the inode) for the file (UNIX-specific) ... The inode, and therefore st_ino, has no meaning in the FAT, HPFS, or NTFS file systems.

Which means that the st_ino is unset for a file. 

So all files on the same disk disk are identified by the same cache key!!

I think you can use the MFT file index instead of inode, but that requires an open file handle to call GetFileInformationByHandle

http://msdn.microsoft.com/en-us/library/aa364952(VS.85).aspx

So at this point, I'm giving this up to the people who know win32.

Pierre, your show :)
 [2009-10-18 07:21 UTC] pierre dot php at gmail dot com
For the record here too, a patch has been posted to apc.dev ML.

Bin for windows with the patch:

http://pecl2.php.net/downloads/php-windows-builds/qa/test/php_apc-3.1-inodefix-5.3-VC9-x86.zip

Pls try it.
 [2009-10-18 17:27 UTC] brian dot white at foxfire74 dot com
Here's what I have observed after running this for the past 8 hours or so.

1.	I needed to set apc.canonicalize = 0 (irrespective of the apc.stat setting) or I had the same problems as everyone above.
2.	With apc.stat = 1 pages load but 0 files are cached.
3.	With apc.stat = 0 everything works as expected.
4.	I see a LOT more cache fragmentation than before; but this may be a consequence of upgrading from 3.0.17-dev to 3.13p1.

I am running PHP 5.3.  My test machine is Windows 7.  My live server is Windows XP SP3.  Servers run basic PHP applications (e.g. WordPress, Coppermine Photo Gallery, etc.).
 [2009-10-26 09:17 UTC] pierre dot php at gmail dot com
> 1.	I needed to set apc.canonicalize = 0 (irrespective of the apc.stat
setting) or I had the same problems as everyone above.

That's necessary only with apc.stat = 0. I will upload a new DLL from SVN snapshot, can you try it then (see my next comment for the link)?

> 2.	With apc.stat = 1 pages load but 0 files are cached.

Files are cached but it looks like the cache_info result messes with the keys. It may be due to the file path > ino_t change (unrelated to this bug, appears in previous 3.1 as well).


> 3.	With apc.stat = 0 everything works as expected.

that's what the patch fixes, good :)


Thanks for testing and for your feedback!
 [2009-10-26 10:00 UTC] pierre dot php at gmail dot com
DLL snap with the fix (current SVN trunk):

http://downloads.php.net/pierre/php_apc-3.1-5-3-nts-svn-20091026.zip

http://downloads.php.net/pierre/php_apc-3.1-5.3-svn-20091026.zip
 [2009-10-26 16:34 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
I'm having the same problem.  I'm using CodeIgniter and gives also the "cannot redeclare ci_benchmark" at 2nd load...


Can you please give a DLL to php 5.2.x?

Thanks.
 [2009-10-27 07:21 UTC] brian dot white at foxfire74 dot com
The version of php_apc.dll in php_apc-3.1-5.3-svn-20091026.zip crashed Apache 2.2 on every page access.  I didn't include a backtrace since I don't have the corresponding symbols; but if you upload php_apc.pdb I can generate one.  I didn't test the non thread-safe version.
 [2009-10-27 09:17 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
I forgot to write my specs: APC 3.0.19 + WinXP SP2 + Apache 2.2
 [2009-10-27 15:11 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
I "solve" by assigning apc.stat_ctime = 1

but I don't know under web stress how it handles...

Thanks
 [2009-11-10 16:41 UTC] giaym at hotmail dot com
Same, the apc at pierre's site crashes with "Couldn't find module", but I believe that dll is VC9 and I am using VC6 Apache and PHP 5.3 ts.
 [2009-12-15 06:38 UTC] cevherbilger at turk dot net
I was living the same situation on my development windows 
system with php 5.2.11 and several apc versions. Same 
situation as described, with stat=0 everything works, but 
when I set stat=1, apache crashes with error "cannot 
redeclare class [some class]". The code is working on a 
different windows system, beside it is live on a heavily 
loaded linux production server for months. I'm %100 sure 
there is no bug related to apc. It started on my machine 
after I reinstalled my OS.

I spent some time commenting out some class includes and 
realized that it works with some include files but not with 
specific ones. I checked my code there is no noticeable 
difference on the class differences.

Then I saved all of my include files with adding some 
additional whitespaces with Zend Studio's editor. It looks 
stupid I know but it works!!! I'm working on the project 
with several people and using svn and everybody uses 
different text editors like notepad++, editplus etc...

However I couldn't reproduce the error by trying save the 
file with some different editors with different configs like 
ansi, utf8 with/without byte-mark ordering etc. But I'm sure 
my problem is something related to file format (encoding, 
pc/unix mode). I'd like to reproduce the error and want to 
give more detailed info but I tried my solution on another 
project with same problem, it works either.

I hope I can give another perspective to the issue.
 [2009-12-16 23:17 UTC] webmaster at plothook dot net
Is there any chance of getting php_apc.dll compliled for PHP 5.2.?? and apc 3.1.3p1 (with the patch pajoye mentions on [2009-10-26 14:17 UTC])

I'm using PHP 5.2.1l and don't yet want to jump up to 5.3
 [2009-12-31 10:44 UTC] uwog at uwog dot net
To reiterate: this is broken on linux as well.

PHP 5.3.1
APC 3.1.3p1

All combinations of apc.stat_ctime, apc.canonicalize and apc.stat don't give me any success.

The only really ugly hack that works for me, is setting apc.max_file_size to 1K, which prevents the file in question (CI_Exceptions.php from CodeIgniter 1.7.2) to be cached.
 [2010-02-02 18:14 UTC] joshualross at gmail dot com
What solved this for me was making sure my requires had the same path.

For example, the error I got was:
[apc-error] Cannot redeclare class someClass

In file A I had the following:
require_once '/path/to/someClass.php';

In file B which resides in the same directory as someClass.php I had the following:
require_once 'someClass.php';

I believe that APC caching doesn't understand that they are the same file because the path was specified for one and not the other.  

By the way, this bug hit me on RHEL and not windows.
 [2010-02-05 19:04 UTC] rrothe at mindspring dot com
Would it be possible to get 3.1.x compiled for PHP 5.2.x under windows?  I don't believe APC is currently usable for development (ie, stat=1) under windows at this point in time.

Thanks in advance.
 [2010-03-04 17:42 UTC] cmurray at murtek dot com
I see similar behavior on my CentOS 5.1 development server, but only with certain files. We make heavy use of PHP include path, and virtual hosts on this server, so these might be related to the issue. The quick fix for me was to switch off include_once_override.
I think the better fix is to broadly implement a BASE_PATH constant rather than relying on PHP include path.
 [2010-04-27 06:56 UTC] slach at 74mail dot ru
APC 3.1.3 compiled for php5.2.10 , windows xp sp2

http://elementdesignllc.com/wp-content/uploads/php_apc_3_1_3.dll

but bug with apc.stat=1 still reproduce bug with http://www.thomas-peterson.de/apctest.rar sources
 [2010-06-01 15:42 UTC] spaze-bugs at exploited dot cz
I had to set
apc.cache_by_default = 0
for development on my windows box. This effectively disables opcode caching, but the user cache is still available.

What I've noticed when apc.stat is off (which is not an option for development), that second request tries to load file from some other directory then on the first request. The other directory seems to be my server root, but of course, there's no such file there. You can see it in one of the error messages posted above too:

Fatal error: require_once(): Failed
opening required 'C:\Program Files\Apache2\Zend\Application.php'
(include_path='.') in C:\Test\apc\index.php on line 5

I'm using php_apc-5.3-svn20091115-vc6-x86.zip from http://downloads.php.net/pierre/
 [2010-06-17 19:24 UTC] sroussey at network54 dot com
I see this when setting up a server with fastcgi. The second 
load does an auto-include of a file that is already included 
(I concat a bunch of PHP files for performance).
 [2010-06-17 20:02 UTC] sroussey at network54 dot com
I found the issue (for me). It was my custom session using 
classes, and PHP has destroyed objects before the call to 
write(). It then uses the normal spl autoloader, which has 
lost my custom auto-loader by this time, can't find the class, 
throws a fatal error which is out-of-bounds as far as the page 
load is concerned.
 [2010-06-22 08:59 UTC] rrothe at mindspring dot com
I've tried all PHP windows versions (5.2.x and 5.3.x) together with all combinations of APC versions, compilers, etc, and it just does not work.  Turning on any type of file status checking simply crashes apache with the "redeclare class" errors already outlined above.

Is APC just dead for windows? Is there another op-code cache that I should be using instead?
 [2010-09-03 17:58 UTC] bb_plus at hotmail dot com
Windows 2000 Server
httpd-2.2.16-win32-x86-no_ssl
PHP 5.2.14
APC 3.1.4

php.ini
--------------------
; Enable the PHP scripting language engine under Apache.
engine = On

[PHP_APC]
extension=php_apc.dll
[APC]
apc.shm_size=128M
apc.num_files_hint=1500
; ctime verification is required to avoid
; file substitution between WordPress websites.
apc.stat_ctime=1
--------------------

With this configuration Apache crashes and locks-up Windows for approximately two minutes whenever Apache is stopped.
 [2010-09-03 18:34 UTC] bb_plus at hotmail dot com
With everything the same as above, only using this APC 3.13 file posted by slach at 74mail dot ru

http://elementdesignllc.com/wp-content/uploads/php_apc_3_1_3.dll

instead of php_apc-3.1.4-5.2-VC6-x86 from http://downloads.php.net/pierre/ Apache shutsdown normally with no errors.
 [2010-09-22 12:38 UTC] patrick dot gasior at mercy dot net
Mod Up+ I get the same 1st page loads, then rest WSOD w/o any errors being reported.
ENV Specifics
-------------
APC 5.2.9.9 (php_apc-3.0.19-5.2-Win32-VC6-x86)
PHP Version 5.2.12
Server API 	Apache 2.0 Handler
Zend Memory Manager 	enabled 
Apache Version 	Apache/2.2.14 (Win32) mod_auth_sspi/1.0.5 PHP/5.2.12
 [2010-09-24 17:21 UTC] patrick dot gasior at gmail dot com
Here's the backtace to problem encountered...
this also happens when php is loaded as a module in Apache 2.2:PHP
5.2.12 on Windows 2003.  here's the backtrace info, if you need I can
e-mail to a developer.  This only happens when we attempt to enable
php_apc.dll, however we need APC or XCache, I'd rather use APC however.

  Error In
httpd__PID__25148__Date__09_23_2010__Time_10_31_09PM__443__Second_Chance
_Exception_C0000005.dmp the assembly instruction at php5ts!shmdt+2c in
C:\Program Files\PHP\php5ts.dll from The PHP Group has caused an access
violation exception (0xC0000005) when trying to write to memory location
0x00000018 on thread 0
 Please follow up with the vendor The PHP Group for C:\Program
Files\PHP\php5ts.dll
 
  Error In
httpd__PID__11048__Date__09_23_2010__Time_10_31_06PM__428__Second_Chance
_Exception_C0000005.dmp the assembly instruction at php5ts!shmdt+2c in
C:\Program Files\PHP\php5ts.dll from The PHP Group has caused an access
violation exception (0xC0000005) when trying to write to memory location
0x00000018 on thread 0
 Please follow up with the vendor The PHP Group for C:\Program
Files\PHP\php5ts.dll
 
  Error In
httpd__PID__25640__Date__09_23_2010__Time_10_25_15PM__631__Second_Chance
_Exception_C0000005.dmp the assembly instruction at
php5ts!guess_timezone+1c in C:\Program Files\PHP\php5ts.dll from The PHP
Group has caused an access violation exception (0xC0000005) when trying
to read from memory location 0x0c20084c on thread 0 

PHP5TS!GUESS_TIMEZONE+1CIn
httpd__PID__25640__Date__09_23_2010__Time_10_25_15PM__631__Second_Chance
_Exception_C0000005.dmp the assembly instruction at
php5ts!guess_timezone+1c in C:\Program Files\PHP\php5ts.dll from The PHP
Group has caused an access violation exception (0xC0000005) when trying
to read from memory location 0x0c20084c on thread 0

Module Information 
Image Name: C:\Program Files\PHP\php5ts.dll   Symbol Type:  PDB 
Base address: 0x01800000   Time Stamp:  Wed Dec 16 11:01:36 2009  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP Script Interpreter 
ISAPIFilter: False   File Version:  5.2.12.12 
Managed DLL: False   Internal Name:  php5ts.dll 
VB DLL: False   Legal Copyright:  Copyright ? 1997-2007 The PHP Group 
Loaded Image Name:  php5ts.dll   Legal Trademarks:  PHP 
Mapped Image Name:  C:\Program Files\PHP\php5ts.dll   Original filename:
 php5ts.dll 
Module name:  php5ts   Private Build:   
Single Threaded:  False   Product Name:  PHP Script Interpreter 
Module Size:  4.98 MBytes   Product Version:  5.2.12 
Symbol File Name:  C:\Program
Files\PHP\dev\php-debug-pack-5.2.12-Win32-VC6-x86\php5ts.pdb   Special
Build:  &
 [2010-09-30 15:00 UTC] patrick dot gasior at mercy dot net
In httpd__PID__3352__Date__09_30_2010__Time_01_45_33PM__88__Second_Chance_Exception_C0000008.dmp the assembly instruction at ntdll!KiRaiseUserExceptionDispatcher+37 in C:\Windows\System32\ntdll.dll from Microsoft Corporation has caused an unknown exception (0xc0000008) on thread 0



This exception originated from php_apc+61fb.  This exception occured as a result of an invalid handle passed to KERNEL32!CLOSEHANDLE by the following function:



php_apc+61fb



Please follow up with the vendor of this module, The PHP Group, for further assistance with this issue. 
In httpd__PID__5064__Date__09_30_2010__Time_11_34_23AM__253__Second_Chance_Exception_C0000008.dmp the assembly instruction at ntdll!KiRaiseUserExceptionDispatcher+37 in C:\Windows\System32\ntdll.dll from Microsoft Corporation has caused an unknown exception (0xc0000008) on thread 0



This exception originated from php_apc+61fb. Module Information 
Image Name: C:\Program Files\PHP\ext\php_apc.dll   Symbol Type:  Export 
Base address: 0x00eb0000   Time Stamp:  Wed Feb 04 04:38:17 2009  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP php_apc.dll 
ISAPIFilter: False   File Version:  5.2.9.9 
Managed DLL: False   Internal Name:  php_apc.dll 
VB DLL: False   Legal Copyright:  Copyright ? 1997-2007 The PHP Group 
Loaded Image Name:  php_apc.dll   Legal Trademarks:  PHP 
Mapped Image Name:  C:\Program Files\PHP\ext\php_apc.dll   Original filename:  php_apc.dll 
Module name:  php_apc   Private Build:   
Single Threaded:  False   Product Name:  PHP php_apc.dll 
Module Size:  80.00 KBytes   Product Version:  5.2.9 
Symbol File Name:  php_apc.dll   Special Build:  &-dev 

 


 Your browser settings are currently prohibiting this report's scripts from running.

This is preventing some features of this analysis report from displaying properly. To enable scripts to run, right-click the security warning above and choose "Allow Blocked Content..." or enable the "Allow active content to run in files on My Computer*" setting on the Advanced tab of your "Internet Options" dialog to avoid being prompted in the future 





Table Of Contents
httpd__PID__4912__Date__09_30_2010__Time_08_47_37AM__641__Second_Chance_Exception_C0000008.dmp

   Top 5 threads by CPU time

   Thread report

   Faulting Module Information



httpd__PID__3352__Date__09_30_2010__Time_01_45_33PM__88__Second_Chance_Exception_C0000008.dmp

   Top 5 threads by CPU time

   Thread report

   Faulting Module Information



httpd__PID__5272__Date__09_30_2010__Time_11_11_54AM__284__Second_Chance_Exception_C0000008.dmp

   Top 5 threads by CPU time

   Thread report

   Faulting Module Information



httpd__PID__5064__Date__09_30_2010__Time_11_34_23AM__253__Second_Chance_Exception_C0000008.dmp

   Top 5 threads by CPU time

   Thread report

   Faulting Module Information



 Report for httpd__PID__4912__Date__09_30_2010__Time_08_47_37AM__641__Second_Chance_Exception_C0000008.dmp




Report for httpd__PID__4912__Date__09_30_2010__Time_08_47_37AM__641__Second_Chance_Exception_C0000008.dmp
Type of Analysis Performed   Combined Crash/Hang Analysis 
Machine Name   STL-VBGSTWEBD01 
Operating System   Windows Vista Service Pack 2 
Number Of Processors   4 
Process ID   4912 
Process Image   C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe 
System Up-Time   3 day(s) 05:44:47 
Process Up-Time   14:27:13 



Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread Thread ID: 0     Total CPU Time: 00:00:06.452     Entry Point for Thread: 0x7ffdf000 
Thread ID: 2     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_get_scoreboard_lb+360 
Thread ID: 3     Total CPU Time: 00:00:00.00     Entry Point for Thread: advapi32!ScSvcctrlThreadW 
Thread ID: 1     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_mpm_run+16a0 





Thread report

Thread 0 - System ID 4412
Entry point   0x7ffdf000 
Create time   9/29/2010 6:20:24 PM 
Time spent in user mode   0 Days 00:00:04.906 
Time spent in kernel mode   0 Days 00:00:01.546 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiRaiseUserExceptionDispatcher+37    
ntdll!KiFastSystemCall+3    
ntdll!NtClose+c    
kernel32!CloseHandle+40    
php_apc+61fb    
libapr_1!apr_pool_clear+3c    
httpd+162c    
httpd+1fb2    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 1 - System ID 4324
Entry point   libhttpd!ap_mpm_run+16a0 
Create time   9/29/2010 6:20:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtReadFile+c    
kernel32!ReadFile+210    
libhttpd!ap_mpm_run+1863    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 2 - System ID 4952
Entry point   libhttpd!ap_get_scoreboard_lb+360 
Create time   9/29/2010 6:20:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtReadFile+c    
kernel32!ReadFile+210    
advapi32!ScGetPipeInput+2a    
advapi32!ScDispatcherLoop+65    
advapi32!StartServiceCtrlDispatcherA+8a    
libhttpd!ap_get_scoreboard_lb+387    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 3 - System ID 6100
Entry point   advapi32!ScSvcctrlThreadW 
Create time   9/29/2010 6:20:24 PM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtWaitForSingleObject+c    
kernel32!WaitForSingleObjectEx+be    
kernel32!WaitForSingleObject+12    
libhttpd!ap_get_scoreboard_lb+524    
advapi32!ScSvcctrlThreadA+21    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 

In httpd__PID__4912__Date__09_30_2010__Time_08_47_37AM__641__Second_Chance_Exception_C0000008.dmp the assembly instruction at ntdll!KiRaiseUserExceptionDispatcher+37 in C:\Windows\System32\ntdll.dll from Microsoft Corporation has caused an unknown exception (0xc0000008) on thread 0



This exception originated from php_apc+61fb. Module Information 
Image Name: C:\Program Files\PHP\ext\php_apc.dll   Symbol Type:  Export 
Base address: 0x01390000   Time Stamp:  Wed Feb 04 04:38:17 2009  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP php_apc.dll 
ISAPIFilter: False   File Version:  5.2.9.9 
Managed DLL: False   Internal Name:  php_apc.dll 
VB DLL: False   Legal Copyright:  Copyright ? 1997-2007 The PHP Group 
Loaded Image Name:  php_apc.dll   Legal Trademarks:  PHP 
Mapped Image Name:  C:\Program Files\PHP\ext\php_apc.dll   Original filename:  php_apc.dll 
Module name:  php_apc   Private Build:   
Single Threaded:  False   Product Name:  PHP php_apc.dll 
Module Size:  80.00 KBytes   Product Version:  5.2.9 
Symbol File Name:  php_apc.dll   Special Build:  &-dev 





 Report for httpd__PID__3352__Date__09_30_2010__Time_01_45_33PM__88__Second_Chance_Exception_C0000008.dmp




Report for httpd__PID__3352__Date__09_30_2010__Time_01_45_33PM__88__Second_Chance_Exception_C0000008.dmp
Type of Analysis Performed   Combined Crash/Hang Analysis 
Machine Name   STL-VBGSTWEBD01 
Operating System   Windows Vista Service Pack 2 
Number Of Processors   4 
Process ID   3352 
Process Image   C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe 
System Up-Time   3 day(s) 10:42:43 
Process Up-Time   02:10:58 



Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread Thread ID: 0     Total CPU Time: 00:00:02.124     Entry Point for Thread: 0x7ffde000 
Thread ID: 2     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_get_scoreboard_lb+360 
Thread ID: 3     Total CPU Time: 00:00:00.00     Entry Point for Thread: advapi32!ScSvcctrlThreadW 
Thread ID: 1     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_mpm_run+16a0 





Thread report

Thread 0 - System ID 4876
Entry point   0x7ffde000 
Create time   9/30/2010 11:34:35 AM 
Time spent in user mode   0 Days 00:00:01.671 
Time spent in kernel mode   0 Days 00:00:00.453 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiRaiseUserExceptionDispatcher+37    
ntdll!KiFastSystemCall+3    
ntdll!NtClose+c    
kernel32!CloseHandle+40    
php_apc+61fb    
libapr_1!apr_pool_clear+3c    
httpd+162c    
httpd+1fb2    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 1 - System ID 2520
Entry point   libhttpd!ap_mpm_run+16a0 
Create time   9/30/2010 11:34:35 AM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtReadFile+c    
kernel32!ReadFile+210    
libhttpd!ap_mpm_run+1786    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 2 - System ID 5688
Entry point   libhttpd!ap_get_scoreboard_lb+360 
Create time   9/30/2010 11:34:35 AM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtReadFile+c    
kernel32!ReadFile+210    
advapi32!ScGetPipeInput+2a    
advapi32!ScDispatcherLoop+65    
advapi32!StartServiceCtrlDispatcherA+8a    
libhttpd!ap_get_scoreboard_lb+387    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 3 - System ID 5520
Entry point   advapi32!ScSvcctrlThreadW 
Create time   9/30/2010 11:34:35 AM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtWaitForSingleObject+c    
kernel32!WaitForSingleObjectEx+be    
kernel32!WaitForSingleObject+12    
libhttpd!ap_get_scoreboard_lb+524    
advapi32!ScSvcctrlThreadA+21    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 

In httpd__PID__3352__Date__09_30_2010__Time_01_45_33PM__88__Second_Chance_Exception_C0000008.dmp the assembly instruction at ntdll!KiRaiseUserExceptionDispatcher+37 in C:\Windows\System32\ntdll.dll from Microsoft Corporation has caused an unknown exception (0xc0000008) on thread 0



This exception originated from php_apc+61fb. Module Information 
Image Name: C:\Program Files\PHP\ext\php_apc.dll   Symbol Type:  Export 
Base address: 0x00e40000   Time Stamp:  Wed Feb 04 04:38:17 2009  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP php_apc.dll 
ISAPIFilter: False   File Version:  5.2.9.9 
Managed DLL: False   Internal Name:  php_apc.dll 
VB DLL: False   Legal Copyright:  Copyright ? 1997-2007 The PHP Group 
Loaded Image Name:  php_apc.dll   Legal Trademarks:  PHP 
Mapped Image Name:  C:\Program Files\PHP\ext\php_apc.dll   Original filename:  php_apc.dll 
Module name:  php_apc   Private Build:   
Single Threaded:  False   Product Name:  PHP php_apc.dll 
Module Size:  80.00 KBytes   Product Version:  5.2.9 
Symbol File Name:  php_apc.dll   Special Build:  &-dev 





 Report for httpd__PID__5272__Date__09_30_2010__Time_11_11_54AM__284__Second_Chance_Exception_C0000008.dmp




Report for httpd__PID__5272__Date__09_30_2010__Time_11_11_54AM__284__Second_Chance_Exception_C0000008.dmp
Type of Analysis Performed   Combined Crash/Hang Analysis 
Machine Name   STL-VBGSTWEBD01 
Operating System   Windows Vista Service Pack 2 
Number Of Processors   4 
Process ID   5272 
Process Image   C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe 
System Up-Time   3 day(s) 08:09:05 
Process Up-Time   02:22:46 



Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread Thread ID: 0     Total CPU Time: 00:00:00.749     Entry Point for Thread: 0x7ffdf000 
Thread ID: 2     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_get_scoreboard_lb+360 
Thread ID: 3     Total CPU Time: 00:00:00.00     Entry Point for Thread: advapi32!ScSvcctrlThreadW 
Thread ID: 1     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_mpm_run+16a0 





Thread report

Thread 0 - System ID 4660
Entry point   0x7ffdf000 
Create time   9/30/2010 8:49:08 AM 
Time spent in user mode   0 Days 00:00:00.531 
Time spent in kernel mode   0 Days 00:00:00.218 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiRaiseUserExceptionDispatcher+37    
ntdll!KiFastSystemCall+3    
ntdll!NtClose+c    
kernel32!CloseHandle+40    
libapr_1!apr_file_mktemp+4a1    
libapr_1!apr_file_close+d    
libhttpd!ap_open_piped_log_ex+38a    
libhttpd!ap_open_piped_log_ex+3ad    
libapr_1!apr_pool_cleanup_run+48    
libapr_1!apr_pool_clear+3c    
httpd+1725    
httpd+1fb2    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 1 - System ID 5108
Entry point   libhttpd!ap_mpm_run+16a0 
Create time   9/30/2010 8:49:08 AM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtReadFile+c    
kernel32!ReadFile+210    
libhttpd!ap_mpm_run+1786    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 2 - System ID 6024
Entry point   libhttpd!ap_get_scoreboard_lb+360 
Create time   9/30/2010 8:49:08 AM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtReadFile+c    
kernel32!ReadFile+210    
advapi32!ScGetPipeInput+2a    
advapi32!ScDispatcherLoop+65    
advapi32!StartServiceCtrlDispatcherA+8a    
libhttpd!ap_get_scoreboard_lb+387    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 


Thread 3 - System ID 3432
Entry point   advapi32!ScSvcctrlThreadW 
Create time   9/30/2010 8:49:08 AM 
Time spent in user mode   0 Days 00:00:00.00 
Time spent in kernel mode   0 Days 00:00:00.00 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiFastSystemCallRet    
ntdll!NtWaitForSingleObject+c    
kernel32!WaitForSingleObjectEx+be    
kernel32!WaitForSingleObject+12    
libhttpd!ap_get_scoreboard_lb+524    
advapi32!ScSvcctrlThreadA+21    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b    




Back to Top 

In httpd__PID__5272__Date__09_30_2010__Time_11_11_54AM__284__Second_Chance_Exception_C0000008.dmp the assembly instruction at ntdll!KiRaiseUserExceptionDispatcher+37 in C:\Windows\System32\ntdll.dll from Microsoft Corporation has caused an unknown exception (0xc0000008) on thread 0



This exception originated from libapr_1!apr_file_mktemp+4a1. Module Information 
Image Name: C:\Program Files\Apache Software Foundation\Apache2.2\bin\libapr-1.dll   Symbol Type:  Export 
Base address: 0x6eec0000   Time Stamp:  Mon Sep 28 22:48:03 2009  
Checksum: 0x00000000   Comments:  Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
COM DLL: False   Company Name:  Apache Software Foundation 
ISAPIExtension: False   File Description:  Apache Portable Runtime Library 
ISAPIFilter: False   File Version:  1.3.9 
Managed DLL: False   Internal Name:  libapr-1 
VB DLL: False   Legal Copyright:  Copyright (c) 2009 The Apache Software Foundation or its licensors, as applicable. 
Loaded Image Name:  libapr-1.dll   Legal Trademarks:   
Mapped Image Name:  C:\Program Files\Apache Software Foundation\Apache2.2\bin\libapr-1.dll   Original filename:  libapr-1.dll 
Module name:  libapr_1   Private Build:   
Single Threaded:  False   Product Name:  Apache Portable Runtime Project 
Module Size:  132.00 KBytes   Product Version:  1.3.9 
Symbol File Name:  libapr-1.dll   Special Build:  & 





 Report for httpd__PID__5064__Date__09_30_2010__Time_11_34_23AM__253__Second_Chance_Exception_C0000008.dmp




Report for httpd__PID__5064__Date__09_30_2010__Time_11_34_23AM__253__Second_Chance_Exception_C0000008.dmp
Type of Analysis Performed   Combined Crash/Hang Analysis 
Machine Name   STL-VBGSTWEBD01 
Operating System   Windows Vista Service Pack 2 
Number Of Processors   4 
Process ID   5064 
Process Image   C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe 
System Up-Time   3 day(s) 08:31:33 
Process Up-Time   00:22:09 



Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread Thread ID: 0     Total CPU Time: 00:00:00.734     Entry Point for Thread: 0x7ffd5000 
Thread ID: 2     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_get_scoreboard_lb+360 
Thread ID: 3     Total CPU Time: 00:00:00.00     Entry Point for Thread: advapi32!ScSvcctrlThreadW 
Thread ID: 1     Total CPU Time: 00:00:00.00     Entry Point for Thread: libhttpd!ap_mpm_run+16a0 





Thread report

Thread 0 - System ID 3236
Entry point   0x7ffd5000 
Create time   9/30/2010 11:12:14 AM 
Time spent in user mode   0 Days 00:00:00.609 
Time spent in kernel mode   0 Days 00:00:00.125 




This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.



Function   Source 
ntdll!KiRaiseUserExceptionDispatcher+37    
ntdll!KiFastSystemCall+3    
ntdll!NtClose+c    
kernel32!CloseHandle+40    
php_apc+61fb    
libapr_1!apr_pool_destroy+42    
libapr_1!apr_pool_destroy+32    
httpd+1a0c    
httpd+17c5    
httpd+1fb2    
kernel32!BaseThreadInitThunk+e    
ntdll!__RtlUserThreadStart+23    
ntdll!_RtlUserThreadStart+1b
 [2010-11-03 19:31 UTC] pierre dot php at gmail dot com
@info at thomas-peterson dot de

Can you try again using 3.1.5 please? DLLs at the usual place as well
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 14:01:30 2024 UTC