Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

[ANNOUNCE] mod_perl 2.0.6

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


phred at apache

Apr 25, 2012, 12:29 PM

Post #1 of 2 (490 views)
Permalink
[ANNOUNCE] mod_perl 2.0.6

I'm pleased to announce the release of mod_perl 2.0.6, available at
the following apache.org URL, along with a CPAN mirror near you.

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

md5: 76f4154cffb15972246f03080e9d133c


Thanks to the many contributors to this release! Please see the full
changelog below.


=> Changes for mod_perl 2.0.6:

Preserve 5.8 compatibility surrounding use of MUTABLE_CV [Adam Prime]

Move code after declarations to keep MSVC++ compiler happy. [Steve Hay]

Adopt modperl_pcw.c changes from httpd24 branch. [Torsten Foertsch]

Pool cleanup functions must not longjmp. Catch these exceptions and turn
them into warnings. [Torsten Foertsch]

Fix a race condition in our tipool management.
See http://www.gossamer-threads.com/lists/modperl/dev/104026
Patch submitted by: SalusaSecondus <salusa [at] nationstates>
Reviewed by: Torsten Foertsch

Ensure that MP_APXS is set when building on Win32 with MP_AP_PREFIX,
otherwise the bundled Reload and SizeLimit builds will fail to find a
properly configured Test environment.
[Steve Hay]

Fix a few REFCNT bugs.
Patch submitted by: Niko Tyni <ntyni [at] debian>
Reviewed by: Torsten Foertsch

Correct the initialization of the build config in ModPerl::MM. The global
variable was only being set once on loading the module, which was before
Apache2::BuildConfig.pm had been written, leading to cwd and MP_LIBNAME
being unset when writing the Reload and SizeLimit makefiles.
[Steve Hay]

Discover apr-2-config from Apache 2.4 onwards. [Gozer]

Apache 2.4 and onwards doesn't require linking the MPM module directly in
the httpd binary anymore. APXS lost the MPM_NAME query, so we can't assume
a given MPM anymore. Introduce a fake MPM 'dynamic' to represent this.
[Torsten Foertsch, Gozer]

Perl 5.14 brought a few changes in Perl_sv_dup() that made a threaded apache
segfault while cloning interpreters.
[Torsten Foertsch]

PerlIOApache_flush() and mpxs_Apache2__RequestRec_rflush() now no longer throw
exceptions when modperl_wbucket_flush() fails if the failure was just a reset
connection or an aborted connection. The failure is simply logged to the error
log instead. This should fix cases of httpd.exe crashing when users press the
Stop button in their web browsers.
[Steve Hay]

Fixed a few issues that came up with LWP 6.00:
- t/response/TestAPI/request_rec.pm assumes HTTP/1.0 but LWP 6 uses 1.1
- t/api/err_headers_out.t fails due to a bug somewhere in LWP 6
- t/filter/TestFilter/out_str_reverse.pm sends the wrong content-length header
[Torsten Foertsch]

Bugfix: Apache2::ServerUtil::get_server{description,banner,version} cannot
be declared as perl constants or they won't reflect added version components
if Apache2::ServerUtil is loaded before the PostConfig phase. Now, they
are ordinary perl functions. [Torsten Foertsch]

Check for the right ExtUtils::Embed version during build [Torsten Foertsch]

Take a lesson from rt.cpan.org #66085 and pass LD_LIBRARY_PATH if mod_env
is present. Should prevent test failures on some platforms.
[Fred Moyer]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


fred at redhotpenguin

Apr 26, 2012, 8:25 AM

Post #2 of 2 (463 views)
Permalink
Re: [ANNOUNCE] mod_perl 2.0.6 [In reply to]

On Thu, Apr 26, 2012 at 7:41 AM, John D Groenveld
<jdg117 [at] elvis> wrote:
> In message <CAHrynWAG+DszJ9bXAv_ddqJAAZLHSqX0nPZYUFp2Htzyt513gA [at] mail>
> , Fred Moyer writes:
>>I'm pleased to announce the release of mod_perl 2.0.6, available at
>>the following apache.org URL, along with a CPAN mirror near you.
>
> Still core dumping with 64-bit perl 5.14.2 but works beautifully with
> 5.12.4 on Solaris.

Thanks for the stacktrace. I think 2.0.7 will follow suit shortly,
there's an apache 2.4 patch in the works, and if we can resolve this
it will probably get in that release as well.

>
> John
> groenveld [at] acm
>
> $ pstack /tmp/mod_perl-2.0.6/core
> core '/tmp/mod_perl-2.0.6/core' of 11620:       /opt/apache2/bin/httpd -d /tmp/mod_perl-2.0.6/t -f /tmp/mod_perl-2.0.6
>  ffffdd7ffe810851 Perl_sv_vcatpvfn () + 2271
>  ffffdd7ffe80c4c6 Perl_vnewSVpvf () + c6
>  ffffdd7ffe80c3ef Perl_newSVpvf () + 8f
>  ffffdd7ffe80813a S_anonymise_cv_maybe () + ba
>  ffffdd7ffe8077b7 Perl_sv_kill_backrefs () + 97
>  ffffdd7ffe7dfd2d Perl_magic_killbackrefs () + d
>  ffffdd7ffe807338 S_sv_unmagicext_flags () + 128
>  ffffdd7ffe80838a Perl_sv_clear () + 1ca
>  ffffdd7ffe808ec6 Perl_sv_free2 () + 56
>  ffffdd7ffe7ffa58 S_visit () + d8
>  ffffdd7ffe775c5e perl_destruct () + a2e
>  ffffdd7ffe926d69 modperl_perl_destruct () + 59
>  ffffdd7ffe918a0b modperl_shutdown () + 1b
>  ffffdd7fffbc8a54 run_cleanups () + 24
>  ffffdd7fffbc7db0 apr_pool_destroy () + 40
>  ffffdd7fffbc7cf8 apr_pool_clear () + 28
>  000000000043300b main () + 6eb
>  0000000000431f4b ???????? ()
>
> $ env PATH=/opt/apache2/perl-5.14.2/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/solarisstudio12.3/bin perl -Iblib/arch -Iblib/lib build/config.pl
> *** mod_perl version 2.000006
>
> *** using /tmp/mod_perl-2.0.6/lib/Apache2/BuildConfig.pm
>
> *** Makefile.PL options:
>  MP_APR_LIB     => aprext
>  MP_APXS        => /opt/apache2/bin/apxs
>  MP_COMPAT_1X   => 1
>  MP_GENERATE_XS => 1
>  MP_LIBNAME     => mod_perl
>  MP_USE_DSO     => 1
>
>
> *** /opt/apache2/bin/httpd -V
> Server version: Apache/2.2.22 (Unix)
> Server built:   Apr 25 2012 22:05:08
> Server's Module Magic Number: 20051115:30
> Server loaded:  APR 1.4.5, APR-Util 1.4.1
> Compiled using: APR 1.4.5, APR-Util 1.4.1
> Architecture:   64-bit
> Server MPM:     Prefork
>  threaded:     no
>    forked:     yes (variable process count)
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_PROC_PTHREAD_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=128
>  -D HTTPD_ROOT="/opt/apache2"
>  -D SUEXEC_BIN="/opt/apache2/bin/suexec"
>  -D DEFAULT_PIDLOG="logs/httpd.pid"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_LOCKFILE="logs/accept.lock"
>  -D DEFAULT_ERRORLOG="logs/error_log"
>  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"
>
> *** /bin/ldd /opt/apache2/bin/httpd
>        libm.so.2 =>     /lib/64/libm.so.2
>        libaprutil-1.so.0 =>     /opt/apache2/lib/libaprutil-1.so.0
>        libexpat.so.1 =>         /usr/lib/64/libexpat.so.1
>        libapr-1.so.0 =>         /opt/apache2/lib/libapr-1.so.0
>        libuuid.so.1 =>  /lib/64/libuuid.so.1
>        libsendfile.so.1 =>      /lib/64/libsendfile.so.1
>        libsocket.so.1 =>        /lib/64/libsocket.so.1
>        libnsl.so.1 =>   /lib/64/libnsl.so.1
>        libpthread.so.1 =>       /lib/64/libpthread.so.1
>        libc.so.1 =>     /lib/64/libc.so.1
>        libdlpi.so.1 =>  /lib/64/libdlpi.so.1
>        libmp.so.2 =>    /lib/64/libmp.so.2
>        libmd.so.1 =>    /lib/64/libmd.so.1
>        libinetutil.so.1 =>      /lib/64/libinetutil.so.1
>        libdladm.so.1 =>         /lib/64/libdladm.so.1
>        libdevinfo.so.1 =>       /lib/64/libdevinfo.so.1
>        libscf.so.1 =>   /lib/64/libscf.so.1
>        librcm.so.1 =>   /lib/64/librcm.so.1
>        libnvpair.so.1 =>        /lib/64/libnvpair.so.1
>        libexacct.so.1 =>        /usr/lib/64/libexacct.so.1
>        libkstat.so.1 =>         /lib/64/libkstat.so.1
>        libcurses.so.1 =>        /lib/64/libcurses.so.1
>        libpool.so.1 =>  /usr/lib/64/libpool.so.1
>        liblldp.so.1 =>  /usr/lib/64/liblldp.so.1
>        libsec.so.1 =>   /lib/64/libsec.so.1
>        libgen.so.1 =>   /lib/64/libgen.so.1
>        libsysevent.so.1 =>      /lib/64/libsysevent.so.1
>        libuutil.so.1 =>         /lib/64/libuutil.so.1
>        libsmbios.so.1 =>        /usr/lib/64/libsmbios.so.1
>        libxml2.so.2 =>  /lib/64/libxml2.so.2
>        libavl.so.1 =>   /lib/64/libavl.so.1
>        libidmap.so.1 =>         /usr/lib/64/libidmap.so.1
>        libz.so.1 =>     /lib/64/libz.so.1
>
>
> *** (apr|apu)-config linking info
>
>  -L/opt/apache2/lib -laprutil-1     -lexpat
>  -L/opt/apache2/lib -lapr-1 -luuid -lsendfile -lsocket -lnsl  -lpthread
>
>
>
> *** /opt/apache2/perl-5.14.2/bin/perl -V
> Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
>
>  Platform:
>    osname=solaris, osvers=2.11, archname=i86pc-solaris-64
>    uname='sunos brutus 5.11 11.0 i86pc i386 i86pc '
>    config_args='-Dprefix=/opt/apache2/perl-5.14.2 -Dcc=cc -Duseshrplib -Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=-xO3 -Duse64bitall'
>    hint=recommended, useposix=true, d_sigaction=define
>    useithreads=undef, usemultiplicity=undef
>    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
>    use64bitint=define, use64bitall=define, uselongdouble=undef
>    usemymalloc=n, bincompat5005=undef
>  Compiler:
>    cc='cc', ccflags ='-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
>    optimize='-xO3',
>    cppflags='-m64'
>    ccversion='Sun C 5.12 SunOS_i386 2011/11/16', gccversion='', gccosandvers=''
>    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
>    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
>    alignbytes=8, prototype=define
>  Linker and Libraries:
>    ld='cc', ldflags =' -m64 -L/lib/64 '
>    libpth=/lib/64 /usr/lib/64 /usr/ccs/lib/64
>    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
>    perllibs=-lsocket -lnsl -ldl -lm -lc
>    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
>    gnulibc_version=''
>  Dynamic Linking:
>    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /opt/apache2/perl-5.14.2/lib/5.14.2/i86pc-solaris-64/CORE'
>    cccdlflags='-KPIC', lddlflags=' -G -m64 -L/lib/64'
>
>
> Characteristics of this binary (from libperl):
>  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
>                        PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV
>                        USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
>                        USE_PERLIO USE_PERL_ATOF
>  Built under solaris
>  Compiled at Apr 25 2012 22:15:06
>  %ENV:
>    PERL_LWP_USE_HTTP_10="1"
>  @INC:
>    /opt/apache2/perl-5.14.2/lib/site_perl/5.14.2/i86pc-solaris-64
>    /opt/apache2/perl-5.14.2/lib/site_perl/5.14.2
>    /opt/apache2/perl-5.14.2/lib/5.14.2/i86pc-solaris-64
>    /opt/apache2/perl-5.14.2/lib/5.14.2
>    .

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.