|  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
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

* * 
* * 


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]


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-23 14:01 UTC] M dot Kaesberger at gmx dot de
German thread about the problem:
 [2009-02-23 14:14 UTC]
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]
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 Jun 24 14:01:29 2024 UTC