Search
113 results · page 3 of 6
-
Robert Landers ·
… In many (most?) cases you need the fully qualified name. Even or especially for error handling! Of course mostly the error is somewhere else. But you want to know the starting point. An unqualified name gets you nowhere. Although backtrace …
-
Jordan LeDoux ·
If someone can inject a debug_backtrace into your code and get it executed you have bigger problems than a parameter being exposed. And if you configure your prod servers to be all chatty Kathy to the world on error …
-
tyson andre ·
… $trace includes an array with a reference to $x at $trace[0]['args'][0], // increasing the refcount to 2, throwing. // // Error handlers and issue handlers would also have this issues, // as well as Throwable->getTrace() $trace = `debug_backtrace()`; var_dump …
-
Michael Morris ·
… reasoning as for deprecating the $errcontext argument applies, see <https://wiki.php.net/rfc/deprecations_php_7_2# errcontext_argument_of_error_handler>. See also my posts about the problems of capturing arguments in the exception's backtrace (sorry, d
-
Stanislav Malyshev ·
Hi! My only concern is if anyone is using this data for anything other than debugging - e.g. if they were somehow extracting extra context about the exception by traversing the backtrace to a particular point and grabbing the arguments …
-
feature-request : html + css logging in apache logs (example for the rest of the unix community too)
Rene Veerman ·
… bool($errMsgOrArray) ) { $errMsg = ( $errMsgOrArray ? 'TRUE' : 'FALSE' ); } //echo 't1200'; //echo '<pre>'; var_dump (debug_backtrace()); echo '</pre>'; in badResult() instead trigger_error ($errMsg, $errCode); } function woBasicErrorHandler ($errno, $errstr, $errfile, $errline, $errcontext) { //echo 'woBasicErrorHandler.main:start'; $stacktrace = `debug_backtrace()`; $errType = wo_php …
-
Frank M. Kromann ·
… happens. Still on the PHP-7.0 branch with USE_ZEND_alloc=0 set in the environment I get this backtrace. #0 0x00007ffff4786563 in malloc_consolidate () from /usr/lib64/libc.so.6 #1 0x00007ffff47880b9 in _int_malloc () from /usr/lib64 …
-
Yasuo Ohgaki ·
… backtrace, etc.). Also, not catching the exception immediately usually will lead to a complete application failure (usually with an obscure error message like "internal operation failed", since displaying raw exceptions to the user can be unsafe) instead of finer-grained …
-
Xinchen Hui ·
… vars is called for the class holding the instance. Removing any of the lines from the static method avoids the error. Should I open an issue on bugs.php.net? could you please try with the master again? thanks Trying …
-
Yasuo Ohgaki ·
… a test run and exiting, the tools can decide to raise an exception and display the very much more helpful backtrace. No third-party PHP extensions needed for this, just a simple set_error_handler() call [1]. I've verified …
-
Sara Golemon ·
… the opline pointing at ZEND_EVAL (this will probably be the current stack, or one above, depending on where your error got thrown from). opline->lineno will have the line number where eval was called from. You can take a …
-
Lazy ·
… 0x100013bbf18 "xxx", error_lineno=7, format=<optimized out>, args=<optimized out>) at main/main.c:837 #4 0x0000000000623e15 in soap_error_handler (error_num=1, error_filename=0x100013bbf18 "/class.cbase.php", error_lineno=7, format=0xa749c0 "Maximum execution time of …
-
enumag@gmail.com ·
I agree with you that the parameters would be good. There should also be the limit parameter (same as for debug_backtrace). However I'm afraid I'm not that much familiar with C to actually write it. It's …
-
Jani Ollikainen ·
… type of problem as discussed above wrt concurrent readers. Usage is fishy, but it's small and can reproduce the error. Don't really know what code hits that in my production environment or is it even the same problem …
-
tbrasta@gmail.com ·
… https://bugs.php.net/bug.php?id=55339 Regards, Tomas Brastavičius Hi! I would like to ask if the following backtrace contains enough information to identify the bug ? Perhaps someone may identify from the backtrace a PHP function/code that …
-
Stas Malyshev ·
Hi! I would like to ask if the following backtrace contains enough information to identify the bug ? Perhaps someone may identify from the backtrace a PHP function/code that causes the segfault and I am able to provide more info …
-
internals@lists.php.net ·
PHP 5 Bug Database summary - http://bugs.php.net/ Num Status Summary (1359 total -- which includes 876 feature requests) ===============================================[Network Functions]=========== 48167 To be documented undefined function checkdnsrr() ===============================================[XML functions]=============== 48095 Verified Load RDF Format Error ===============================================[Apache2 related]============== 32220 Assigned …
-
internals@lists.php.net ·
… BROKEN_GETCWD 47681 Open System TMP dir ignored in file uploads 48134 Open crash after a few days (backtrace attached) with worker MPM 48260 Open Size of PHP file affects behaviour of virtual() or #include virtual 48494 Open Syntex Error ==
-
internals@lists.php.net ·
PHP 5 Bug Database summary - http://bugs.php.net/ Num Status Summary (1326 total -- which includes 867 feature requests) ===============================================[Network Functions]=========== 48167 To be documented undefined function checkdnsrr() ===============================================[XML functions]=============== 48095 Verified Load RDF Format Error ===============================================[Apache2 related]============== 32220 Assigned …
-
internals@lists.php.net ·
PHP 5 Bug Database summary - http://bugs.php.net/ Num Status Summary (1317 total -- which includes 861 feature requests) ===============================================[Network Functions]=========== 48167 To be documented undefined function checkdnsrr() ===============================================[XML functions]=============== 48095 Verified Load RDF Format Error ===============================================[Apache2 related]============== 32220 Assigned …