ID:               37344
 User updated by:  spaze-bugs at exploited dot cz
 Reported By:      spaze-bugs at exploited dot cz
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: WinXP/SP2
 PHP Version:      5.1.4
 New Comment:

Uh, sorry, I forgot to disable the APD. When I do NOT load this
extension, it works as expected. Sorry for wasting your time.


Previous Comments:
------------------------------------------------------------------------

[2006-05-07 01:06:05] spaze-bugs at exploited dot cz

Description:
------------
PHP crashes when using user-defined exception handler to handle PDO
expcetions.

Reproduce code:
---------------
function exception_handler($exception) {
        echo 'Uncaught exception: ', $exception->getMessage(), "\n";
}

set_exception_handler('exception_handler');
$dbh = new PDO('mysql:host=mysql41.localhost;port=3306;dbname=foo');


Expected result:
----------------
Uncaught exception: SQLSTATE[28000] [1045] Access denied for user
'ODBC'@'localhost2' (using password: NO)

Actual result:
--------------
Crash with this line in Apache(/2.0.58) errorlog:

[Sun May 07 03:01:26 2006] [notice] Parent: child process exited with
status 3221225477 -- Restarting.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37344&edit=1

Reply via email to