perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Brown <>
Subject Re: Segfault with Apache::Request->param method
Date Mon, 06 Dec 2004 14:05:05 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
I found the problem actually. My common module has an AUTOLOAD that
allows me to say $common-&gt;foo instead of $common-&gt;{foo}. I pass
my Apache::Request ($apr) object around in this common object,
retreiving $apr by calling $common-&gt;apr and then calling param()
causes the crash. I guess the return values of these AUTOLOADed
functions are cached? Anyway, using $common-&gt;{apr} made it work.<br>
Thanks for the response :)<br>
Sam Tregar wrote:
  <pre wrap="">On Thu, 2 Dec 2004, Chris Brown wrote:

  <blockquote type="cite">
    <pre wrap="">Right now I'm running Apache 1.3.31 with mod_perl 1.29. Perl is 5.8.3
Fedora FC1
  <pre wrap=""><!---->
Well, I don't know anything about your specific problem but judging by
the lack of responses neither does anyone else.  So here's what I'd

  - Download the latest Perl, 5.8.6.

  - Compile it without thread support.  Thread support is still pretty
    rough and it slows down your Perl anyway.

  - Re-compile Apache/mod_perl.  Make sure you've got mod_perl
    compiled in static, not loaded as a DSO.  DSO and mod_perl are
    famous for seg-faulting.

  - Recompile Apache::Registry and any other non pure-Perl modules you
    might be using.

  - Say your prayers and give it a try!


<pre class="moz-signature" cols="72">-- 
Chris Brown
System Administrator
Wavetex Inc.
903-597-7566	<a class="moz-txt-link-freetext" href=""></a>

Report problems:
Mail list info:
List etiquette:

View raw message