php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21378 COM code crashes after update 4.2.1 to 4.3.0
Submitted: 2003-01-02 21:26 UTC Modified: 2003-01-29 20:04 UTC
Votes:5
Avg. Score:4.8 ± 0.4
Reproduced:5 of 5 (100.0%)
Same Version:5 (100.0%)
Same OS:4 (80.0%)
From: joona at lpt dot fi Assigned: phanto (profile)
Status: Closed Package: COM related
PHP Version: 4.3.0 OS: Windows 2000 pro sp2
Private report: No CVE-ID: None
 [2003-01-02 21:26 UTC] joona at lpt dot fi
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?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-02 21:47 UTC] joona at lpt dot fi
-
 [2003-01-06 11:26 UTC] juanjo7812 at eresmas dot com
(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-09 05:22 UTC] andrusso at libero dot it
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-16 10:54 UTC] pan at tt dot se
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-19 07:34 UTC] haafiz at ezwebsolutions dot ca
My PHP also crashes on 4.3.0 when running a custom COM library I created.  This library works flawlessly on previous PHP versions.
 [2003-01-29 20:04 UTC] phanto@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC