I upgraded to the latest version of Embedperl and ran the same code from my previous post. IT no longer segfaults but I get the following error...
Embperl::Execute({ req_rec=>$r, inputfile=>$file, param =>[$params], output => \$html }); and I get the following error:- Error in Perl code: Can't call method "headers_in" on an undefined value at Which is $req_rec. It's undef. I tried this without the req_rec=>$r too and it made no difference. Any ideas? Is it related to http://www.gossamer-threads.com/lists/modperl/embperl/14815#14815 Regards Marty --- Gerald Richter <[EMAIL PROTECTED]> wrote: > >I'm getting segfaults on every page request I make > to a mod_perl handler > thats running under >HTML::Embedperl. We're trying > to migrate away from > Embperl as fast as possible, but whenever >I call > HTML::Embperl::Execute in > my code more than 4 or 5 times.... I get seg > faults.. > > > Embperl has no problems with mod_perl 1 and Perl > 5.6. It seems like the > versions you use are not fit together. > > Make sure that Perl, mod_perl, Embperl and Apache > are build with the same > compiler and the same settings. > > Such problem will occur if you have compiled Embperl > (or mod_perl) with > differnet compiler settings or for a different Perl > binary, than the one you > are actually using. > > Gerald > > > -- > Report problems: http://perl.apache.org/bugs/ > Mail list info: > http://perl.apache.org/maillist/modperl.html > List etiquette: > http://perl.apache.org/maillist/email-etiquette.html > > ___________________________________________________________ Win a castle for NYE with your mates and Yahoo! Messenger http://uk.messenger.yahoo.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html