Bug #49532 [Com]: php5ts.dll access violation exception php5ts!_zend_mm_free_int

From: Date: Thu, 10 Mar 2011 19:52:08 +0000
Subject: Bug #49532 [Com]: php5ts.dll access violation exception php5ts!_zend_mm_free_int
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159377@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=49532&edit=1

 ID:                 49532
 Comment by:         mdurovic at gmail dot com
 Reported by:        matroy at investpsp dot ca
 Summary:            php5ts.dll access violation exception 
                     php5ts!_zend_mm_free_int
 Status:             Feedback
 Type:               Bug
 Package:            *General Issues
 Operating System:   win32 only - Windows 2003 SP2
 PHP Version:        5.2.11
 Block user comment: N
 Private report:     N

 New Comment:

Maybe this will help:

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

httpd__PID__2316__Date__03_10_2011__Time_02_37_59PM__890__Second_Chance_Exception_C0000005.dmp
Type of Analysis Performed   Crash Analysis 
Machine Name   P2134261 
Operating System   Windows Server 2003 Service Pack 2 
Number Of Processors   4 
Process ID   2316 
Process Image   C:\Program Files\Apache Software
Foundation\Apache2.2\bin\httpd.exe 
System Up-Time   02:03:45 
Process Up-Time   00:10:58 


Thread 100 - System ID 3012
Entry point   msvcrt!endthreadex+2f 
Create time   3/10/2011 2:27:02 PM 
Time spent in user mode   0 Days 0:0:0.765 
Time spent in kernel mode   0 Days 0:0:0.109 






Function     Arg 1     Arg 2     Arg 3   Source 
php5ts!_zend_mm_free_int+66     117f1028     15bb6a38     00773a64  
Zend\zend_alloc.c @ 2018 
php5ts!_efree+36     15bb6a48     117e7710     0089f395  
Zend\zend_alloc.c @ 2351 + b 
php5ts!closelog+54     0085a0a7     00000001     00000013  
win32\wsyslog.c @ 71 
php5ts!zm_deactivate_syslog+5     00000001     00000013     117e7710  
ext\standard\syslog.c @ 122 
php5ts!zm_deactivate_basic+e7     00000001     00000013     117e7710  
ext\standard\basic_functions.c @ 3789 
php5ts!module_registry_cleanup+1c     01063558     117e7710     0352faac
  Zend\zend_API.c @ 2150 + 11 
php5ts!zend_hash_reverse_apply+42     00bff680     006a8500     117e7710
  Zend\zend_hash.c @ 758 + 7 
php5ts!zend_deactivate_modules+62     0352ffa8     00000000     56433230
  Zend\zend.c @ 866 + 10 
php5ts!zend_deactivate_modules+48     0ab7b601     00000000     00000005
  Zend\zend.c @ 865 + 38 
php5ts!php_end_ob_buffers+26     15bba878     00000b80     117e7710  
main\output.c @ 333 + 9 
php5ts!zend_print_zval_ex+50     00756680     00000000     00000000  
Zend\zend.c @ 311 
php5ts!zend_print_zval+16     00000005     15bb1bf0     00000001  
Zend\zend.c @ 290 + 16 
php5ts!zend_print_variable+c     0352ffa8     00000000     56433230  
Zend\zend_variables.c @ 149 + c 
php5ts!php_request_shutdown+13d     00000000     10002ff6     0ab7b620  
main\main.c @ 1591 + 3a 
php5apache2_2!php_apache_request_dtor+8     0ab7b620     117e7710    
00000004   sapi\apache2handler\sapi_apache2.c @ 508 + 8 
php5apache2_2!php_handler+646     0ab7b620     010112d8     0ab7b620  
sapi\apache2handler\sapi_apache2.c @ 681 + 7 
libhttpd!ap_run_handler+21     0ab7b620     6fe7b881     0ab7b620    
libhttpd!ap_invoke_handler+b0     00000000     6fe7b881     0352fee4   

libhttpd!ap_internal_redirect+37     0ab7b5f8     103c9040     00000001 
  
mod_rewrite+74fb     103c9040     103c9040     103c9040    
libhttpd!ap_run_handler+21     103c9040     103c9040     103c9040    
libhttpd!ap_invoke_handler+b0     6fe7b870     0aad5b68     0352ff3c   

libhttpd!ap_die+29e     103c9040     00000000     005bc0c8    
libhttpd!ap_get_request_note+1d0c     0aad5b68     0aad5b68     0aad5b68
   
libhttpd!ap_run_process_connection+21     0aad5b68     006304b0    
0352ff84    
libhttpd!ap_process_connection+33     0aad5b68     0aacab30     00000000
   
libhttpd!ap_regkey_value_remove+c7c     0aad5b60     00000000    
00000000    
msvcrt!endthreadex+a3     017dfa28     00000000     00000000    
kernel32!GetModuleHandleA+df     77bcb4bc     017dfa28     00000000    




PHP5TS!_ZEND_MM_FREE_INT+66In
httpd__PID__2316__Date__03_10_2011__Time_02_37_59PM__890__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!_zend_mm_free_int+66 in
C:\php\php5ts.dll from The PHP Group has caused an access violation
exception (0xC0000005) when trying to read from memory location
0x2b76d478 on thread 100

Module Information 
Image Name: C:\php\php5ts.dll   Symbol Type:  PDB 
Base address: 0x006a0000   Time Stamp:  Thu Jan 06 12:51:58 2011  
Checksum: 0x00000000   Comments:   
COM DLL: False   Company Name:  The PHP Group 
ISAPIExtension: False   File Description:  PHP Script Interpreter 
ISAPIFilter: False   File Version:  5.3.5 
Managed DLL: False   Internal Name:  PHP Script Interpreter 
VB DLL: False   Legal Copyright:  Copyright © 1997-2010 The PHP Group 
Loaded Image Name:  php5ts.dll   Legal Trademarks:  PHP 
Mapped Image Name:  C:\php\php5ts.dll   Original filename:  php5ts.dll 
Module name:  php5ts   Private Build:   
Single Threaded:  False   Product Name:  PHP 
Module Size:  5.57 MBytes   Product Version:  5.3.5 
Symbol File Name:  C:\Documents and Settings\mdurovic\My
Documents\Download\php-debug-pack-5.3.5-Win32-VC6-x86\php5ts.pdb  
Special Build:  &


Previous Comments:
------------------------------------------------------------------------
[2011-03-10 20:48:19] mdurovic at gmail dot com

Same thing with php 5.3.5

In httpd__PID__2316__Date__03_10_2011__Time_02_37_59PM__375__First
chance exception 0XC0000005.dmp the assembly instruction at
php5ts!_zend_mm_free_int+66 in C:\php\php5ts.dll from The PHP Group has
caused an access violation exception (0xC0000005) when trying to read
from memory location 0x2b76d478 on thread 100

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

In httpd__PID__2984__Date__03_10_2011__Time_02_26_53PM__375__First
chance exception 0XC0000005.dmp the assembly instruction at
php5ts!_zend_mm_free_int+66 in C:\php\php5ts.dll from The PHP Group has
caused an access violation exception (0xC0000005) when trying to read
from memory location 0x00000000 on thread 134

------------------------------------------------------------------------
[2011-03-08 22:43:35] pajoye@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

5.3.6RC2 works too.

------------------------------------------------------------------------
[2011-03-08 21:49:49] mdurovic at gmail dot com

Same issue it happens around 3-5 times a day apache crashes and
recycles. I have around 30K page views per day and I can't pin down what
causes the error. Any help would be greatly appreciated.  

PHP: 5.2.17
Appache: 5.2.17
OS: Windows 2003 SP2

PHP.ini:

extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
extension=php_mysql.dll


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

PHP5TS!_ZEND_MM_FREE_INT+66In
httpd__PID__1848__Date__03_08_2011__Time_03_20_11PM__687__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!_zend_mm_free_int+66 in
C:\php\php5ts.dll from The PHP Group has caused an access violation
exception (0xC0000005) when trying to read from memory location
0x00000000 on thread 148

------------------------------------------------------------------------
[2011-01-11 14:05:49] eb at upcl dot univ-lyon1 dot fr

I modify my php.ini file for it expresses error messages. PHP, on
loading, claimed beeing unable to load a few modules though available in
the appropriate directory; commenting out the loading of these modules
in the php file fixed the problem.
These modules were 
; extension=php_oci8.dll
; extension=php_oci8_11g.dll
; extension=php_pdo_oci.dll
; extension=php_sybase_ct.dll

------------------------------------------------------------------------
[2011-01-11 10:52:44] eb at upcl dot univ-lyon1 dot fr

Well, actually, adding a line such as "LoadModule php5_module
"C:/HD3/apache_php_mysql/software/php/php5apache2_2.dll" in the
configuration file of the apache server is enough to lead it failing to
start and issuing a "Application défaillante httpd.exe, version
2.2.17.0, module défaillant php5ts.dll, version 5.3.5.0, adresse de
défaillance 0x000e890c." in the windows log file. As I told you, this
occurs ONLY after the system has rebooted. Right after the installation,
all works well.

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


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/bug.php?id=49532


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


Thread (21 messages)

« previous php.bugs (#159377) next »