I've just been experiencing problems using a tracing facility in
mod_perl 2 (latest CVS sources) with Apache httpd-2.0.50.
It seems to boil down, at least in part, to a bug in apr_file_dup() on
Win32, namely that the mutex member of the new apr_file_t * is not being
set.
The attached patch (against whichever apr is in httpd-2.0.50) seems to
help, although there is still one situation causing a crash that I
haven't been able to fix yet.
Please see this thread on the dev@perl.apache.org list for more
details: http://marc.theaimsgroup.com/?t=109524076100001&r=1&w=2.
Is the patch correct?
Is there another bug lurking here somewhere that is still causing the
crash with MOD_PERL_TRACE=g described in
http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=109534744919759&w=2
? Sorry, I've no idea how to reproduce that crash outside of mod_perl
land, or even if it definitely is an apr problem.
The MOD_PERL_TRACE feature is apparently working fine on Unix/Linux.
Thanks,
- Steve
------------------------------------------------
Radan Computational Ltd.
The information contained in this message and any files transmitted with it are confidential
and intended for the addressee(s) only. If you have received this message in error or there
are any problems, please notify the sender immediately. The unauthorized use, disclosure,
copying or alteration of this message is strictly forbidden. Note that any views or opinions
presented in this email are solely those of the author and do not necessarily represent those
of Radan Computational Ltd. The recipient(s) of this message should check it and any attached
files for viruses: Radan Computational will accept no liability for any damage caused by any
virus transmitted by this email.
|