#22820 [Com]: script kicks out to command prompt.

From: Date: Sat, 10 May 2003 08:58:09 +0000
Subject: #22820 [Com]: script kicks out to command prompt.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39414@lists.php.net to get a copy of this message
 ID:               22820
 Comment by:       php-bugs at webfreezer dot com
 Reported By:      nick at axelis dot com
 Status:           No Feedback
 Bug Type:         Reproducible crash
 Operating System: Windows 2000 sp3
 PHP Version:      4.3.2-RC
 New Comment:

I experience the same problem with PHP 4.3.1 CLI on Windows XP.
And as "info at paradigmdirect dot com" points out it really happens in
a script that does a FOPEN on a url and uses a MySQL database.
The error happens from time to time and does not seem to be
reproducible. The script is too long to post here but please notice
that this error occurs in the Windows CLI Version of PHP 4.3.1.


Previous Comments:
------------------------------------------------------------------------

[2003-05-09 07:32:20] sniper@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-04-28 09:46:52] wez@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Please try the *next* CVS snapshot; I've just fixed a bug related to
fopen() of http URLs.

Next STABLE Win32 snapshot in: 1 hour(s) and 28 minute(s)


------------------------------------------------------------------------

[2003-04-28 07:35:39] info at paradigmdirect dot com

I have a bit of code that does the exact same thing. It is
unfortunately too big as Nick pointed out with his. The common thing is
fopen on a url and a connection to mysql. The errors occur all over the
place according to dr watson. Here are some examples:

function: efree
FAULT ->100b8fb4 8b4608           mov     eax,[esi+0x8]         
ds:00a7d5c2=????????

...another...
function: zend_hash_index_update_or_next_insert
FAULT ->100adc49 892cb1           mov     [ecx+esi*4],ebp       
ds:0000000b=????????

...another (whole)...
function: zend_hash_rehash
        100add42 c1e902           shr     ecx,0x2
        100add45 f3ab             rep     stosd                 
es:00ce8c60=011931f0
        100add47 8bce             mov     ecx,esi
        100add49 33f6             xor     esi,esi
        100add4b 83e103           and     ecx,0x3
        100add4e f3aa             rep     stosb                       
es:00ce8c60=f0
        100add50 8b4214           mov     eax,[edx+0x14]        
ds:01766eb2=????????
        100add53 3bc6             cmp     eax,esi
        100add55 7427             jz     
do_bind_function_or_class+0x2b2e (100b687e)
        100add57 8b4a04           mov     ecx,[edx+0x4]         
ds:01766eb2=????????
FAULT ->100add5a 8b38             mov     edi,[eax]             
ds:65332d36=????????
        100add5c 23cf             and     ecx,edi
        100add5e 8b7a1c           mov     edi,[edx+0x1c]        
ds:01766eb2=????????
        100add61 8b3c8f           mov     edi,[edi+ecx*4]       
ds:0000000f=????????
        100add64 89701c           mov     [eax+0x1c],esi        
ds:65db0308=????????
        100add67 3bfe             cmp     edi,esi
        100add69 897818           mov     [eax+0x18],edi        
ds:65db0308=????????
        100add6c 7403             jz     
do_bind_function_or_class+0x2921 (100b6671)
        100add6e 89471c           mov     [edi+0x1c],eax        
ds:01766232=????????
        100add71 8b7a1c           mov     edi,[edx+0x1c]        
ds:01766eb2=????????
        100add74 89048f           mov     [edi+ecx*4],eax       
ds:0000000f=????????
        100add77 8b4010           mov     eax,[eax+0x10]        
ds:65db0308=????????

Hope this helps a little.

J

------------------------------------------------------------------------

[2003-04-06 06:58:49] sniper@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-04-01 06:20:08] sniper@php.net

You really need to provide a shorter (and complete!!) example
script. Otherwise this report is as good as nothing.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22820

-- 
Edit this bug report at http://bugs.php.net/?id=22820&edit=1



Thread (16 messages)

« previous php.bugs (#39414) next »