And one more core-dump in imap:str.c str_append(cstr = NULL)
Dovecot 2.2.20 Solaris 10 / x86 Maildir
q
(dbx) where
[1] strlen(0x0, 0x0, 0x491baa, 0x0, 0x4d1ed0, 0x4d1ed0), at 0xfffffd7ffeaf6dd0
=>[2] str_append(str = 0x4a9120, cstr = (nil)), line 96 in "str.c"
[3] client_get_commands_status(client = 0x4d16c0), line 282 in "imap-client.c"
[4] client_log_disconnect(client = 0x4d16c0, reason = 0xfffffd7ffee24d80 "Connection closed"), line 322 in "imap-client.c"
[5] client_default_destroy(client = 0x4d16c0, reason = (nil)), line 336 in "imap-client.c"
[6] client_destroy(client = 0x4d16c0, reason = (nil)), line 263 in "imap-client.c"
[7] client_input(client = 0x4d16c0), line 1099 in "imap-client.c"
[8] io_loop_call_io(io = 0x5073b0), line 559 in "ioloop.c"
[9] io_loop_handler_run_internal(ioloop = 0x4b2580), line 211 in "ioloop-poll.c"
[10] io_loop_handler_run(ioloop = 0x4b2580), line 607 in "ioloop.c"
[11] io_loop_run(ioloop = 0x4b2580), line 583 in "ioloop.c"
[12] master_service_run(service = 0x4b2450, callback = 0x482690 = &imap
main.c`client_connected(struct master_service_connection *conn)), line 640 in "master-service.c"
[13] main(argc = 1, argv = 0xfffffd7fffdffcb8), line 442 in "main.c"
(dbx) frame 3
Current function is client_get_commands_status
282 str_append(str, cmd->name);
(dbx) print *cmd *cmd = { prev = (nil) next = (nil) client = 0x4d16c0 pool = 0x4d1eb0 tag = (nil) name = (nil) args = (nil) cmd_flags = <unknown enum member 0> func = (nil) context = (nil) module_contexts = { arr = { buffer = 0x4d1f80 element_size = 8U } v = 0x4d1f80 v_modifiable = 0x4d1f80 } parser = 0x4b8f90 state = CLIENT_COMMAND_STATE_WAIT_INPUT start_time = { tv_sec = 0 tv_usec = 0 } start_ioloop_wait_usecs = 0 running_usecs = 0 bytes_in = 0 bytes_out = 0 sync = (nil) uid = 0 cancel = 0 param_error = 0 search_save_result = 0 search_save_result_used = 0 temp_executed = 0 tagline_sent = 0 executing = 0 }
(dbx) list
280 str_append(str, " (");
281 for (cmd = client->command_queue; cmd != NULL; cmd = cmd->next) {
282 str_append(str, cmd->name);
283 if (cmd->next != NULL)
284 str_append_c(str, ',');
285 running_usecs += cmd->running_usecs;
286 bytes_in += cmd->bytes_in;
287 bytes_out += cmd->bytes_out;
288 last_cmd = cmd;
289 }
Probably related to these entries in the syslog:
Dec 11 16:18:47 mail dovecot: [ID 583609 mail.info] imap-login: Login: user=<perje>, method=PLAIN, rip=81.233.116.192, lip=130.236.160.9, mpid=9238, TLS, session=<CUwE16Am3fhR6X TA> Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=196 out=995 Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=168 out=5683 Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=168 out=4713 Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=194 out=1016 Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=182 out=970 Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=193 out=895 Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=196 out=995 Dec 11 16:18:50 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=184 out=894 Dec 11 16:18:51 mail dovecot: [ID 583609 mail.info] imap-login: Login: user=<perje>, method=PLAIN, rip=81.233.116.192, lip=130.236.160.9, mpid=9273, TLS, session=<1uJB16AmtOhR6X TA> Dec 11 16:18:52 mail dovecot: [ID 583609 mail.info] imap-login: Login: user=<perje>, method=PLAIN, rip=81.233.116.192, lip=130.236.160.9, mpid=9278, TLS, session=<kR5Q16AmaOZR6X TA> Dec 11 16:18:52 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=150 out=491 Dec 11 16:23:08 mail dovecot: [ID 583609 mail.info] imap-login: Login: user=<perje>, method=PLAIN, rip=130.236.172.166, lip=130.236.160.9, mpid=10796, TLS, session=<GvSJ5qAms9CC 7Kym> Dec 11 16:23:08 mail dovecot: [ID 583609 mail.info] imap-login: Login: user=<perje>, method=PLAIN, rip=130.236.172.166, lip=130.236.160.9, mpid=10803, TLS, session=<nVqS5qAmttCC 7Kym> Dec 11 16:23:08 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=150 out=491 Dec 11 16:23:13 mail dovecot: [ID 583609 mail.info] imap(perje): Connection closed in=150 out=491 Dec 11 16:24:10 mail dovecot: [ID 583609 mail.crit] imap(perje): Fatal: master: service(imap): child 9006 killed with signal 11 (core dumped)
(Would have been nice with a pid number in the syslog output :-)
-- [Ll.U] Peter Eriksson KITVS-IFM & ITI-NET IT.LiU.SE +46-70 518 2786
On 15 Dec 2015, at 18:11, Peter Eriksson <peter@ifm.liu.se> wrote:
Dovecot 2.2.20 Solaris 10 / x86 Maildir
q
(dbx) where [1] strlen(0x0, 0x0, 0x491baa, 0x0, 0x4d1ed0, 0x4d1ed0), at 0xfffffd7ffeaf6dd0 =>[2] str_append(str = 0x4a9120, cstr = (nil)), line 96 in "str.c" [3] client_get_commands_status(client = 0x4d16c0), line 282 in "imap-client.c"
Thanks. This should fix it: https://github.com/dovecot/core/commit/c8e9fa2ffa2566e75f0500808b1bc9bf5d9db...
participants (2)
-
Peter Eriksson
-
Timo Sirainen