php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28844 Intermittent (but frequent) crash using command line php
Submitted: 2004-06-19 18:42 UTC Modified: 2004-06-30 01:00 UTC
From: tlawton at gmx dot de Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.3.7 OS: Windows XP SP2RC1 (2096)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-06-19 18:42 UTC] tlawton at gmx dot de
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-22 00:50 UTC] iliaa@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.


 [2004-06-30 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 14:01:29 2024 UTC