Bug #70002 [NEW]: apache2 / php5ts crashes, sometimes reporting zend_mm_heap corrupted

From: Date: Mon, 06 Jul 2015 16:34:09 +0000
Subject: Bug #70002 [NEW]: apache2 / php5ts crashes, sometimes reporting zend_mm_heap corrupted
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194157@lists.php.net to get a copy of this message
From:             jeremy dot j dot dunn at gmail dot com
Operating system: Windows 2008 R2
PHP version:      5.5.26
Package:          Apache2 related
Bug Type:         Bug
Bug description:apache2 / php5ts crashes, sometimes reporting zend_mm_heap corrupted

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 bug report at https://bugs.php.net/bug.php?id=70002&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=70002&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=70002&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=70002&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=70002&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=70002&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=70002&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=70002&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=70002&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=70002&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=70002&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=70002&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=70002&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=70002&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70002&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=70002&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=70002&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=70002&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70002&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=70002&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=70002&r=mysqlcfg



Thread (22 messages)

« previous php.bugs (#194157) next »