Displaying 2 results from an estimated 2 matches for "dict_process_destroy".
Did you mean:
dict_process_destroyed
2007 Nov 20
1
1.1.beta8 crashes with segfault when SIGHUP
Hello,
dovecot crashes when it receives -HUP signal. It happens always if there was
some activity - for example, if I start dovecot, check any account through
POP3 and then send -HUP to dovecot process, it crashes with the following log
entry:
segfault at 00000008 eip 0804d3fb esp bfdd3860 error 4
If there were no activity at all since starting, it does not crash.
my dovecot -n output:
#
2009 Mar 27
2
1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
...in the error log.
The following patch fixes this for me. I'm sure there is a better way though.
--- dovecot-1.2.beta4/src/master/dict-process.c.orig 2009-03-27 16:44:59.000000000 +0100
+++ dovecot-1.2.beta4/src/master/dict-process.c 2009-03-27 18:59:24.000000000 +0100
@@ -209,11 +209,6 @@ dict_process_destroyed(struct child_proc
struct dict_listener *listener = process->listener;
dict_process_deinit(process);
- if (listener->processes == NULL) {
- /* last listener died, create new ones */
- listener->io = io_add(listener->fd, IO_READ,
- dict_listener_input, listener);
- }
}...