php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56825 APD generates empty files only
Submitted: 2006-02-07 08:41 UTC Modified: 2015-02-26 07:34 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: gustavo@php.net Assigned:
Status: Suspended Package: apd (PECL)
PHP Version: 5.0.3 OS: SUSE Linux v10.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-02-07 08:41 UTC] gustavo@php.net
Description:
------------
APD generates empty files only.

When I load the web page with apd_set_pprof_trace() in the first line, the webpage is not shown because it contains no bytes. In addition, PHP outputs no error messages, even with error_reporting set to E_ALL.

Files generated by APD are empty too (those with the *.0 extension).

Anyway, when I run `pprofp -R pprof.<number>.0`, nothing happens. Not even an error message is shown.

This bug report is similar to http://pecl.php.net/bugs/bug.php?id=5724

Reproduce code:
---------------
Just place apd_set_pprof_trace() in the first line of your script and you won't get what you expected.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-23 12:56 UTC] happydoener at gmail dot com
Well, got the same problem on SuSE 9.2. But on my Site it also happens if APD just gets loaded without a apd_set_pprof_trace().
 [2015-02-26 07:34 UTC] krakjoe@php.net
-Status: Open +Status: Suspended
 [2015-02-26 07:34 UTC] krakjoe@php.net
APD hasn't had a release in 10 years, this means it's source code is way out of sync with modern PHP.

I'm going to mark this bug as suspended, the report can still be found if a maintainer for APD comes forward.

Sorry about the wait.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jan 21 19:01:27 2021 UTC