Hi Gerald, On Fri, Sep 23, 2005 at 11:30:16PM +0200, Gerald Richter wrote: > > On Tue, Sep 13, 2005 at 08:56:20AM +0200, Gerald Richter wrote: > > > > Does that make sense Gerald? The corresponding code works > > fine using > > > > HTML::EmbperlObject::Execute. > > > > > > Yes, this makes more sense. > > > > > > Do you call this from the commandline or from within mod_perl? > > > > > > If you do it from within mod_perl, can you try it from the > > command line? > > > > Yeah, it's from within mod_perl. Same behaviour from the commandline > > though: > > > > calix:~$ embpexec.pl execute.html > > Segmentation fault > > > > Attached is a tarball with a toy example that reproduces the > > problem here - can you check whether it segfaults for you? > > > > The problem was caused because $r -> param -> filename was not correcly set > when you call a Embperl::Object page inside an Embperl page, which has lead > to an endless recursion. > > The attached patch solves the problem
With that patch it's certainly better, in that the page actually produces some output, but that example I sent is still segfaulting for me: calix:~/tmp/embperl-object-execute$ embpexec.pl execute.html 2 + 2 = 4 Segmentation fault calix:~/tmp/embperl-object-execute$ Likewise the mod_perl version. Does it work correctly for you Gerald? Cheers, Gavin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]