Bug #122988? mod_perl still maintained?

"Paul B. Henson" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Looks like I'm running into:

https://rt.cpan.org/Public/Bug/Display.html?id=122988

which was reported back in 9/2017. There doesn't seem to be a resolution
to it? I diff'd 2.0.10 (released in 10/2016) against current svn head,
and there really don't seem to be any changes of significance. Is
mod_perl still under active development/being maintained? Any thoughts
on this problem?

Thanks much...


-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

Trying to use Apache2::Module::add in a module loaded by PerlLoadModule
resulted in errors:

[Wed Mar 07 13:23:39.827007 2018] [core:notice] [pid 100372] AH00060: seg fault or similar nasty error detected in the parent process
[Wed Mar 07 13:25:45.255839 2018] [core:crit] [pid 65829] AH00102: [Wed Mar 07 13:25:45 2018] file config.c, line 576, assertion "total_modules < conf_vector_length" failed


2. Used Components and their Configuration:

*** mod_perl version 2.000010

*** using /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_CONFIG  => /usr/bin/apr-1-config
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/bin/apxs
  MP_COMPAT_1X   => 1
  MP_DEBUG       => 0
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_NO_THREADS  => 0
  MP_TRACE       => 0
  MP_USE_DSO     => 1


*** The httpd binary was not found


*** (apr|apu)-config linking info

 -laprutil-1 -lldap -llber -ldb-5.3   -lexpat -L/var/lib/portage/tmp/portage/dev-libs/apr-util-1.5.4/temp
 -lapr-1 -luuid -lrt -lcrypt  -lpthread -ldl 



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 24 subversion 3) configuration:
   
  Platform:
    osname=linux, osvers=4.9.44-gentoo, archname=x86_64-linux-thread-multi
    uname='linux mole 4.9.44-gentoo #3 smp thu aug 24 10:27:24 pdt 2017 x86_64 intel(r) xeon(r) cpu e5-2640 v3 @ 2.60ghz genuineintel gnulinux '
    config_args='-des -Dinstallprefix=/usr -Dinstallusrbinperl=n -Ui_ndbm -Ui_gdbm -Di_db -Dusethreads -DDEBUGGING=none -Dinc_version_list=5.24.2/x86_64-linux-thread-multi 5.24.2 5.24.1/x86_64-linux-thread-multi 5.24.1 5.24.0/x86_64-linux-thread-multi 5.24.0  -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dnoextensions=ODBM_File GDBM_File NDBM_File -Duseshrplib -Darchname=x86_64-linux-thread -Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-march=x86-64 -msse3 -O2 -pipe -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr/local -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib64/perl5/5.24.3 -Darchlib=/usr/lib64/perl5/5.24.3/x86_64-linux-thread-multi -Dsitelib=/usr/local/lib64/perl5/5.24.3 -Dsitearch=/usr/local/lib64/perl5/5.24.3/x86_64-linux-thread-multi -Dvendorlib=/usr/lib64/perl5/vendor_perl/5.24.3 -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux-thread-multi -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.24.3 -Dlocincpth=/usr/include  -Dglibpth=/lib64 /usr/lib64  -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Ud_csh -Dsh=/bin/sh -Dtargetsh=/bin/sh -Uusenm -Ui_ndbm -Ui_gdbm -Di_db -Dusethreads -DDEBUGGING=none -Dinc_version_list=5.24.2/x86_64-linux-thread-multi 5.24.2 5.24.1/x86_64-linux-thread-multi 5.24.1 5.24.0/x86_64-linux-thread-multi 5.24.0  -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dnoextensions=ODBM_File GDBM_File NDBM_File'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=x86-64 -msse3 -O2 -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe'
    ccversion='', gccversion='5.4.0', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='x86_64-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed'
    libpth=/usr/local/lib64 /lib64 /usr/lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include-fixed /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib
    libs=-lpthread -lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.25.so, so=so, useshrplib=true, libperl=libperl.so.5.24.3
    gnulibc_version='2.25'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -march=x86-64 -msse3 -O2 -pipe -Wl,-O1 -Wl,--as-needed'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API
  Locally applied patches:
	gentoo/hints_hpux - Fix hpux hints
	gentoo/aix_soname - aix gcc detection and shared library soname support
	gentoo/EUMM-RUNPATH - https://bugs.gentoo.org/105054 cpan/ExtUtils-MakeMaker: drop $PORTAGE_TMPDIR from LD_RUN_PATH
	gentoo/config_over - Remove -rpath and append LDFLAGS to lddlflags
	gentoo/opensolaris_headers - Add headers for opensolaris
	gentoo/patchlevel - List packaged patches for perl-5.24.3(#1) in patchlevel.h
	gentoo/cleanup-paths - Cleanup PATH and shrpenv
	gentoo/enc2xs - Tweak enc2xs to follow symlinks and ignore missing @INC directories.
	gentoo/darwin-cc-ld - https://bugs.gentoo.org/297751 darwin: Use $CC to link
	gentoo/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN.
	gentoo/interix - Fix interix hints
	gentoo/create_libperl_soname - https://bugs.gentoo.org/286840 Set libperl soname
	gentoo/mod_paths - Add /etc/perl to @INC
	gentoo/EUMM_perllocalpod - cpan/ExtUtils-MakeMaker: remove targets that generate perllocal.pod
	gentoo/drop_fstack_protector - https://bugs.gentoo.org/348557 Don't force -fstack-protector on everyone
	gentoo/usr_local - Configure: Don't include sources in /usr/local/ for compiling perl
	gentoo/D-SHA-CFLAGS - https://bugs.gentoo.org/506818 Do not set custom CFLAGS in cpan/Digest-SHA
	gentoo/io_socket_ip_tests - cpan/IO-Socket-IP: Disable network tests
	gentoo/cygwin-libperl - Cygwin: avoid libperl.dll.dll.a
	gentoo/tests - Fixup EUMM perlocal.pod tests and customised SHA1s
	gentoo/zlib-1.2.9-backported-fixes - [rt#119762] Compress-Raw-Zlib: backport zlib 1.2.9+ fixes from upstream 2.073
	debian/cpan-missing-site-dirs - Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable
	debian/makemaker-pasthru - Pass LD settings through to subdirectories
	fixes/memoize_storable_nstore - [rt.cpan.org #77790] Memoize::Storable: respect 'nstore' option not respected
	fixes/podman-pipe - Better errors for man pages from standard input
	fixes/respect_umask - Respect umask during installation
	fixes/net_smtp_docs - [rt.cpan.org #36038] Document the Net::SMTP 'Port' option
	fixes/document_makemaker_ccflags - [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags}
	fixes/parallel-manisort.patch - Fix parallel building
  Built under linux
  Compiled at Dec  1 2017 16:58:28
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /etc/perl
    /usr/local/lib64/perl5/5.24.3/x86_64-linux-thread-multi
    /usr/local/lib64/perl5/5.24.3
    /usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.24.3
    /usr/local/lib64/perl5
    /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.24.1
    /usr/lib64/perl5/vendor_perl
    /usr/lib64/perl5/5.24.3/x86_64-linux-thread-multi
    /usr/lib64/perl5/5.24.3
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 4.22
ExtUtils::MakeMaker: 7.10_02
LWP                : 6.15
mod_perl           : -
mod_perl2          : 2.000010


3. This is the core dump trace: (if you get a core dump):

#0  0x00007f0cd7e56f65 in raise () from /lib64/libc.so.6
(gdb) where
#0  0x00007f0cd7e56f65 in raise () from /lib64/libc.so.6
#1  0x00007f0cd7e58c8a in abort () from /lib64/libc.so.6
#2  0x0000000000452f5c in ap_log_assert ()
#3  0x000000000044d83e in ap_add_module ()
#4  0x000000000044d939 in ap_add_loaded_module ()
#5  0x00007f0cd19173be in modperl_module_add () from /usr/lib64/apache2/modules/mod_perl.so
#6  0x00007f0cd09cbca3 in ?? ()
   from /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/auto/Apache2/Module/Module.so
   #7  0x00007f0cd15d9020 in Perl_pp_entersub () from /usr/lib64/libperl.so.5.24
   #8  0x00007f0cd15d15f6 in Perl_runops_standard () from /usr/lib64/libperl.so.5.24
   #9  0x00007f0cd1552187 in Perl_eval_sv () from /usr/lib64/libperl.so.5.24
   #10 0x00007f0cd190bbc9 in modperl_require_module () from /usr/lib64/apache2/modules/mod_perl.so
   #11 0x00007f0cd19060e1 in modperl_cmd_modules () from /usr/lib64/apache2/modules/mod_perl.so
   #12 0x000000000044bcae in ?? ()
   #13 0x000000000044e3dd in ap_walk_config ()
   #14 0x000000000044f7bd in ap_process_config_tree ()
   #15 0x0000000000428840 in main ()


This report was generated by /usr/bin/mp2bug on Thu Mar  8 00:05:49 2018 GMT.

-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.