perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Gunton <>
Subject Possible bug in Embperl 2.3
Date Thu, 24 Jul 2008 18:53:08 GMT
I am getting segmentation faults from Apache2.2, mod_perl 2, Embperl 
2.3, when I have a [$ sub $] redefined for an Embperl::Object setup and 
then attempt to call the parent version of the sub. For example, I have 
[$ sub xxx $] in one of the base libs, and then I call 
$self->SUPER::xxx() from within the version of xxx() which is in the 
subdir. This worked fine in Embperl 1.3.6.

Should we be able to call SUPER::xxx from inside [$ sub $] routines? I 
know it works fine for perl subs, but maybe [$ sub $] is handled 
differently in Embperl 2.x.

I don't know if this matters, but xxx() is only defined in the very 
base-most file, then redefined several dir levels above that. In other 
words we have something like:

[$ sub xxx $]
[$ endsub $]

[! Execute ({isa => '/www/lib/perl/Apache/Utils.epl'}) !]

Execute ({isa => '../Core.epl'});

Execute ({isa => '../Core.epl'});
[$ sub xxx $]
($self) = @_;
[$ endsub $]


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message