#31410 [Opn->Fbk]: COM Causes crash "The memory could not be "read".
ID: 31410
Updated by: jed@php.net
Reported By: jevans at lynch dot ca
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows 2000 IIS
PHP Version: 4.3.10
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
We don't have your COM component, and this doesn't really imply a bug
in PHP either, it could be in your component.
Previous Comments:
------------------------------------------------------------------------
[2005-01-04 20:57:25] jevans at lynch dot ca
Description:
------------
I am using a vb build COM that pushes data to another db.
When I run this COM, PHP crashes with the following application error:
' The instruction at "0x10038b14" referenced memory at "0x00001000".
The memory could not be "read". '
This COM will establish a connection to the db and reference the path
($objActLink_Notes->ACTPath) correctly (I have checked this and printed
it to a log file to make sure). It will also close the path and
terminate the object.
Also, when I run this code in VB, I am able to put the note without any
issues. It is just when it it compiled and installed.
Reproduce code:
---------------
$ContactID = base64_decode("VThNPiEgRDJESCEh");
$NoteText = "Testing note connection";
$objActLink_Notes = new COM("ACT_MySQL_Link.Notes") or die("Unable to
instantiate COM object");
$objActLink_Notes->ACTPath = realpath("act.dbf");
$objActLink_Notes->ACTPath = 'E:\act.dbf';
$objActLink_Notes->AddNote($ContactID,$NoteText);
$objActLink_Notes = null;
Expected result:
----------------
note to be added to the db at specified contact ID
Actual result:
--------------
When I run this COM, PHP crashes with the following application error:
' The instruction at "0x10038b14" referenced memory at "0x00001000".
The memory could not be "read". '
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31410&edit=1
Thread (5 messages)