ID: 17173
Updated by: phanto@php.net
Reported By: mbretter@inode.at
Status: Open
Bug Type: COM related
Operating System: Windows 2000 SP2
-PHP Version: 4.1.2
+PHP Version: latest CVS
New Comment:
the crash caused by your second script is fixed now. actually it was
caused by an error in your script as the right property is
->ActiveConnection and not ->Connection and there was a NULL pointer
reference in the error handler function :)
the first bug is a bug in the engine, thus i'll reclassify the
bugreport.
Previous Comments:
------------------------------------------------------------------------
[2002-06-13 09:17:33] mbretter@inode.at
also this lets php hang:(Assigning a Connection to a Recordset)
$conn = new COM( "ADODB.Connection" );
$rs = new COM( "ADODB.Recordset" );
$rs2 = new COM( "ADODB.Recordset" );
$conn->Provider = 'SQLOLEDB';
$conn->Open( "Server=wincubix;Uid=oebb;Pwd=oebb;Database=cubix" );
$rs2->Connection = $conn;
@$rs->Open( "SELECT * FROM news ", $conn);
------------------------------------------------------------------------
[2002-06-12 14:13:49] mbretter@inode.at
Now I had the chance to try it with latest php (11.06.2002).
Now the System doesen't crash, instead the php-process hangs, also the
max_execution_time doesen't end the php-process.
------------------------------------------------------------------------
[2002-06-09 11:48:02] phanto@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2002-05-30 19:40:08] phanto@php.net
please can you verify this with a recent cvs snapshot
------------------------------------------------------------------------
[2002-05-30 08:55:44] phanto@php.net
what is the correspondent value and datatype in the db that causes the
crash ?
checking for empty will always result in TRUE because 'value' is not an
actual property but only an overloaded action that calls com_propget()
so empty() doesn't see it as property (i assume strftime() never gets
called in your script).
------------------------------------------------------------------------
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/17173--
Edit this bug report at http://bugs.php.net/?id=17173&edit=1