[Exim] Re: [SA-exim] local_scan is crashing (log_write crash…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Brian Kendig
Dátum:  
Címzett: Marc MERLIN
CC: Exim-users, Philip Hazel
Tárgy: [Exim] Re: [SA-exim] local_scan is crashing (log_write crash)
Some additional information.

The line that's crashing is:

log_write(0, LOG_MAIN, "SA: Action: check skipped due to message size
(%d bytes) and SATruncBodyCond expanded to false (Message-Id: %s). %s",
fdsize-18, safemesgid, mailinfo);

I tried putting a copy of this line immediately before it, and changing
my copy of the line. I came up with this small example which always
crashes:

log_write(0, LOG_MAIN, "got here: %d %s", fdsize, "foo");

Whereas this will work successfully:

log_write(0, LOG_MAIN, "got here: %s %d", "foo", fdsize);

And these also work:

log_write(0, LOG_MAIN, "got here: %d %s", 18, "foo");
log_write(0, LOG_MAIN, "got here: %d %s", 0, "foo");
log_write(0, LOG_MAIN, "got here: %d", fdsize);
log_write(0, LOG_MAIN, "got here: %s", "foo");

This is puzzling!