The following issue has been RESOLVED. ====================================================================== http://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: resolved target: Resolution: fixed Fixed in Version: 2.3.7 ====================================================================== Date Submitted: 13-Oct-10 16:05 CEST Last Modified: 29-Oct-10 22:40 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. ====================================================================== ---------------------------------------------------------------------- (0003122) paul (administrator) - 29-Oct-10 22:40 http://dbmail.org/mantis/view.php?id=863#c3122 ---------------------------------------------------------------------- patch applied. thanks. 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 29-Oct-10 22:40 paul Note Added: 0003122 29-Oct-10 22:40 paul Status new => resolved 29-Oct-10 22:40 paul Resolution open => fixed 29-Oct-10 22:40 paul Fixed in Version => 2.3.7 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev