#21378 [Asn->Csd]: COM code crashes after update 4.2.1 to 4.3.0
| From: | phanto@php.net | Date: | Thu, 30 Jan 2003 02:04:39 +0000 |
| Subject: | #21378 [Asn->Csd]: COM code crashes after update 4.2.1 to 4.3.0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31646@lists.php.net to get a copy of this message | ||
ID: 21378
Updated by: phanto@php.net
Reported By: joona@lpt.fi
-Status: Assigned
+Status: Closed
Bug Type: COM related
Operating System: Windows 2000 pro sp2
PHP Version: 4.3.0
Assigned To: phanto
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-01-19 07:34:37] haafiz@ezwebsolutions.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-16 10:54:14] pan@tt.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-09 05:22:31] andrusso@libero.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-06 11:26:34] juanjo7812@eresmas.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-02 21:47:14] joona@lpt.fi
-
------------------------------------------------------------------------
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/21378
--
Edit this bug report at http://bugs.php.net/?id=21378&edit=1