A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=260 ====================================================================== Reported By: mavetju Assigned To: ====================================================================== Project: DBMail Issue ID: 260 Category: General Reproducibility: always Severity: crash Priority: normal Status: new ====================================================================== Date Submitted: 23-Aug-05 02:27 CEST Last Modified: 24-Aug-05 13:38 CEST ====================================================================== Summary: pop3/imap daemon dies in stress test Description: The suggested patch in http://www.dbmail.org/mantis/view.php?id=258 is that we use a static string instead of a dynamically allocated one in trace(). Unfortunately, trace() itself still uses syslog() which calls vsyslog() which calls fprintf() which calls [....] which calls malloc().
Solution? Don't call trace() from a signal handler. ====================================================================== ---------------------------------------------------------------------- paul - 24-Aug-05 13:38 ---------------------------------------------------------------------- I've changed the signal handler code in server.c and serverchild.c removing all unsafe code (hopefully). Would you mind testing again? Issue History Date Modified Username Field Change ====================================================================== 23-Aug-05 02:27 mavetju New Issue 24-Aug-05 13:38 paul Note Added: 0000877 ======================================================================