perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@metm.org
Subject Getting more info from segfault
Date Wed, 14 Apr 2004 18:06:24 GMT
from the debian unstable distribution, I am using the 
  apache-perl ( version 1.3.29.0.2-4 )
  libapache-mod-perl ( version  1.29.0.2-4 )
  libembperl-perl ( version  2.0b10-1 )
packages 

mod-perl works on this server, some old modules I wrote work well out of
their directories.  However when calling for a page from a directory for
which I have enableed Embperl::Object the child segfaults:

[Wed Apr 14 13:42:11 2004] [notice] child pid 7680 exit signal Segmentation fault (11)

This is quite consistent.  

simple mod_perl works:
<Location /test>
    SetHandler  perl-script
    PerlHandler MetM::LookatRequest
</Location>

Embperl doesn't :

<Location /hello>
    PerlSetEnv EMBPERL_OBJECT_BASE _base.epl
    PerlSetEnv EMBPERL_FILESMATCH "\.html"
    PerlHandler Embperl::Object 
    SetHandler  perl-script
    Options ExecCGI 
</Location>

I want to see /hello/index.html processed by Embperl Object with the
_base.epl template.  Processing this page by hand through a small perl
script which calls : Embperl::Object::Execute(); works.

I have the apache logging set to debug, but I see no information in the
logs except for the Segfault everytime there is a request for the /hello
directory.

I am wondering how do I debug this further.  
How do I get more info?  Or is there something obvious I am missing?

Thanks,

-- 
Marco

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message