Debugging for mod_perl

[prev] [thread] [next] [Date index for 2004/12/17]

From: Sean Davis
Subject: Debugging for mod_perl
Date: 12:59 on 17 Dec 2004
I am a new user to mod_perl.  I have a module that does some 
computation and has methods for generating png (using GD) and html.  I 
wrapped it in a thin content handler.  It works as expected except that 
when I include it in the httpd.conf file, I start noticing that the png 
colors are altered on some requests.  Furthermore, it also alters the 
colors on another script (running under apache::registry) that generate 
pngs dynamically.  However, when I run the same second script under 
plain cgi and under apache::registry without my handler included in 
httpd.conf, it does not have these display the strange color behavior.  
Running my calculation module with warnings and use strict results in 
no warnings, etc.

I know I haven't given enough information to solve the problem, but I 
feel like I have some issue with a global variable or a memory leak 
somewhere that is causing a problem in the mod_perl setting.  
Unfortunately, I am using multiple third-party modules, also, so 
tracking this down by hand is a difficult proposition at best.  What 
tools/steps would folks suggest that I use to track down the issue?

Thanks,
Sean


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

Debugging for mod_perl
Sean Davis 12:59 on 17 Dec 2004

Re: Debugging for mod_perl
Frank Wiles 14:54 on 17 Dec 2004

Re: Debugging for mod_perl
Perrin Harkins 21:03 on 17 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52