From: zpef at laposte dot net Operating system: Windows Server 2003 RC2 SP2 PHP version: 4.4.7 PHP Bug Type: IIS related Bug description: PHP4TS.DLL causes w3wp.exe crash
Description: ------------ We recently upgraded our PHP version to 4.4.7 on our production servers. We encounter since that about 3 times a week some PHP crashes with no any Event in windows events. Looking in IIS logs, those errors occure on basic PHP scripts used very frequently. IIS is always returning HTTP 500 errors on PHP scripts calls until we restart it... We installed IIS Debug Diagnostics Tools and we're having having those results : Type of Analysis Performed Crash Analysis Machine Name FFEWWW01 Operating System Windows Server 2003 Service Pack 2 Number Of Processors 4 Process ID 2748 Process Image c:\WINDOWS\system32\inetsrv\w3wp.exe System Up-Time 00:44:40 Process Up-Time 00:11:51 Thread 45 - System ID 3604 Entry point w3tp!THREAD_MANAGER::ThreadManagerThread Create time 10/24/2007 1:14:57 PM Time spent in user mode 0 Days 0:0:0.0 Time spent in kernel mode 0 Days 0:0:0.0 Function Arg 1 Arg 2 Arg 3 Source ntdll!ExpInterlockedPopEntrySListFault 00260778 1704f7b4 7c82a0b8 ntdll!RtlpAllocateFromHeapLookaside+13 00260778 0000001c 00000000 ntdll!RtlAllocateHeap+1dd 00260000 00000000 0000001c msvcrt!malloc+6c 0000001c 00000001 13c2ebf4 php4ts!virtual_cwd_startup+9c 13c46108 1391be20 0105e5f8 php4ts!ts_resource_ex+17f 13c2ebf4 00000e14 1704f9c8 php4ts!ts_resource_ex+c4 00000000 00000e14 0105e5f8 php4isapi!HttpFilterProc+b 1704fa1c 00004000 0105e5f8 w3core!W3_MAIN_CONTEXT::NotifyFilters+e0 a1000001 5a3de000 145d8b53 0x28ec81ec 8bfc4589 8b571045 8589087d 0x0c758b56 8b571045 8589087d fffffed8 0x80000000`00000000 8589087d fffffed8 00008068 0x80000000`00000000 fffffed8 00008068 3c858d00 0x80000000`00000000 00008068 3c858d00 50ffffff 0x80000000`00000000 3c858d00 50ffffff ff0c8d8d NTDLL!EXPINTERLOCKEDPOPENTRYSLISTFAULT Detailed Info For Corrupt Heap Heap 3 - 0x00260000 Heap Name msvcrt!_crtheap Heap Description This heap is used by msvcrt Reserved memory 15.13 MBytes Committed memory 13.67 MBytes (90.39% of reserved) Uncommitted memory 1.45 MBytes (9.61% of reserved) Number of heap segments 5 segments Number of uncommitted ranges 5 range(s) Size of largest uncommitted range 1.37 MBytes Calculated heap fragmentation 5.91% This is heavily critical ! Thanks in advance for your assistance ! -- Edit bug report at http://bugs.php.net/?id=43116&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43116&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43116&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43116&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43116&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43116&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43116&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43116&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43116&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43116&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43116&r=support Expected behavior: http://bugs.php.net/fix.php?id=43116&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43116&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43116&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43116&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43116&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43116&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43116&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43116&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43116&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43116&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43116&r=mysqlcfg