On Sat, 1 Mar 2003, Stas Bekman wrote:

> There are two ways to debug this if you want to help.
>
> The easy way is to set in httpd.conf
> PerlTrace i
> as explained here:
> http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlTrace_

Would be glad to help but I use Randy Kobes' (latest) win32 build (don't
have the MS compiler so I can't build my own) and this don't have the
MP_TRACE enabled it seems...

> you probably want to move
> my $tid = APR::OS::thread_current();
> into the handler, otherwise you reprint the old value ;)

Good point.

> though your $cnt does the right job to reproduce the problem.
>
> Also you probably want:
> my $tid = ${ APR::OS::thread_current() };

Yes I wondered about that. But ${...} *always* gives me the same ID,
'4294967294' (always), while the ref itself changes for every new
interpreter...


BTW: I've fixed my "can't coerce GLOB to string" problem I had last week.
Was unrelated to mod_perl (sorry). It seems XML::LibXSLT produced some
errors which went straight to STDERR. Under CGI these ends up in the
error_log but under mod_perl it seems STDERR is just a black hole (?).
Would it be possible to map STDERR to log_error()?



__________
kurt george gjerde <[EMAIL PROTECTED]>
intermedia uib, university of bergen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to