[Bug 64698] New: flood: corrupt output with report_relative_times

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 64698] New: flood: corrupt output with report_relative_times

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64698

            Bug ID: 64698
           Summary: flood: corrupt output with report_relative_times
           Product: Apache httpd-test
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: flood
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Apologies if I'm in the wrong bug reporting area for this. I didn't see
anything for flood specifically, but
http://httpd.apache.org/test/flood/ says it's part of the http server project,
and I saw ApacheBench
bugs in this component.

Using http://svn.apache.org/repos/asf/httpd/test/trunk/flood revision 449338,
I'm trying to post-
process <report>relative_times</report> output. But my processor is reporting
corruption, and it's
definitely right:

    1159070508122258 122 453 490 547 OK  1094719808
http://localhost/manual/install.html
    1159070507911233 126 217090 217134 217186 OK  1126189376
http://localhost/manual/
    anual/install.html

    1159070508367336 358 751 777 831 OK  1168148800 http://localhost/manual/
    1159070508368204 122 458 496 552 OK  1168148800
http://localhost/manual/install.html

I found a suspicious area of report_relative_times.c:

    /* FIXME: this call may need to be in a critical section */
#if APR_HAS_THREADS
    apr_file_printf(local_stdout, "%s %ld %s\n", buf, apr_os_thread_current(),
req->uri);
#else
    apr_file_printf(local_stdout, "%s %d %s\n", buf, getpid(), req->uri);
#endif

but it's eluding my attempts at a fix. I'll attach my awkward patch - mutex,
flock within it, flush while
both are held - that still doesn't work. Not sure what's going on...

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64698] flood: corrupt output with report_relative_times

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64698

playapk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://www.googleplay-apk.
                   |                            |com

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64698] flood: corrupt output with report_relative_times

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64698

Christophe JAILLET <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                URL|https://www.googleplay-apk. |
                   |com                         |

--- Comment #1 from Christophe JAILLET <[hidden email]> ---
URL provided in comment #0 is broken.
Revision is spurious and unrelated to flood.
URL added in the dedicated field looks add.

Spam ?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]