xslate / p5-Text-Xslate

Scalable template engine for Perl5
https://metacpan.org/release/Text-Xslate
Other
121 stars 47 forks source link

SegFault while returning #170

Open KES777 opened 7 years ago

KES777 commented 7 years ago

We have just upgraded to 3.3.9 version and got setfault when return from sub:

/usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Text/Xslate.pm:374
return $asm;

In our case there are array of 4300 items.

syohex commented 7 years ago

Could you show us the code(as possible as minimum) which reproduced this issue ?

KES777 commented 7 years ago

Really I do not know which place is guilty. There is template about 50K and I can not split it by pieces... I understand that it is really do not help.

KES777 commented 7 years ago

I suppose there maybe problem because of mod_perl VS system perl. And I have not found package release for 16.04 Ubuntu

syohex commented 7 years ago

Is there a way to turn off XS?

Set PERL_ONLY environment variable.