From:             jevans at lynch dot ca
Operating system: Windows 2000 IIS 
PHP version:      4.3.10
PHP Bug Type:     Reproducible crash
Bug description:  COM Causes crash  "The memory could not be "read". 

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 bug report at http://bugs.php.net/?id=31410&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31410&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31410&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31410&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31410&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31410&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31410&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31410&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31410&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31410&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31410&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31410&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31410&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31410&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31410&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31410&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31410&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31410&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31410&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31410&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31410&r=mysqlcfg

Reply via email to