[EMAIL PROTECTED] wrote:
> 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().

I suspected as much.

> Solution? Don't call trace() from a signal handler.

Agreed. And I'll fix the code so we don't have to use sigalarm for
normal operations.


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to