Re: [PATCH] Apache2::RequestUtil->add_config

2006-01-08 Thread Torsten Foertsch
On Saturday 07 January 2006 18:39, Philip M. Gollucci wrote: > > As a more generic solution, this might make sense. On first glance, your > > patch looks sane, but I won't have the time to really look at it until > > Jan 15th, so if anybody else feels like writing a few tests for this and > > beat

[mp2] "Expected token not present" error in logs

2006-01-08 Thread Barry Hoggard
1. Problem Description: Once in a while (5 times in one day, then nothing for weeks), we get server errors and the only thing that appears in the logs is: [Sat Jan 07 14:44:43 2006] [error] [client 127.0.0.1] Expected token not present, referer: http://www.xxx.com/ where the referrer

Re: [mp2] "Expected token not present" error in logs

2006-01-08 Thread Joe Schaefer
Barry Hoggard <[EMAIL PROTECTED]> writes: > 1. Problem Description: > > Once in a while (5 times in one day, then nothing for weeks), we get server > errors and the only thing that appears in the logs is: > > [Sat Jan 07 14:44:43 2006] [error] [client 127.0.0.1] Expected token not > present, ref

Apache core dumps on loading mod_perl

2006-01-08 Thread Mike Schilli
Hi all, using perl-5.8.5, apache 1.3.x and mod_perl 1.29, I'm getting a core dump when libperl.so gets loaded via LoadModule perl_module path/libperl.so. Does the following gdb stack trace ring a bell with anyone? #0 0x203eeba0 in .cerror () from /usr/lib/libc.so.4 #1 0x0006 in ?? ()

Re: Apache core dumps on loading mod_perl

2006-01-08 Thread Philip M. Gollucci
Mike Schilli wrote: #11 0x205a4312 in PerlIOStdio_read (my_perl=0x107000, f=0xcc710, vbuf=0x9fbfd03b, count=1) at perlio.c:2996 #12 0x205a247e in Perl_PerlIO_read (my_perl=0x107000, f=0xcc710, vbuf=0x9fbfd03b, count=1) at perlio.c:1564 #13 0x205a65fe in PerlIO_getc (f=0xcc710) a

Re: [mp2] "Expected token not present" error in logs

2006-01-08 Thread Philip M. Gollucci
Apache2: - Apache2::Request : 2.06-dev CGI: 3.15 ExtUtils::MakeMaker: 6.17 LWP: 5.803 mod_perl : 1.999021 mod_perl2 : 2.02 I'm not quite sure how Barry did this, but this is sopposed to be impossible. Makefile.PL is supposed to

Re: Apache core dumps on loading mod_perl

2006-01-08 Thread Mike Schilli
On Sun, 8 Jan 2006, Philip M. Gollucci wrote: > Try compiling your perl without PerlIO > Configure -Uuseperlio Are you saying that mod_perl 1.29 requires perl to be compiled without perlio? My perl needs ithreads/perlio, so that would be a problem. Here's the relevant part of perl -V (sorry, can'

Re: Apache core dumps on loading mod_perl

2006-01-08 Thread Philip M. Gollucci
Mike Schilli wrote: Are you saying that mod_perl 1.29 requires perl to be compiled without perlio? My perl needs ithreads/perlio, so that would be a problem. Here's the relevant part of perl -V (sorry, can't post all of it): No, I was just pointing out that the coredump happened in the PerlIO ro

Re: Apache core dumps on loading mod_perl

2006-01-08 Thread Mike Schilli
On Sun, 8 Jan 2006, Philip M. Gollucci wrote: > What operating system/version is this on ? FreeBSD 4.10. -- Mike Mike Schilli [EMAIL PROTECTED] > Mike Schilli wrote: > > Are you saying that mod_perl 1.29 requires perl to be compiled without > > perlio? My perl needs ithreads/perlio, so that wo

Re: Apache core dumps on loading mod_perl

2006-01-08 Thread Philip M. Gollucci
Mike Schilli wrote: FreeBSD 4.10. This is a well kown issue. ITHREADS are just not going to work on the 4.x series... You'll have to upgrade to at least 5.3.. Likely 5.4. I'd really recommend reinstalling from scratch or doing a bin upgrade as I don't think you'll be able to cross the 5.2