ID:               21378
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Assigned
 Bug Type:         COM related
 Operating System: Windows 2000 pro sp2
 PHP Version:      4.3.0
 Assigned To:      phanto
 New Comment:

My PHP also crashes on 4.3.0 when running a custom COM library I
created.  This library works flawlessly on previous PHP versions.


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

[2003-01-16 10:54:14] [EMAIL PROTECTED]

When I create either a 'ADODB.Recordset' or 'ADODB.Connection' object,
php.exe crasches immediately.

When I use an ADO wrapper component (also COM) that I built it only
crashes if CursorLocation is set to adUseClient in a method returning a
recordset to php.

Think I will have to go back to 4.2.3 and rather face COM-references
not being released.

/Pierre

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

[2003-01-09 05:22:31] [EMAIL PROTECTED]

I have the same problem with Xitami Web Server and Windows 98.
On PHP 4.2.3 scripts run well, on php 4.3.0 php.exe crash.
See bugs report #21517

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

[2003-01-06 11:26:34] [EMAIL PROTECTED]

(sorry for my bad english)

I have this same error!

My COM code works OK with PHP 4.2.3, but after upgrade to 4.3.0, Apache
(1.3.27) crash (DrWatson32 appears) and restart. This simple code crash
Apache:

$com = new COM("ADODB.Connection");

DrWatson32 leaves this information on log:

función: php_COM_release
        1003070f 397e04           cmp     [esi+0x4],edi         
ds:04f43582=????????
        10030712 740f             jz    
php_VARIANT_get_le_variant+0x1983 (10039223)
        10030714 8b4614           mov     eax,[esi+0x14]        
ds:04f43582=????????
        10030717 50               push    eax
        10030718 8b10             mov     edx,[eax]             
ds:045c10a0=????????
        1003071a ff5208           call    dword ptr [edx+0x8]   
ds:00afd5d3=????????
        1003071d 897e14           mov     [esi+0x14],edi        
ds:04f43582=????????
        10030720 897e04           mov     [esi+0x4],edi         
ds:04f43582=????????
        10030723 8b460c           mov     eax,[esi+0xc]         
ds:04f43582=????????
        10030726 50               push    eax
ERROR -> 10030727 8b08             mov     ecx,[eax]             
ds:045c10a0=????????
        10030729 ff5108           call    dword ptr [ecx+0x8]   
ds:00c76672=????????
        1003072c 8b4608           mov     eax,[esi+0x8]         
ds:04f43582=????????
        1003072f 897e0c           mov     [esi+0xc],edi         
ds:04f43582=????????
        10030732 48               dec     eax
        10030733 5f               pop     edi
        10030734 894608           mov     [esi+0x8],eax         
ds:04f43582=????????
        10030737 5e               pop     esi
        10030738 c3               ret
        10030739 90               nop
        1003073a 90               nop
        1003073b 90               nop

I'm using Windows 2000 Server SP3 with PHP as a module in Apache.

Any idea ?
Thanks!

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

[2003-01-02 21:47:14] [EMAIL PROTECTED]

-

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

[2003-01-02 21:26:17] [EMAIL PROTECTED]

COM code that works perfectly ok with 4.2.1 gets Apache 1.3.22 down
with program error notice in PHP 4.3.0. Any documentation update
possibly, maybe?



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


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

Reply via email to