I found the problem actually. My common module has an AUTOLOAD that allows me to say $common->foo instead of $common->{foo}. I pass my Apache::Request ($apr) object around in this common object, retreiving $apr by calling $common->apr and then calling param() causes the crash. I guess the return values of these AUTOLOADed functions are cached? Anyway, using $common->{apr} made it work.

Thanks for the response :)

Chris

Sam Tregar wrote:
On Thu, 2 Dec 2004, Chris Brown wrote:

  
Right now I'm running Apache 1.3.31 with mod_perl 1.29. Perl is 5.8.3 on
Fedora FC1
    

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
do:

  - 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!

-sam


  

-- 
Chris Brown
System Administrator
Wavetex Inc.
903-597-7566	http://wavetex.com/
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to