On 1/24/07, Robert Landrum <[EMAIL PROTECTED]> wrote:
Perrin Harkins wrote:
> My guess is that $self has a lifespan longer than one request, so you
> are trying to use a $r object from a previous request.
Would $r still be defined in that instance?
Yes. What you're checking is that the refere
Perrin Harkins wrote:
My guess is that $self has a lifespan longer than one request, so you
are trying to use a $r object from a previous request.
Would $r still be defined in that instance?
Rob
On 1/24/07, Joel Gwynn <[EMAIL PROTECTED]> wrote:
My understanding is that PerlSetVar is not a per-request directive.
What am I missing?
You mean dir_config? It's not per-request, but I'm guessing that $r
in your code is an Apache2::RequestRec object, which is per-request.
You have to call dir
On 1/24/07, Perrin Harkins <[EMAIL PROTECTED]> wrote:
On 1/24/07, Joel Gwynn <[EMAIL PROTECTED]> wrote:
> OK. I replaced that line with a hard-coded file path, and now it's
> looking much better. So I guess it's something about the Request
> object.
My guess is that $self has a lifespan longer
On 1/24/07, Joel Gwynn <[EMAIL PROTECTED]> wrote:
OK. I replaced that line with a hard-coded file path, and now it's
looking much better. So I guess it's something about the Request
object.
My guess is that $self has a lifespan longer than one request, so you
are trying to use a $r object fro
On 1/24/07, Joel Gwynn <[EMAIL PROTECTED]> wrote:
On 1/24/07, Robert Landrum <[EMAIL PROTECTED]> wrote:
> Joel Gwynn wrote:
> > Interesting. I just might be doing that:
> > $config_file = $self->param('r')->dir_config('CONFIG_FILE');
> >
> > In my section, I have this:
> >
> > PerlSetVar CONFIG
On 1/24/07, Robert Landrum <[EMAIL PROTECTED]> wrote:
Joel Gwynn wrote:
> Interesting. I just might be doing that:
> $config_file = $self->param('r')->dir_config('CONFIG_FILE');
>
> In my section, I have this:
>
> PerlSetVar CONFIG_FILE /projects/funnyr_dev/private/config.ini
>
> And of course
Joel Gwynn wrote:
Interesting. I just might be doing that:
$config_file = $self->param('r')->dir_config('CONFIG_FILE');
In my section, I have this:
PerlSetVar CONFIG_FILE /projects/funnyr_dev/private/config.ini
And of course I'm not using flock on that file. Hmmm.
Try changing that up...
Joel Gwynn wrote:
Here's my backtrace, any ideas?
#0 0xb7a58743 in modperl_dir_config (my_perl=0x81b6eb0, r=0x823ce98,
s=0x203a6e6f,
key=0x8800c38 "CONFIG_FILE", sv_val=0x0) at modperl_util.c:516
#1 0xb78dae84 in XS_Apache2__RequestRec_dir_config
(my_perl=0x81b6eb0, cv=0x82cd074)
at Requ
On 1/22/07, Perrin Harkins <[EMAIL PROTECTED]> wrote:
On 1/21/07, Joel Gwynn <[EMAIL PROTECTED]> wrote:
> I've got a mod_perl application which segfaults on every 10th or so
> requests. Here's what I get in my error log:
>
> [notice] child pid exit signal Segmentation fault (11)
>
> How wou
On 1/21/07, Joel Gwynn <[EMAIL PROTECTED]> wrote:
I've got a mod_perl application which segfaults on every 10th or so
requests. Here's what I get in my error log:
[notice] child pid exit signal Segmentation fault (11)
How would I go about troubleshooting this?
There are instructions for
On Jan 22, 2007, at 9:12 AM, Joel Gwynn wrote:
Is DEBUG_USER_LOGIC shorthand for something?
No.
You just have to make your own (USER_LOGIC) debugging lines, to try
and figure out where you're segfaulting.
The other option is this:
http://search.cpan.org/~pgollucci/mod_perl-2.0.3/docs/de
On 1/21/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
On Jan 21, 2007, at 12:05 PM, Joel Gwynn wrote:
> I've got a mod_perl application which segfaults on every 10th or so
> requests. Here's what I get in my error log:
>
> [notice] child pid exit signal Segmentation fault (11)
>
> How w
On Jan 21, 2007, at 12:05 PM, Joel Gwynn wrote:
I've got a mod_perl application which segfaults on every 10th or so
requests. Here's what I get in my error log:
[notice] child pid exit signal Segmentation fault (11)
How would I go about troubleshooting this?
toss a bunch of
D
I'm running mod_perl 2.0.2 (I think) on apache 2 on Debian Linux
2.6.9-023stab033.6
I've got a mod_perl application which segfaults on every 10th or so
requests. Here's what I get in my error log:
[notice] child pid exit signal Segmentation fault (11)
How would I go about troubleshooting
15 matches
Mail list logo