HTML::Mason

T

Terry

Hi All,

Im having a strange problem with Mason, a segmentation fault is
generated in the erro_log when I attempt to view a page in the
browser. Without the Mason entry in httpd.conf the apache server works
fine.

Terry

Details
=======

AIX 4.3
Apache 1.3.33 (Unix)
mod_perl 1.29
Mason 1.28

Entry in httpd.conf

PerlModule HTML::Mason::ApacheHandler

# bring in the handler.pl file
PerlRequire /usr/local/apache/lib/mason/handler.pl

# servers these files through Mason
<LocationMatch "(\.html|\.txt|\.pl)$">
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
</LocationMatch>

# blocks these files from being served
<LocationMatch "(\.m(html|txt|pl)|dhandler|autohandler)$">
SetHandler perl-script
PerlInitHandler Apache::Constants::NOT_FOUND
</LocationMatch>



Error generated in error_log
[notice] child pid 44052 exit signal Segmentation fault (11)

Some difficulties were experienced when I was installing the various
prerequisite modules – this may/not be relevant to this issue


Cache-Cache-1.02

Problems with make test.
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_test_cache_interface...................ok
t/2_test_memory_cache......................ok
t/3_test_file_cache........................ok
t/4_test_shared_memory_cache...............ok 1/35IPC::ShareLite
fetch() error: A system call received a parameter that is not valid
.. at /opt/docket/docket_install_20050215/Cache-Cache-1.02/blib/lib/Cache/SharedMemoryBackend.pm
line 98


Apache::Test

Problems with make test
 
E

Eric Schwartz

Im having a strange problem with Mason, a segmentation fault is
generated in the erro_log when I attempt to view a page in the
browser. Without the Mason entry in httpd.conf the apache server works
fine.

This has happened to me before. In my case, the problem was that I
had forgotten to enable libapreq2 in my Apache2 config. Make sure
you've LoadModule'd it-- in the case of Debian, or a derived distro,
you can just symlink apreq.load from /etc/apache2/mods-available to
/etc/apache2/mods-enabled to enable it.

If that's not it, then I'll bet it's going to be something similar,
even if not identical-- trying to call into some library that isn't
loaded into apache.

-=Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top