perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: Perl 5.6+mod_perl bugs (was Re: Win32 mod_perl binary [update])
Date Thu, 01 Jun 2000 19:36:02 GMT
On Tue, 30 May 2000, Jeremy Howard wrote:

> *  Many problems appear running under Apache::DB. In particular,
> Apache::Util::escape_uri causes a segfault under Apache::DB in some
> circumstances, as does Apache::Request::register_cleanup (when called as
> a class rather than an object method)
> *  Slight changes to code can cause a segfault for no apparent reason.
> For instance, under Apache::DB, the following causes a crash (from
> Email::Valid)...
> $Resolver = new Net::DNS::Resolver unless $@;
> ...while the following works fine...
> if (!$@) {
>   $Resolver = new Net::DNS::Resolver;
> }

the debugger is often tripped up inside mod_perl (inside perl_call_sv i
should say), i've had problems with 5.005_03 too.  if you can post tiny
examples that trip up the debugger, i can look into them.
the debugger is another case of 'broken' code, it assumes it will only be
run from the command line with the -d switch (which is why the Apache::DB 
wrapper is required).  it's certainly worth doing what we need to so it's
happy inside mod_perl.

View raw message