#39656 [Opn->Asn]: Crash when calling fetch() on a PDO statment object after closeCursor()
| From: | tony2001@php.net | Date: | Tue, 28 Nov 2006 10:53:12 +0000 |
| Subject: | #39656 [Opn->Asn]: Crash when calling fetch() on a PDO statment object after closeCursor() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105535@lists.php.net to get a copy of this message | ||
ID: 39656
Updated by: tony2001@php.net
Reported By: randy at rcs-comp dot com
-Status: Open
+Status: Assigned
-Bug Type: Reproducible crash
+Bug Type: PDO related
Operating System: Windows XP
PHP Version: 5.2.0
-Assigned To:
+Assigned To: wez
New Comment:
Wez, please check out this patch:
http://tony2001.phpclub.net/dev/tmp/bug39656.diff
Previous Comments:
------------------------------------------------------------------------
[2006-11-28 04:29:01] randy at rcs-comp dot com
Description:
------------
After calling the example code using CLI on Windows XP, CLI appears to
crash. I get the XP notification box asking to send info to Microsoft,
however the PHP process is still listed in the task manager and must be
killed (end process tree) in order to get the command prompt working
correctly.
I installed the .pdb files from snaps.php.net in the hopes of providing
a backtrace, but I never got the debug interface that the instructions
said I would. If you need a backtrace, please point me to better
instructions on how to create one.
Reproduce code:
---------------
http://www.rcs-comp.com/phpcode/simple_pdo_test4.php.txt
Expected result:
----------------
>php simple_pdo_test4.php
Array
(
[id] => 1
[0] => 1
[user] => user1
[1] => user1
[email] => user1@example.com
[2] => user1@example.com
[time] => 1164686920
[3] => 1164686920
[message] => this is my message 1
[4] => this is my message 1
[confirmed] => 0
[5] => 0
)
bool( false )
Actual result:
--------------
Array
(
[id] => 1
[0] => 1
[user] => user1
[1] => user1
[email] => user1@example.com
[2] => user1@example.com
[time] => 1164686920
[3] => 1164686920
[message] => this is my message 1
[4] => this is my message 1
[confirmed] => 0
[5] => 0
)
// at this point I get the XP dialog box telling me "CLI has
encountered a problem and needs to close...Please tell Microsoft about
this problem..."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39656&edit=1