ID:               44645
 Comment by:       madhav_2k at yahoo dot com
 Reported By:      gary dot wilson at coull dot biz
 Status:           No Feedback
 Bug Type:         Reproducible crash
 Operating System: Windows Server 2003
 PHP Version:      5.2.5
 New Comment:

i am getting the same error as well. 

"Httpd.exe - Application error

The instruction at xxxxxxx referenced memory at xxxxxxx. The memory
could not be read"

This has completely halted my development and has pretty much rendered
PHP on my laptop unusable. 

I use a Dell Latitude with a Intel Centrino Duo Core processor running
Win2k Sp2. 

Software versions are MySQL 5.1 , Apache webserver 2.2 and Php 5.2.3 

This has become a major showstopper and a quick resolution is highly
desirable!!


Previous Comments:
------------------------------------------------------------------------

[2008-07-13 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2008-07-05 12:38:11] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

We also need the script. Is apache a x64 or x86 build (aka runs under
32bit or 64bit OS mode)?

If not already done, please use the pdb files (debug pack) so we can
see where it crashes (not only which functions).

------------------------------------------------------------------------

[2008-07-05 12:23:26] donald dot lam at live dot com

This problem also occurred on my windows 2000 Pro system.
It was happened on installing phpBB with WAMP server and firebird DB.

Windows events log as following:
=========================================
Event Type:     Error
Event Source:   Application Error
Event Category: (100)
Event ID:       1000
Date:           2008/7/5
Time:           ‰ºŒß 08:12:04
User:           N/A
Computer:       XPDON
Description:
Faulting application httpd.exe, version 2.2.8.0, faulting module
php5ts.dll, version 5.2.6.6, fault address 0x0000b4f0.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 68 74 74   ure  htt
0018: 70 64 2e 65 78 65 20 32   pd.exe 2
0020: 2e 32 2e 38 2e 30 20 69   .2.8.0 i
0028: 6e 20 70 68 70 35 74 73   n php5ts
0030: 2e 64 6c 6c 20 35 2e 32   .dll 5.2
0038: 2e 36 2e 36 20 61 74 20   .6.6 at 
0040: 6f 66 66 73 65 74 20 30   offset 0
0048: 30 30 30 62 34 66 30      000b4f0 


Apache log as following:
======================================================
[Sat Jul 05 20:12:13 2008] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Sat Jul 05 20:12:14 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.6
configured -- resuming normal operations
[Sat Jul 05 20:12:14 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat Jul 05 20:12:14 2008] [notice] Parent: Created child process 3204
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Child process is
running
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Acquired the start
mutex.
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Starting 64 worker
threads.
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Starting thread to
listen on port 80.
[Sat Jul 05 20:13:37 2008] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Sat Jul 05 20:13:37 2008] [notice] Child 3204: Exit event signaled.
Child process is ending.
[Sat Jul 05 20:13:38 2008] [notice] Child 3204: Released the start
mutex
[Sat Jul 05 20:13:39 2008] [notice] Child 3204: All worker threads have
exited.
[Sat Jul 05 20:13:39 2008] [notice] Child 3204: Child process is
exiting
[Sat Jul 05 20:13:39 2008] [notice] Parent: Child process exited
successfully. This problem also occurred on my windows 2000 Pro system.
It was happened on installing phpBB with WAMP server and firebird DB.

Windows events log as followng:
=========================================
Event Type:     Error
Event Source:   Application Error
Event Category: (100)
Event ID:       1000
Date:           2008/7/5
Time:           ‰ºŒß 08:12:04
User:           N/A
Computer:       XPDON
Description:
Faulting application httpd.exe, version 2.2.8.0, faulting module
php5ts.dll, version 5.2.6.6, fault address 0x0000b4f0.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 68 74 74   ure  htt
0018: 70 64 2e 65 78 65 20 32   pd.exe 2
0020: 2e 32 2e 38 2e 30 20 69   .2.8.0 i
0028: 6e 20 70 68 70 35 74 73   n php5ts
0030: 2e 64 6c 6c 20 35 2e 32   .dll 5.2
0038: 2e 36 2e 36 20 61 74 20   .6.6 at 
0040: 6f 66 66 73 65 74 20 30   offset 0
0048: 30 30 30 62 34 66 30      000b4f0 


Apache log as following:
======================================================
[Sat Jul 05 20:12:13 2008] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Sat Jul 05 20:12:14 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.6
configured -- resuming normal operations
[Sat Jul 05 20:12:14 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat Jul 05 20:12:14 2008] [notice] Parent: Created child process 3204
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Child process is
running
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Acquired the start
mutex.
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Starting 64 worker
threads.
[Sat Jul 05 20:12:14 2008] [notice] Child 3204: Starting thread to
listen on port 80.
[Sat Jul 05 20:13:37 2008] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Sat Jul 05 20:13:37 2008] [notice] Child 3204: Exit event signaled.
Child process is ending.
[Sat Jul 05 20:13:38 2008] [notice] Child 3204: Released the start
mutex
[Sat Jul 05 20:13:39 2008] [notice] Child 3204: All worker threads have
exited.
[Sat Jul 05 20:13:39 2008] [notice] Child 3204: Child process is
exiting
[Sat Jul 05 20:13:39 2008] [notice] Parent: Child process exited
successfully.

------------------------------------------------------------------------

[2008-06-04 12:06:02] neil dot smith at coull dot com

Correction to last statement : 

"Adding memcache caching of DB response resulted in non-repro"

DB requests were not fully removed in the test harness code. With DB
requests prevented, this bug is still repro under high request loads (so
it not specifically MySQL / DB connection dependent).

Fault address remains at 0x0000926a in php5ts.dll

------------------------------------------------------------------------

[2008-06-03 16:11:02] neil dot smith at coull dot com

The following should be a crash dump illustrating the problem.

It was generated as per instructions "Generating backtrace without
compiler" at http://bugs.php.net/bugs-generating-backtrace-win32.php


Configuration : Apache/2.2.3 (Win32) PHP/5.2.5, WinXP SP3


The isue occurred during load testing using JMeter on a script which
made moderate MySQL use and medium-heavy XML DOM node creation.

Adding memcache caching of DB response resulted in non-repro, which IMO
may indicate some involvement of number of DB connections or similar
(running script threads between them had around 876 instances of DB
connections in
TCP   192.168.2.38:3061    192.168.2.15:3306   TIME_WAIT state)



======================  Follows  =====================================


 
 Analysis Summary  
  Type Description Recommendation 
  Error WARNING - DebugDiag was not able to locate debug symbols for
php5ts.dll, so the information below may be incomplete.



In
httpd__PID__3584__Date__06_03_2008__Time_04_57_08PM__928__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!zend_mm_shutdown+f49 in
C:\Applications\php5\php5ts.dll from The PHP Group has caused an access
violation exception (0xC0000005) when trying to read from memory
location 0x0000000c on thread 246
 Please follow up with the vendor The PHP Group for
C:\Applications\php5\php5ts.dll
 
  Information DebugDiag determined that this dump file
(httpd__PID__3584__Date__06_03_2008__Time_04_57_08PM__928__Second_Chance_Exception_C0000005.dmp)
is a crash dump and did not perform any hang analysis. If you wish to
enable combined crash and hang analysis for crash dumps, edit the
CrashHangAnalysis.asp script (located in the DebugDiag\Scripts folder)
and set the g_DoCombinedAnalysis constant to True.   
 
 


 
 Analysis Details  
  


 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__3584__Date__06_03_2008__Time_04_57_08PM__928__Second_Chance_Exception_C0000005.dmp

   Faulting Thread

   Faulting Module Information



 Report for
httpd__PID__3584__Date__06_03_2008__Time_04_57_08PM__928__Second_Chance_Exception_C0000005.dmp




Report for
httpd__PID__3584__Date__06_03_2008__Time_04_57_08PM__928__Second_Chance_Exception_C0000005.dmp
Type of Analysis Performed   Crash Analysis 
Machine Name   DEVBOX_NS 
Operating System   Windows XP Service Pack 2 
Number Of Processors   2 
Process ID   3584 
Process Image   C:\Applications\Apache2.2\bin\httpd.exe 
System Up-Time   06:41:14 
Process Up-Time   00:00:05 


Thread 246 - System ID 3348
Entry point   msvcrt!_endthreadex+3a 
Create time   03/06/2008 16:57:04 
Time spent in user mode   0 Days 0:0:0.187 
Time spent in kernel mode   0 Days 0:0:0.78 






Function     Arg 1     Arg 2     Arg 3   Source 
php5ts!zend_mm_shutdown+f49     058ab930     00030000     100b5f17    
php5ts!efree+39     008ca860     069f8c4c     10095f13    
php5ts!zval_dtor_func+27     008ca848     069f8c65     100993d3    
php5ts!zval_ptr_dtor+23     069f8c4c     069f8a38     069f8bc0    
php5ts!zend_hash_add_or_update+1b3     069f8be8     102c6940    
00000005    
php5ts!zend_reflection_class_factory+215d     06977098     05f72178    
00000000    
php5ts!zend_reflection_class_factory+204d     00000000     069f89d8    
00000000    
php5ts!execute_internal+37     0530f674     00000001     058aa688    
php_xdebug_2_0_3_5_2_5!get_module+367c     0530f674     00000001    
00000000    
php5ts!execute+a37     0530f674     058aa688     1001c3e5    
php5ts!execute+245     069d96d0     058aa688     0530f748    
php_xdebug_2_0_3_5_2_5!get_module+27ff     069d96d0     058aa688    
05f89340    
php5ts!execute+b48     0530f748     058aa688     1001c3e5    
php5ts!execute+245     05f89340     058aa688     0530f81c    
php_xdebug_2_0_3_5_2_5!get_module+27ff     05f89340     058aa688    
05f8aea0    
php5ts!execute+b48     0530f81c     058aa688     1001c3e5    
php5ts!execute+245     05f8aea0     058aa688     0530f8f0    
php_xdebug_2_0_3_5_2_5!get_module+27ff     05f8aea0     058aa688    
05edebb0    
php5ts!execute+b48     0530f8f0     058aa688     1001c3e5    
php5ts!execute+245     05edebb0     058aa688     05f65d10    
php_xdebug_2_0_3_5_2_5!get_module+27ff     05edebb0     058aa688    
05a10d50    
php5ts!execute+e3a8     104b4ce0     1001e005     05f61d78    
php5ts!execute+1e33     05f43cb0     058aa688     0530faa8    
php_xdebug_2_0_3_5_2_5!get_module+27ff     05f43cb0     058aa688    
05ede848    
php5ts!execute+b48     0530faa8     058aa688     1001c3e5    
php5ts!execute+245     05ede848     058aa688     05ede5d0    
php_xdebug_2_0_3_5_2_5!get_module+27ff     05ede848     058aa688    
05a10ee0    
php5ts!execute+7880     104b4ce0     1001e070     05ede2e0    
php5ts!execute+1e33     05ede2e0     058aa688     00000000    
php_xdebug_2_0_3_5_2_5!get_module+27ff     05ede2e0     058aa688    
00000000    
php5ts!zend_execute_scripts+107     00000000     00000000     00000000 
  




PHP5TS!ZEND_MM_SHUTDOWN+F49WARNING - DebugDiag was not able to locate
debug symbols for php5ts.dll, so the information below may be
incomplete.



In
httpd__PID__3584__Date__06_03_2008__Time_04_57_08PM__928__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!zend_mm_shutdown+f49 in
C:\Applications\php5\php5ts.dll from The PHP Group has caused an access
violation exception (0xC0000005) when trying to read from memory
location 0x0000000c on thread 246

Module Information 
Image Name: C:\Applications\php5\php5ts.dll   Symbol Type:  Export 
Base address: 0x10000000   Time Stamp:  Fri Nov 09 04:18:32 2007  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP Script Interpreter 
ISAPIFilter: False   File Version:  5.2.5.5 
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:\Applications\php5\php5ts.dll   Original
filename:  php5ts.dll 
Module name:  php5ts   Private Build:   
Single Threaded:  False   Product Name:  PHP Script Interpreter 
Module Size:  4.86 MBytes   Product Version:  5.2.5 
Symbol File Name:  php5ts.dll   Special Build:  & 




 
 


 
 Script Summary  
  Script Name Status Error Code Error Source Error Description Source
Line 
CrashHangAnalysis.asp Completed   
 
 

======================  Ends  ======================================

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/44645

-- 
Edit this bug report at http://bugs.php.net/?id=44645&edit=1

Reply via email to