From:             tlawton at gmx dot de
Operating system: Windows XP SP2RC1 (2096)
PHP version:      4.3.7
PHP Bug Type:     Reproducible crash
Bug description:  Intermittent (but frequent) crash using command line php

Description:
------------
Using the Win32 binaries from php.net, command line version. I'm doing
some artificial intelligence work (I'm aware this isn't PHP's strongest
point) with scripts that run for potentially hundreds of seconds, but
don't use much memory. Intermittently I recieve this crash. It does not
depend on the input data (ie immediately repeating the command with the
same set of data may run to completion).

AppName: php.exe         AppVer: 4.3.7.7         ModName: php4ts.dll
ModVer: 4.3.7.7  Offset: 000b600d

Unhandled exception at 0x100b600d in php.exe: 0xC0000005: Access violation
reading location 0x0000017f.

100B5FFA  mov         eax,dword ptr [esp+14h] 
100B5FFE  mov         ecx,dword ptr [eax+4] 
100B6001  mov         eax,dword ptr [eax+1Ch] 
100B6004  and         ecx,edx 
100B6006  mov         eax,dword ptr [eax+ecx*4] 
100B6009  test        eax,eax 
100B600B  je          100B606E 
100B600D  cmp         dword ptr [eax],edx 
100B600F  jne         100B6027 
100B6011  cmp         dword ptr [eax+4],edi 
100B6014  jne         100B6027 
100B6016  mov         ecx,edi 
100B6018  mov         edi,ebx 
100B601A  lea         esi,[eax+20h] 
100B601D  xor         ebp,ebp 
100B601F  repe cmps   byte ptr [esi],byte ptr [edi] 
100B6021  je          100B605E 


Reproduce code:
---------------
Has occurred during all stages of the code. Code is essentially looped
calculations on large arrays. I'll find somewhere to put the source later.

Expected result:
----------------
Successful completion.

Actual result:
--------------
Crash as above.

-- 
Edit bug report at http://bugs.php.net/?id=28844&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28844&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28844&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28844&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28844&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28844&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28844&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28844&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28844&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28844&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28844&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28844&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28844&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28844&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28844&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28844&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28844&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28844&r=float

Reply via email to