From:             randy at rcs-comp dot com
Operating system: Windows XP
PHP version:      5.2.0
PHP Bug Type:     Reproducible crash
Bug description:  Crash when calling fetch() on a PDO statment object after 
closeCursor() 

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

Reply via email to