Edit report at https://bugs.php.net/bug.php?id=70002&edit=1
ID: 70002
Updated by: ab@php.net
Reported by: jeremy dot j dot dunn at gmail dot com
Summary: apache2 / php5ts crashes, sometimes reporting
zend_mm_heap corrupted
-Status: Open
+Status: Feedback
Type: Bug
Package: Apache2 related
Operating System: Windows 2008 R2
PHP Version: 5.5.26
Block user comment: N
Private report: N
New Comment:
Thanks for the report. Yes, something obviously goes wrong, but we still need something concrete
about the crash itself.
Clear, you don't want to let this into production. Maybe you could check whether some crash
dumps stayed on the production machine? Or, maybe you can use some HTTP traffic recorder and then
replay it on a dev machine? Maybe that can reproduce it. Also, in that case you probably could play
with your PHP code to figure out reproduce snippet.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-07-06 16:34:08] jeremy dot j dot dunn at gmail dot com
Description:
------------
Windows 2008 R2; apache 2.4.12 (32-bit) from apachelounge.
was running 5.5.24/32-bit just fine.
upgraded to 5.5.26/32-bit, and immediately started getting errors like this:
Faulting application name: httpd.exe, version: 2.4.12.0, time stamp: 0x54c90386
Faulting module name: php5ts.dll, version: 5.5.26.0, time stamp: 0x5578acb1
Exception code: 0xc0000005
Fault offset: 0x003ce564
Faulting process id: 0x16f0
Faulting application start time: 0x01d0b773c098bfd0
Faulting application path: C:\Program Files (x86)\Apache2.4\bin\httpd.exe
Faulting module path: C:\Program Files (x86)\PHP5.5\php5ts.dll
The crash occurred about 40 times in one hour.
Sometimes, but not always, the apache error log contained:
zend_mm_heap corrupted
Reverting to 5.5.24 completely removed the problem.
Unfortunately, I cannot recreate the program in a development or test environment; and I cannot
afford to cause the problem in production again. Therefor I cannot provide a backtrace.
The problem seemed mainly to occur when generating large PDF files, which in our app involves
merging PDFs.
We are using:
* SQL Server 2008 R2
* ImageMagick 6.7.9-Q8
* WkHtmlToPDF 0.12.2.1
* ghostscript 9.14 (64-bit)
* PDFtk 2.02
PHP modules:
* PHP/PDO driver for SQL Server (v3.0.2, 32-bit)
* igbinary
* xcache (v3.2.0)
If there is any way I can provide more information, short of causing the problem to occur in
production, I would be very happy to do so.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70002&edit=1