Skip Menu |
 

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 122988
Status: open
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: daveh [...] hodgkinson.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.0.9
Fixed in: (no value)



Subject: Apache2::Module::add causes assertion fail.
Download (untitled) / with headers
text/plain 1.2k
I'm trying to add a directive to apache's httpd.conf, straight out of the page at http://perl.apache.org/docs/2.0/user/config/custom.html#Creating_and_Using_Custom_Configuration_Directives: package Journals::Trans; use strict; use warnings FATAL => 'all'; use Apache2::Module (); use Apache2::Directive (); my @directives = ( { name => 'JournalsTrans', }, ); Apache2::Module::add(__PACKAGE__, \@directives); sub JournalsTrans { my ($self, $parms, @args) = @_; } Starting apache throws an exception: Thu Sep 07 11:19:58.780223 2017 core:crit pid 15028 AH00102: Thu Sep 07 11:19:58 2017 file config.c, line 581, assertion "total_modules < conf_vector_length" failed I've made a very simple httpd.conf with the above code and simply PerlRequire Journals::Trans JournalsTrans parm1 parm2 Environment: CentOS 7 perl 5.16.3 apache Apache/2.4.6 Name : httpd Arch : x86_64 Version : 2.4.6 Release : 67.0.1.el7_4.2 From repo : ol7_latest Name : mod_perl Arch : x86_64 Version : 2.0.10 Release : 2.el7 Size : 6.2 M Repo : installed From repo : epel So all out of the box. Wondering the best way forward.
Download (untitled) / with headers
text/plain 208b
I got the SRPM, unpacked, commented out the assertion, rebuilt and installed. It appears to be fine. I'd still like to know why the module count is out of whack. Did it get fixed and not make it into RHEL7?
Download (untitled) / with headers
text/plain 1.5k
Hi, Perhaps the following link may be useful. https://fedoraproject.org/wiki/EPEL/FAQ#Where_can_I_find_help_or_report_issues.3F Thank you, -- twata On 2017-9꜈-08 金 05:13:41, DAVEHODG wrote: Show quoted text
> I'm trying to add a directive to apache's httpd.conf, straight out of > the page at > http://perl.apache.org/docs/2.0/user/config/custom.html#Creating_and_Using_Custom_Configuration_Directives: > > package Journals::Trans; > > use strict; > use warnings FATAL => 'all'; > > use Apache2::Module (); > use Apache2::Directive (); > > my @directives = ( > { > name => 'JournalsTrans', > }, > ); > > Apache2::Module::add(__PACKAGE__, \@directives); > > sub JournalsTrans { > my ($self, $parms, @args) = @_; > } > > Starting apache throws an exception: > > Thu Sep 07 11:19:58.780223 2017 core:crit pid 15028 AH00102: Thu Sep > 07 11:19:58 2017 file config.c, line 581, assertion "total_modules < > conf_vector_length" failed > > I've made a very simple httpd.conf with the above code and simply > > PerlRequire Journals::Trans > JournalsTrans parm1 parm2 > > Environment: > > CentOS 7 > perl 5.16.3 > > apache Apache/2.4.6 > Name : httpd > Arch : x86_64 > Version : 2.4.6 > Release : 67.0.1.el7_4.2 > From repo : ol7_latest > > Name : mod_perl > Arch : x86_64 > Version : 2.0.10 > Release : 2.el7 > Size : 6.2 M > Repo : installed > From repo : epel > > So all out of the box. Wondering the best way forward.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.