Bug #70188 [Csd->Nab]: debug_backtrace + register_tick_function do not always work
Edit report at https://bugs.php.net/bug.php?id=70188&edit=1
ID: 70188
Updated by: cmb@php.net
Reported by: emilio dot pinn at gmail dot com
Summary: debug_backtrace + register_tick_function do not
always work
-Status: Closed
+Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: Ubuntu
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-08-03 17:51:56] emilio dot pinn at gmail dot com
I update the system and now it works. Please kill this, and thanks for your support.
------------------------------------------------------------------------
[2015-08-03 16:58:54] cmb@php.net
I can't reproduce the described behavior with Joomla 3.4.3. A
single request to the home page (front-end) causes a 1.5 MB log
file to be generated, which contains 24652 FUNCTION NAME and only
14 NO BACKTRACE messages.
------------------------------------------------------------------------
[2015-08-03 15:26:36] emilio dot pinn at gmail dot com
Hello,
The test script is already included in the bug ticket, you have just to include it at every requests
done to a joomla installation e.g. using "php_value auto_prepend_file" option in its
.htaccess file.
Let me know if you need any further information.
------------------------------------------------------------------------
[2015-08-03 13:41:07] cmb@php.net
On further consideration the behavior is somewhat strange. Anyhow,
to properly diagnose the problem, we need a short but complete
example script to be able to reproduce this bug ourselves.
A proper reproducing script starts with <?php, is max. 10-20 lines
long and does not require any external resources such as
databases, etc. If the script requires a database to demonstrate
the issue, please make sure it creates all necessary tables,
stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2015-08-03 12:57:58] emilio dot pinn at gmail dot com
Hi, thanks for your prompt response.
The very strange behaviour is that in the conditions I described, debug_backtrace() returns just a
single element backtrace, instead of the complete backtrace of any invoked functions. I can't
understand why this strange behaviour.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70188
--
Edit this bug report at https://bugs.php.net/bug.php?id=70188&edit=1
Thread (8 messages)