[Exim] Seg fault when using perl

Startseite
Nachricht löschen
Nachricht beantworten
Autor: cboye
Datum:  
To: exim-users
Betreff: [Exim] Seg fault when using perl
I have compiled perl support in exim 4.10. But after start (if i set
perl_at_start = true) or in string expansion with ${perl...} exim give a
segmentation fault.
I have isolated the point of error in src/perl.c:init_perl at line 78
"PUSHMARK(SP)".

In a document for embedding perl to c programs [1], i have found the
interpreter initialisation without the "dSP" and "PUSHMARK(SP)". This is
only use for performing calls (call_perl_cat). From there i have comment
out this lines in init_perl.

After this, exim starts faultless and the perl string expansion works
well.

My System: Linux SuSE 8.1
Perl 5.8.0 (original SuSE-RPMs)
Exim 4.10 or Exim-CVS

Christian Boye