php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47482 "IIS Worker Process"-crash through heapcorruption using the ISAPI-DLL
Submitted: 2009-02-23 13:59 UTC Modified: 2009-02-23 14:27 UTC
From: M dot Kaesberger at gmx dot de Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.2.8 OS: Windows Vista Business x86
Private report: No CVE-ID: None
 [2009-02-23 13:59 UTC] M dot Kaesberger at gmx dot de
Description:
------------
I've installed PHP in my IIS7 as ISAPI, not how it's written in install.txt. Now often the IIS Worker Process crashs.

Reproduce code:
---------------
i think no exact code is needed.

Expected result:
----------------
nothing especial.

Actual result:
--------------
the process crashs and i get a dump-file. it says

!heap 
************************************************************** 
* * 
* HEAP ERROR DETECTED * 
* * 
************************************************************** 

Details: 

Error address: 01430590 
Heap handle: 000e0000 
Error type heap_failure_entry_corruption (3) 
Stack trace: 
772b004f: ntdll!RtlpAnalyzeHeapFailure+0x0000025a 
7727da07: ntdll!RtlpFreeHeap+0x000000c8 
77261c21: ntdll!RtlFreeHeap+0x0000014e 
773a7a7e: kernel32!HeapFree+0x00000014 
7701a097: msvcrt!free+0x000000cd 
037cbe22: php5ts!zm_shutdown_syslog+0x00000022 
7726a604: ntdll!LdrpCallInitRoutine+0x00000014 
772298ad: ntdll!LdrpUnloadDll+0x000003ba 
7723bf50: ntdll!LdrUnloadDll+0x00000046 
773a4628: kernel32!FreeLibrary+0x00000015 
6666cb1b: isapi!ISAPI_DLL::Unload+0x00000038 
6666a93f: isapi!ISAPI_DLL::DereferenceIsapiDll+0x00000037 
71996bdc: iisutil!CLKRLinearHashTable::_Clear+0x0000006f 
71996dd2: iisutil!CLKRLinearHashTable::~CLKRLinearHashTable+0x00000019 
71996e75: iisutil!CLKRHashTable::_FreeSubTable+0x00000013 
71996fe4: iisutil!CLKRHashTable::~CLKRHashTable+0x00000018 

----------------------------------------------------------------------------------------------------------------
that crashs:
php5ts!zm_shutdown_syslog+22 [ext\standard\syslog.c @ 130]

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-23 14:01 UTC] M dot Kaesberger at gmx dot de
German thread about the problem:
http://www.delphipraxis.net/topic152542_iis+und+php+innige+freunde.html
 [2009-02-23 14:14 UTC] jani@php.net
We are aware of PHP's problems with stability under IIS and are working 
to rectify the problem. Unfortunatly your bug report does not contain any
extra useful information and we already have enough bug reports open about
this issue. If you can provide more detailed information such as a 
reproducable crash or a backtrace please do so and reopen this bug. 
Otherwise please keep trying new releases as we are working to resolve 
the problems on this platform
 
Thanks for your interest in PHP.


 [2009-02-23 14:27 UTC] pajoye@php.net
By the way, if you have IIS7, I would suggest to use the FastCGI SAPI instead of the unmaintained ISAPI. It is the recommended way (recommended by us and microsoft).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC