You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by db...@newsfactor.com on 2002/01/07 19:09:59 UTC
Apache::Util segfaulting
Hi all,
I'm having an odd problem with a particular registry script.
This script causes a segmentation fault at the first usage of
Apache::Util::escape_uri(),
This same script also uses Apache::Util::escape_html() with no problems
at all.
Other scripts on this same server use Apache::Util::escape_uri() without
any problems.
I've tried to get a core dump with httpd -X but it won't leave one.
This is apache 1.3.14 with mod_perl/1.24_01 and php/3.0.17 both built
against the same mysql libraries.
Any ideas?
--
Daniel Bohling
NewsFactor Network
Re: Apache::Util segfaulting
Posted by Stas Bekman <st...@stason.org>.
dbohling@newsfactor.com wrote:
> Hi all,
>
> I'm having an odd problem with a particular registry script.
>
> This script causes a segmentation fault at the first usage of
> Apache::Util::escape_uri(),
>
> This same script also uses Apache::Util::escape_html() with no problems
> at all.
>
> Other scripts on this same server use Apache::Util::escape_uri() without
> any problems.
>
> I've tried to get a core dump with httpd -X but it won't leave one.
>
> This is apache 1.3.14 with mod_perl/1.24_01 and php/3.0.17 both built
> against the same mysql libraries.
>
> Any ideas?
To get the core dumped, you need to tell the shell to allow core dumps
and set the allowed size of the core file. The simplest is to set it to
unlimited. In bash do:
ulimit -c unlimited; httpd -X
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/