For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2007 > #41812 [Opn->Fbk]: Backtrace instructions don't work anymore









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #41812 [Opn->Fbk]: Backtrace instructions don't work anymore
tony2001@php.net

2007-06-27, 8:00 am

ID: 41812
Updated by: tony2001@php.net
Reported By: jan at horde dot org
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:

Well, it looks like you did enable it, because it works perfectly fine
here:

Breakpoint 1, zif_var_dump (ht=1, return_value=0x836c1ac,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0) at
/local/dev/php/5_2/ext/standard/var.c:177
177 argc = ZEND_NUM_ARGS();
(gdb) print
(char*)(executor_globals.function_state_ptr->function)->common.function_name
$1 = 0x829c56b "var_dump"


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

[2007-06-27 08:16:27] jan at horde dot org

No, it's a debug non-zts linux build.

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

[2007-06-26 12:47:01] tony2001@php.net

Did you enable ZTS ?

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

[2007-06-26 12:34:34] jan at horde dot org

Description:
------------
The instructions to generate backtrace information on
http://bugs.php.net/bugs-generating-backtrace.php don't work anymore
with the latest PHP versions.

print (char
*)(executor_globals.function_state_ptr->function)->common.function_name

results in:

Address of symbol "executor_globals" is unknown.



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


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







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com