Skip to content
#externals

Search

113 results · page 2 of 6

  1. tim@bastelstu.be ·

    Hi If I'm reading the implementation correctly, the original exception is thrown away, there's no way to get the original message and backtrace. That will make debugging more difficult. See Derick's reply (and my reply to Derick …

  2. Rowan Tommins ·

    My first thought is that if you're throwing away exceptions, you're therefore performing an expensive operation (generating a backtrace for the exception) that will then be discarded, and thus is wasted effort. I think regardless of any …

  3. Rasmus Schultz ·

    I understand the $errcontext argument to the set_error_level() callback was deprecated in 7.2. Apparently, this was deemed "not useful", but what's the alternative? I understand that debug_backtrace() reports the arguments on the call-stack, but …

  4. lists@rhsoft.net ·

    … www-servers/corecms/opcache.php</b> on line <b>6</b><br /> </div><div style='background-color:yellow;color:red;padding:3px;font-family:verdana;font-size:10px;'><br /> <b>Fatal error</b>: Uncaught Error: Call to a member functio

  5. daniel@zoltak.com ·

    … do this? Or/and do the error_log open_base check after the SAPI has be initialised - again not sure how to do this? Ideally both should be performed to ensure the error_log path is within the open_base.

  6. Bruce Bailey ·

    … Apache error log file I see: [Mon Jul 13 16:15:32 2009] [notice] child pid 21521 exit signal Bus error (7) After many attempts, I have caught the following backtrace: (gdb) bt #0 0xb73447bc in memcpy () from /lib/libc …

  7. Amir Abiri ·

    … gracefully from this sort of error. A properly designed PHP application that already has global catch blocks and some 500 error pages will have this sort of error come under that same error handling process rather then give an ugly …

  8. Stefan Walk ·

    … change, the code simply dies ... if you don't catch the exception, the code simply dies ... except you get a backtrace now and can handle the exception if you want to. Regards, Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4 …

  9. Wez Furlong ·

    I'd suggest using gdb to get a backtrace. It sounds like your libc is broken to me. Oh, wait, you're running FreeBSD 5. That's broken. Use 4 or 6. --Wez. Ok, I've rebuilt Apache2 forcing the …

  10. Dan Scott ·

    … loading pdo.so again, but it's already loaded by php.ini, therefore you get the Warning and your own error message. Yup. :) You plan on connecting to MySQL, but don't appear to have loaded pdo_mysql.so anywhere …

  11. Derick Rethans ·

    We're getting quite a few reports of PEAR segfaulting on a debug_backtrace() call found in the constructor of PEAR_Error. Jan Schneider reported that it seemed to occur when one of the methods in the trace happened …

  12. Andi Gutmans ·

    … 06:47 PM 5/6/2004 +0200, Derick Rethans wrote: Cristiano Duarte wrote: Hi internals, this piece of code causes coredumps with PHP5-RC2: I also tested with latest CVS (2004-05-06). File a bug (including a backtrace). Derick

  13. Derick Rethans ·

    Cristiano Duarte wrote: Hi internals, this piece of code causes coredumps with PHP5-RC2: I also tested with latest CVS (2004-05-06). File a bug (including a backtrace). Derick

  14. Timm Friebe ·

    … Bus error (core dumped) Expected output: a return value of NULL for access to a non-existant member and E_ERROR for trying to invoke a member function. -- gdb output -- Program received signal SIGBUS, Bus error. 0x828401b in zend_mm …

  15. Red Wingate ·

    Actually it seams like it crashes my Apache2 when used within an error_handler. Backtracing the error generated by $boolean = FALSE ; $boolean[2] += 1 ; will tear down the whole Apache2 process on Win32 Servers --red Am Dienstag, 16. März 2004 …

  16. Andi Gutmans ·

    … I didn't run make test - after the last patch it segfaults at the tests/classes/array_access_005.phpt Backtrace: (gdb) run tests/classes/array_access_005.phpt Starting program: /home/johannes/src/php-cvs/php-src/sapi/cli …

  17. Johannes Schlueter ·

    … I didn't run make test - after the last patch it segfaults at the tests/classes/array_access_005.phpt Backtrace: (gdb) run tests/classes/array_access_005.phpt Starting program: /home/johannes/src/php-cvs/php-src/sapi/cli …

  18. Andrey Hristov ·

    … of PHP's best features, despise me if you want) but I want to be able to give a debug_backtrace and other info in case there's a real runtime error. That's your view :) A bug like this …

  19. David Brown ·

    … functions.c 2003-05-20 15:31:09.000000000 -0400 @@ -1173,7 +1173,7 @@ return arg_array; } -/* {{{ proto void debug_backtrace(void) +/* {{{ proto void debug_backtrace([int limit]) Prints out a backtrace */ ZEND_FUNCTION(debug_backtrace) { @@ -1189,11 +1189,21 …

  20. Larry Garfield ·

    … important difference here: An exception passed through exitContext() is the original exception from lower in the call stack, and its backtrace will be the original location of the error. An exception thrown from within exitContext() itself indicates a failure that …