The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=863 ====================================================================== Reported By: psv Assigned To: ====================================================================== Project: DBMail Issue ID: 863 Category: General Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 13-Oct-10 16:05 CEST Last Modified: 13-Oct-10 16:05 CEST ====================================================================== Summary: No SIGTERM signal handler and incorrect signal handling for SIGINT in daemonized parts Description: 1) Current git version lack of SIGTERM handling for correct daemon termination. While there is atexit() handler for correct server shutdown it doesn't called during termination via SIGTERM. 2) When process is terminated via SIGINT a crash happens due to double call of disconnect_all() function. First call happens in signal handler, second in atexit() handler which initiated via exit() call in signal handler.
Both issues are addressed in patch. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 13-Oct-10 16:05 psv New Issue 13-Oct-10 16:05 psv File Added: signal_fix.diff ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev