|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-23 10:58 UTC] mike@php.net
[2006-02-27 07:24 UTC] mike@php.net
[2006-05-06 21:30 UTC] spaze-bugs at exploited dot cz
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 22:00:01 2025 UTC |
Description: ------------ I have php 5.0.4 installed on my win xp machine. I use apd to override some built in function, for better comptability with my framework, but i found very ugly bug. My php.ini settings zend_extension_ts = "E:\Develop\bin\php\ext\php_apd.dll" apd.dumpdir = "E:\Develop\bin\php\tmp\" apd.statement_trace = 1 Php crashes with error: Instructon by adress 0x1003b8ec call to memory adress "0x00000054". Memory cant be read. When: 1. php apd module loaded 2. exception handler overloaded through set_exception_handler 3. throw exception without try {} catch constuction. Reproduce code: --------------- function catcher(exception $e) { var_dump($e); } set_exception_handler("catcher"); throw new exception("aaa",E_USER_NOTICE); Expected result: ---------------- Instructon by adress 0x1003b8ec call to memory adress "0x00000054". Memory cant be read. CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Actual result: -------------- object(Exception)#1 (6) { ["message:protected"]=> string(3) "aaa" ["string:private"]=> string(0) "" ["code:protected"]=> int(1024) ["file:protected"]=> string(33) "E:\Develop\wwwroot\dphp\index.php" ["line:protected"]=> int(26) ["trace:private"]=> array(1) { [0]=> array(3) { ["file"]=> string(33) "E:\Develop\wwwroot\dphp\index.php" ["line"]=> int(26) ["function"]=> string(7) "unknown" } } }