Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Foo JH

Alas, I have bad news to report:

Tech stack:
Windows 2003 Server
Apache 2.2.4
Perl 5.10.0
mod_perl 2.0.4 from 10xx/ path

Observations:
1. mod_perl is able to start
2. mod_perl is unable to survive an Apache restart signal
3. (relavant) error log available below:

[Thu Apr 17 23:39:34 2008] [notice] Parent: Received restart signal -- 
Restarting the server.
[Thu Apr 17 23:39:34 2008] [notice] Child 4532: Exit event signaled. 
Child process is ending.
[Thu Apr 17 23:39:34 2008] [notice] Apache/2.2.8 (Win32) 
mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations

[Thu Apr 17 23:39:34 2008] [notice] Server built: Jan 18 2008 00:37:19
[Thu Apr 17 23:39:34 2008] [crit] (22)Invalid argument: Parent: Failed 
to create the child process.
[Thu Apr 17 23:39:34 2008] [crit] (OS 6)The handle is invalid.  : 
master_main: create child process failed. Exiting.
[Thu Apr 17 23:39:34 2008] [notice] Parent: Forcing termination of child 
process 36

[Thu Apr 17 23:39:35 2008] [notice] Child 4532: Released the start mutex
[Thu Apr 17 23:39:36 2008] [notice] Child 4532: All worker threads have 
exited.

[Thu Apr 17 23:39:36 2008] [notice] Child 4532: Child process is exiting




Philippe M. Chiasson wrote:

Finally, it's here and it works with Perl 5.10!




Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Helmut Zeilinger

Hi Philippe,

Software:

Linux 2.6.15-gentoo-r1
perl v5.8.8 (perl -V see below)
mod_perl-2.0.4

1)
apache 2.0.63 => works without problems (so far testet)

2)
apache 2.2.6 + 2.2.8 =>

at server start.=>

..
/usr/local/apache2/bin/apachectl: line 78: 14924 Segmentation fault  
$HTTPD $ARGV



make test =>

...
server has died with status 255 (please examine t/logs/error_log)

t/logs/error_log is empty.

what else can i provide to track it down?

Helmut


perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
 Platform:
   osname=linux, osvers=2.6.15-gentoo-r1, archname=i686-linux-thread-multi
   uname='linux blossenau 2.6.15-gentoo-r1 #3 smp tue apr 15 07:32:50 
cest 2008 i686 intel(r) pentium(r) d cpu 2.80ghz genuineintel gnulinux '
   config_args='-des -Darchname=i686-linux-thread -Dcccdlflags=-fPIC 
-Dccdlflags=-rdynamic -Dcc=i686-pc-linux-gnu-gcc -Dprefix=/usr 
-Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-O2 
-march=prescott -fomit-frame-pointer -pipe -Duselargefiles 
-Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 
-Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 
-Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm 
-Dinc_version_list=5.8.0 5.8.0/i686-linux-thread-multi 5.8.2 
5.8.2/i686-linux-thread-multi 5.8.4 5.8.4/i686-linux-thread-multi 5.8.5 
5.8.5/i686-linux-thread-multi 5.8.6 5.8.6/i686-linux-thread-multi 5.8.7 
5.8.7/i686-linux-thread-multi  -Dcf_by=Gentoo -Ud_csh -Dusenm 
-Dusethreads -Di_ndbm -Di_gdbm -Di_db'

   hint=recommended, useposix=true, d_sigaction=define
   usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define

   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
   usemymalloc=n, bincompat5005=undef
 Compiler:
   cc='i686-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE 
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe 
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',

   optimize='-O2 -march=prescott -fomit-frame-pointer -pipe',
   cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno-strict-aliasing -pipe -Wdeclaration-after-statement'

   ccversion='', gccversion='4.1.2 (Gentoo 4.1.2 p1.1)', gccosandvers=''
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8

   alignbytes=4, prototype=define
 Linker and Libraries:
   ld='i686-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib'
   libpth=/usr/local/lib /lib /usr/lib
   libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
   perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
   libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a
   gnulibc_version='2.6.1'
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
   cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
 Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
   PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS
   USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
 Built under linux
 Compiled at Apr 16 2008 10:01:53
 @INC:
   /etc/perl
   /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi
   /usr/lib/perl5/vendor_perl/5.8.8
   /usr/lib/perl5/vendor_perl
   /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
   /usr/lib/perl5/site_perl/5.8.8
   /usr/lib/perl5/site_perl
   /usr/lib/perl5/5.8.8/i686-linux-thread-multi
   /usr/lib/perl5/5.8.8
   /usr/local/lib/site_perl




Philippe M. Chiasson schrieb:

Finally, it's here and it works with Perl 5.10!

http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz
http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig)

The package is also available on CPAN:

  file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz
  size: 3727717 bytes
   md5: 1a05625ae6843085f985f5da8214502a
  sha1: 65299a16ec414a690a48a2bbe63acaa3c6bb897b

Changes since 2.0.3:

Fix $r->location corruption under certain conditions
[Gozer]

Fix a crash when spawning Perl threads under Perl 5.10
[Gozer]

Fix erratic behaviour when filters were used with Perl 5.10
[Gozer]

Fix problems with redefinitions of perl_free as free and perl_malloc
as malloc on Win32, as described at
 http://marc.info/?l=apache-modperl&m=119896407510526&w=2
[Tom Donovan]

Fix a crash when running a sub-request from within a filter where
mod_perl was not the content handler. [Gozer]

Refactor tests to use keepalives instead of same_interp [Gozer, Phred]

Apache2::Reload has been moved to an externally maintained
CPAN distribution [Fred Moyer <[EMAIL PROTECTED]>]

PerlCleanupHandler are now registered with a subpool of $r->pool,
instead of $r->pool itself, ensuring they run _before_ any other
$r->pool cleanups [Torsten Foertsch]


Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Issac Goldstand


I think we knew that (or am I getting mixed up with the mp1 RC?) and it 
was supposed to be a known issue...


  Issac

Foo JH wrote:

Alas, I have bad news to report:

Tech stack:
Windows 2003 Server
Apache 2.2.4
Perl 5.10.0
mod_perl 2.0.4 from 10xx/ path

Observations:
1. mod_perl is able to start
2. mod_perl is unable to survive an Apache restart signal
3. (relavant) error log available below:

[Thu Apr 17 23:39:34 2008] [notice] Parent: Received restart signal -- 
Restarting the server.
[Thu Apr 17 23:39:34 2008] [notice] Child 4532: Exit event signaled. 
Child process is ending.
[Thu Apr 17 23:39:34 2008] [notice] Apache/2.2.8 (Win32) 
mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations

[Thu Apr 17 23:39:34 2008] [notice] Server built: Jan 18 2008 00:37:19
[Thu Apr 17 23:39:34 2008] [crit] (22)Invalid argument: Parent: Failed 
to create the child process.
[Thu Apr 17 23:39:34 2008] [crit] (OS 6)The handle is invalid.  : 
master_main: create child process failed. Exiting.
[Thu Apr 17 23:39:34 2008] [notice] Parent: Forcing termination of child 
process 36

[Thu Apr 17 23:39:35 2008] [notice] Child 4532: Released the start mutex
[Thu Apr 17 23:39:36 2008] [notice] Child 4532: All worker threads have 
exited.

[Thu Apr 17 23:39:36 2008] [notice] Child 4532: Child process is exiting




Philippe M. Chiasson wrote:

Finally, it's here and it works with Perl 5.10!


Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Foo JH
I don't know if it's known, but 2.2.4 is a relatively stable version in 
conjunction with AP5.8 + mp2.


I guess this means I can't move into 5.10 yet.

Issac Goldstand wrote:


I think we knew that (or am I getting mixed up with the mp1 RC?) and 
it was supposed to be a known issue...


  Issac

Foo JH wrote:

Alas, I have bad news to report:

Tech stack:
Windows 2003 Server
Apache 2.2.4
Perl 5.10.0
mod_perl 2.0.4 from 10xx/ path

Observations:
1. mod_perl is able to start
2. mod_perl is unable to survive an Apache restart signal
3. (relavant) error log available below:

[Thu Apr 17 23:39:34 2008] [notice] Parent: Received restart signal 
-- Restarting the server.
[Thu Apr 17 23:39:34 2008] [notice] Child 4532: Exit event signaled. 
Child process is ending.
[Thu Apr 17 23:39:34 2008] [notice] Apache/2.2.8 (Win32) 
mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations

[Thu Apr 17 23:39:34 2008] [notice] Server built: Jan 18 2008 00:37:19
[Thu Apr 17 23:39:34 2008] [crit] (22)Invalid argument: Parent: 
Failed to create the child process.
[Thu Apr 17 23:39:34 2008] [crit] (OS 6)The handle is invalid.  : 
master_main: create child process failed. Exiting.
[Thu Apr 17 23:39:34 2008] [notice] Parent: Forcing termination of 
child process 36

[Thu Apr 17 23:39:35 2008] [notice] Child 4532: Released the start mutex
[Thu Apr 17 23:39:36 2008] [notice] Child 4532: All worker threads 
have exited.

[Thu Apr 17 23:39:36 2008] [notice] Child 4532: Child process is exiting




Philippe M. Chiasson wrote:

Finally, it's here and it works with Perl 5.10!




Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-18 Thread Philippe M. Chiasson

Foo JH wrote:
I don't know if it's known, but 2.2.4 is a relatively stable version in 
conjunction with AP5.8 + mp2.


I guess this means I can't move into 5.10 yet.

Issac Goldstand wrote:
I think we knew that (or am I getting mixed up with the mp1 RC?) and 
it was supposed to be a known issue...


Mixed up with the mp1 RC I believe. This problems seems like news to me ;-(

--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/   m/gozer\@(apache|cpan|ectoplasm)\.org/



signature.asc
Description: OpenPGP digital signature