Re: [Exim] Seg fault when using perl

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: cboye
CC: exim-users
Subject: Re: [Exim] Seg fault when using perl
cboye@??? wrote:
> 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)


Is this one threaded? I think it is, please try the current snapshot
(Phil announced it some minutes ago) it has a fix for threaded perl.

> Exim 4.10 or Exim-CVS

exim-cvs?

ciao