Displaying 10 results from an estimated 10 matches for "i_syslog_error_handl".
Did you mean:
i_syslog_error_handler
2016 Mar 03
2
Dovecot 2.2.21 - segfault
...back=0) at master-service.c:640
No locals.
#10 0x0000000000406558 in main (argc=3, argv=0x7fffffffb4c0) at main.c:888
set = (struct master_settings *) 0x801429110
error = 0x800ca9283 "H\203? ]?\017\037\200"
doveconf_arg = 0x0
orig_info_callback = (failure_callback_t *) 0x8008ee880 <i_syslog_error_handler>
orig_debug_callback = (failure_callback_t *) 0x8008ee880 <i_syslog_error_handler>
foreground = false
ask_key_pass = false
i = 3
c = -1
doubleopts = 0x7fffffffb3a0
Current language: auto; currently minimal
2016 Jan 31
2
Dovecot 2.2.21 - segfault
...back=0) at master-service.c:640
No locals.
#5 0x0000000000406509 in main (argc=3, argv=0x7fffffffb4c0) at main.c:888
set = (struct master_settings *) 0x801429110
error = 0x800caa2c3 "H\203? ]?\017\037\200"
doveconf_arg = 0x0
orig_info_callback = (failure_callback_t *) 0x8008f0220 <i_syslog_error_handler>
orig_debug_callback = (failure_callback_t *) 0x8008f0220 <i_syslog_error_handler>
foreground = false
ask_key_pass = false
i = 3
c = -1
doubleopts = <value optimized out>
Current language: auto; currently minimal
(gdb)
2018 May 30
0
use instance-name for syslog?
...facility);
i_set_failure_prefix("%s", prefix);
if (strcmp(service->set->log_path, "syslog") != 0) {
diff --git a/src/lib/failures.c b/src/lib/failures.c
index 3023ba8..0ebba3d 100644
--- a/src/lib/failures.c
+++ b/src/lib/failures.c
@@ -443,7 +443,12 @@ void i_syslog_error_handler(const struct failure_context *ctx,
void i_set_failure_syslog(const char *ident, int options, int facility)
{
- openlog(ident, options, facility);
+ static char *syslog_ident = NULL;
+
+ i_free(syslog_ident);
+ syslog_ident = i_strdup(ident);
+
+ openlog(syslog_ident, options, facility);
i...
2020 Mar 30
2
Panic/Assert dns-lookup.c
...e dns-lookup.c: line 371 (dns_client_lookup_common): assertion failed: (param != NULL && *param != '\0')
Mar 30 15:54:06 imap16 dovecot: auth: Error: Raw backtrace: #0 t_askpass[0x7f27a219b5f0] -> #1 backtrace_append[0x7f27a219b860] -> #2 backtrace_get[0x7f27a219b9c0] -> #3 i_syslog_error_handler[0x7f27a21a6840] -> #4 i_syslog_fatal_handler[0x7f27a21a6970] -> #5 i_fatal[0x7f27a20fc3b7] -> #6 dns_client_connect[0x7f27a216ffb0] -> #7 dns_client_lookup[0x7f27a21702a0] -> #8 auth_request_proxy_finish[0x55c930e9b200] -> #9 auth_request_handler_reply[0x55c930e9cee0] -> #10...
2018 May 30
3
use instance-name for syslog?
Hello,
When running multiple instances of dovecot on the same host (or running multiple docker container),
it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
It is hardcoded here:
https://github.com/dovecot/core/blob/master/src/lib-master/master-service.c#L420
Would it make sense to use the already implemented
2016 Jul 01
2
kqueue crash on FreeBSD with 2.2.25
Hi,
2.2.25 crashes on FreeBSD with a kqueue-related message. I see references to something similar (http://www.dovecot.org/list/dovecot/2012-February.txt) from a couple years ago.
I get:
Jul 1 10:07:27 imap dovecot: master: Panic: kevent(EV_ADD, READ, 54) failed: Bad file descriptor
It's not dumping core, and I get the message even with "protocols ="
Downgrading back to 2.2.24
2020 Oct 21
1
Corrupted dbox file + assertion failure
...file dbox-file-fix.c: line 219 (dbox_file_find_next_magic): assertion failed: (ret == -1)
dsync-local(LOCALPART at DOMAIN.TLD)<MBF5EUC8j1/FfQAAkqONGQ>: Error: Raw backtrace: #0 t_askpass[0x7fbf4218b5f0] -> #1 backtrace_append[0x7fbf4218b860] -> #2 backtrace_get[0x7fbf4218b9c0] -> #3 i_syslog_error_handler[0x7fbf42196840] -> #4 default_fatal_handler[0x7fbf42196910] -> #5 i_fatal[0x7fbf420ec3b7] -> #6 dbox_attachment_file_get_stream[0x7fbf424c1010] -> #7 dbox_file_fix[0x7fbf424c1540] -> #8 mdbox_get_setting_parser_info[0x7fbf424b9290] -> #9 mdbox_storage_rebuild_in_context[0x7fbf42...
2020 Mar 30
2
Panic/Assert dns-lookup.c
...{__val = {32, 0 <repeats 15 times>}}
#2 0x00007f27a21a68a4 in default_fatal_finish (status=0, type=LOG_TYPE_PANIC) at failures.c:459
backtrace = 0x55c9327cd5b0 "#0 t_askpass[0x7f27a219b5f0] -> #1 backtrace_append[0x7f27a219b860] -> #2 backtrace_get[0x7f27a219b9c0] -> #3 i_syslog_error_handler[0x7f27a21a6840] -> #4 i_syslog_fatal_handler[0x7f27a21a6970] -> #5 "...
recursed = 0
recursed = 0
#3 fatal_handler_real (ctx=<optimized out>, format=<optimized out>, args=<optimized out>) at failures.c:471
status = 0
#4 0x00007f27a21a6991 in...
2020 Mar 30
0
Panic/Assert dns-lookup.c
...-lookup.c: line 371 (dns_client_lookup_common): assertion failed: (param != NULL && *param != '\0')
> Mar 30 15:54:06 imap16 dovecot: auth: Error: Raw backtrace: #0 t_askpass[0x7f27a219b5f0] -> #1 backtrace_append[0x7f27a219b860] -> #2 backtrace_get[0x7f27a219b9c0] -> #3 i_syslog_error_handler[0x7f27a21a6840] -> #4 i_syslog_fatal_handler[0x7f27a21a6970] -> #5 i_fatal[0x7f27a20fc3b7] -> #6 dns_client_connect[0x7f27a216ffb0] -> #7 dns_client_lookup[0x7f27a21702a0] -> #8 auth_request_proxy_finish[0x55c930e9b200] -> #9 auth_request_handler_reply[0x55c930e9cee0] -> #10...
2016 Jul 02
5
kqueue crash on FreeBSD with 2.2.25
..._data_stack_cur_id = 2
set = (struct master_settings *) 0x2881d098
error = 0x282f42cf "\215e?[]?", '\220' <repeats 11 times>, "U\211?SWV\203?\020\211M??"
doveconf_arg = 0x0
orig_info_callback = (failure_callback_t *) 0x2815b800 <i_syslog_error_handler>
orig_debug_callback = (failure_callback_t *) 0x2815b800 <i_syslog_error_handler>
foreground = false
ask_key_pass = false
i = 3
c = -1
doubleopts = <value optimized out>