perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From calypso singer man <>
Subject Embperl app. no longer works after linux upgrade; namespace issue & seg fault]
Date Wed, 24 Oct 2007 11:27:16 GMT
Dear Gerald and others,

I was happily developing an application with Embperl and it was going great,
but now my application doesn't work and I'm banging my head against the

I was using 
Slackware with Kernel 2.4.x
Embperl 2.2.0 or Embperl 2.3.0 (I don't remember)
mod_perl 2.0.2 or mod_perl 2.0.3 (I don't remember)
and I don't remember the perl version.

I had a crash and had to reinstall linux, and now I have two big errors: the
first is that subroutine calls don't work right, and the second is lots of
seg faults in apache child processes.

In my base.html, I have 

use Caspian::Util qw/&debug &other_function1 &other_function2/;

where Caspian/ is my own module.

then in the rest of the app I simply call debug(...),
other_function1(...), etc.  But now I get the following error:

[6076]ERR: 24: Error in Perl code: Undefined subroutine
&Embperl::__2::debug called at /home/httpd/htdocs/index.html line 39.

What could cause this, if it worked fine before? 

I swallowed my pride and changed all instances of debug(...),
other_function1(...), etc. to fully qualified named like
Caspian::Util::debug(...), Caspian::Util::other_function1(..) etc.,
and the error disappeared; 

BUT I am seeing lots of seg faults in apache child processes in my server

My current setup is

Debian with Kernel

make test for the mod_perl and Embperl installations was successful by the way.

Can someone please point me to a stable, tested combination of apache,
embperl, mod_perl, and perl versions?

Thank you very much,

Allen Haim

happy random george orwell advice for making tea:

	Tea is meant to be bitter, just as beer is meant to be bitter.

keep it between you and me: get my pgp key with
   gpg --keyserver --recv-keys DEDDEE19
key fingerprint: 68B5 83BA 42CE 3305 F274 3D9E 71BF 4E42 DEDD EE19

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

View raw message