On Sun, May 05, 2013 at 06:44:23PM +0000, Viktor Dukhovni wrote:

> > May  5 20:35:31 mail postfix/master[2888]: warning: process 
> > /usr/lib/postfix/smtp pid 2954 killed by signal 11
> 
> Thanks.  Do you have a stack trace or core dump?

Ralf sent be a stack trace captured via:

        http://www.postfix.org/DEBUG_README.html#screen

problem fixed in the next snapshot.  Nested macros need to be careful with 
temporary
variable names:

   Bug:

        #define foo(x) do { FOO *_t = x; bar(_t); /* code using _t */; }
        #define bar(x) do { FOO *_t = x; /* code using _t */; }

    Fix:

        #define foo(x) do { FOO *_t1 = x; bar(_t); /* code using _t1 */; }
        #define bar(x) do { FOO *_t2 = x; /* code using _t2 */; }

   Another fix:

        #define TMPVAL(T, val, var) T __tmpin__ = val; T var = __tmpin__
        #define foo(x) do { TMPVAL(FOO *, x, _tmp); bar(_tmp); /* code using 
_tmp */; }
        #define bar(x) do { TMPVAL(FOO *, x, _tmp); /* code using _tmp */; }

-- 
        Viktor.

Reply via email to