We're running Dovecot 2.2.21 from Stephan Bosch's build service on Dovecot 7.x. Everything's up2date. # 2.2.devel (7ab22fc): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.11 (71e908a) # OS: Linux 3.16.0-0.bpo.4-amd64 x86_64 Debian 7.9 root at mailimap01:/etc/dovecot/conf.d # apt-show-versions | grep dovecot debian-dovecot-auto-keyring/oldstable-auto uptodate 2010.01.30 dovecot-core/oldstable-auto uptodate 2:2.2.21-1~auto+66 dovecot-imapd/oldstable-auto uptodate 2:2.2.21-1~auto+66 dovecot-lmtpd/oldstable-auto uptodate 2:2.2.21-1~auto+66 dovecot-managesieved/oldstable-auto uptodate 2:2.2.21-1~auto+66 dovecot-mysql/oldstable-auto uptodate 2:2.2.21-1~auto+66 dovecot-pop3d/oldstable-auto uptodate 2:2.2.21-1~auto+66 dovecot-sieve/oldstable-auto uptodate 2:2.2.21-1~auto+66 But we have sefaults in our logfile. How can we debug and solve that? (Yes, I know Stephan Bosch's packages are autobuild at the edge, but we need this versions since Dovecot 7.0 has only Dovecot 2.2.7 available.) Peer Jan 21 22:39:20 mailimap01 dovecot: imap(p24062p6): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fbe4e92b8cf] -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fbe4e92b92e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fbe4e8d4aae] -> dovecot/imap [p24062p6 87.140.193.6 NOOP](client_continue_pending_input+0x132) [0x7fbe4f1125e2] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fbe4e93eb0b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) [0x7fbe4e93fee7] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fbe4e93ebb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fbe4e93ed58] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fbe4e8da4b3] -> dovecot/imap [p24062p6 87.140.193.6 NOOP](main+0x2d8) [0x7fbe4f105eb8] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fbe4e53bead] -> dovecot/imap [p24062p6 87.140.193.6 NOOP](+0xf03d) [0x7fbe4f10603d] Jan 21 22:46:41 mailimap01 dovecot: imap(p115951p1): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fcd177d48cf] -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fcd177d492e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fcd1777daae] -> dovecot/imap [p115951p1 93.204.210.91 FETCH](client_continue_pending_input+0x132) [0x7fcd17fbb5e2] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fcd177e7b0b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) [0x7fcd177e8ee7] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fcd177e7bb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fcd177e7d58] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fcd177834b3] -> dovecot/imap [p115951p1 93.204.210.91 FETCH](main+0x2d8) [0x7fcd17faeeb8] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fcd173e4ead] -> dovecot/imap [p115951p1 93.204.210.91 FETCH](+0xf03d) [0x7fcd17faf03d] Jan 21 22:51:48 mailimap01 dovecot: imap(p54862p14): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fd798e628cf] -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fd798e6292e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd798e0baae] -> dovecot/imap [p54862p14 217.92.255.97 NOOP](client_continue_pending_input+0x132) [0x7fd7996495e2] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fd798e75b0b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) [0x7fd798e76ee7] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fd798e75bb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd798e75d58] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fd798e114b3] -> dovecot/imap [p54862p14 217.92.255.97 NOOP](main+0x2d8) [0x7fd79963ceb8] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fd798a72ead] -> dovecot/imap [p54862p14 217.92.255.97 NOOP](+0xf03d) [0x7fd79963d03d] Jan 21 22:55:25 mailimap01 dovecot: imap(p142324p3): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fcbf559d8cf] -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fcbf559d92e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fcbf5546aae] -> dovecot/imap [p142324p3 80.153.228.104 NOOP NOOP](client_continue_pending_input+0x132) [0x7fcbf5d845e2] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fcbf55b0b0b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) [0x7fcbf55b1ee7] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fcbf55b0bb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fcbf55b0d58] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fcbf554c4b3] -> dovecot/imap [p142324p3 80.153.228.104 NOOP NOOP](main+0x2d8) [0x7fcbf5d77eb8] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fcbf51adead] -> dovecot/imap [p142324p3 80.153.228.104 NOOP NOOP](+0xf03d) [0x7fcbf5d7803d] -- Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin http://www.heinlein-support.de Tel: 030 / 405051-42 Fax: 030 / 405051-19 Zwangsangaben lt. ?35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Gesch?ftsf?hrer: Peer Heinlein -- Sitz: Berlin
Am 21.01.2016 um 23:05 schrieb Peer Heinlein:> > We're running Dovecot 2.2.21 from Stephan Bosch's build service on > Dovecot 7.x. Everything's up2date. > > # 2.2.devel (7ab22fc): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.11 (71e908a) > # OS: Linux 3.16.0-0.bpo.4-amd64 x86_64 Debian 7.9 > > root at mailimap01:/etc/dovecot/conf.d # apt-show-versions | grep dovecot > debian-dovecot-auto-keyring/oldstable-auto uptodate 2010.01.30 > dovecot-core/oldstable-auto uptodate 2:2.2.21-1~auto+66 > dovecot-imapd/oldstable-auto uptodate 2:2.2.21-1~auto+66 > dovecot-lmtpd/oldstable-auto uptodate 2:2.2.21-1~auto+66 > dovecot-managesieved/oldstable-auto uptodate 2:2.2.21-1~auto+66 > dovecot-mysql/oldstable-auto uptodate 2:2.2.21-1~auto+66 > dovecot-pop3d/oldstable-auto uptodate 2:2.2.21-1~auto+66 > dovecot-sieve/oldstable-auto uptodate 2:2.2.21-1~auto+66 > > > But we have sefaults in our logfile. How can we debug and solve that? > > (Yes, I know Stephan Bosch's packages are autobuild at the edge, but we > need this versions since Dovecot 7.0 has only Dovecot 2.2.7 available.) > > Peer > > > > Jan 21 22:39:20 mailimap01 dovecot: imap(p24062p6): Error: Raw > backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fbe4e92b8cf] > -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fbe4e92b92e] -> > /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fbe4e8d4aae] -> > dovecot/imap [p24062p6 87.140.193.6 > NOOP](client_continue_pending_input+0x132) [0x7fbe4f1125e2] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fbe4e93eb0b] > -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) > [0x7fbe4e93fee7] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) > [0x7fbe4e93ebb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) > [0x7fbe4e93ed58] -> > /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) > [0x7fbe4e8da4b3] -> dovecot/imap [p24062p6 87.140.193.6 > NOOP](main+0x2d8) [0x7fbe4f105eb8] -> > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fbe4e53bead] > -> dovecot/imap [p24062p6 87.140.193.6 NOOP](+0xf03d) [0x7fbe4f10603d] > > Jan 21 22:46:41 mailimap01 dovecot: imap(p115951p1): Error: Raw > backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fcd177d48cf] > -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fcd177d492e] -> > /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fcd1777daae] -> > dovecot/imap [p115951p1 93.204.210.91 > FETCH](client_continue_pending_input+0x132) [0x7fcd17fbb5e2] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fcd177e7b0b] > -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) > [0x7fcd177e8ee7] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) > [0x7fcd177e7bb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) > [0x7fcd177e7d58] -> > /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) > [0x7fcd177834b3] -> dovecot/imap [p115951p1 93.204.210.91 > FETCH](main+0x2d8) [0x7fcd17faeeb8] -> > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fcd173e4ead] > -> dovecot/imap [p115951p1 93.204.210.91 FETCH](+0xf03d) [0x7fcd17faf03d] > > Jan 21 22:51:48 mailimap01 dovecot: imap(p54862p14): Error: Raw > backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fd798e628cf] > -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fd798e6292e] -> > /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd798e0baae] -> > dovecot/imap [p54862p14 217.92.255.97 > NOOP](client_continue_pending_input+0x132) [0x7fd7996495e2] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fd798e75b0b] > -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) > [0x7fd798e76ee7] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) > [0x7fd798e75bb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) > [0x7fd798e75d58] -> > /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) > [0x7fd798e114b3] -> dovecot/imap [p54862p14 217.92.255.97 > NOOP](main+0x2d8) [0x7fd79963ceb8] -> > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fd798a72ead] > -> dovecot/imap [p54862p14 217.92.255.97 NOOP](+0xf03d) [0x7fd79963d03d] > > Jan 21 22:55:25 mailimap01 dovecot: imap(p142324p3): Error: Raw > backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) [0x7fcbf559d8cf] > -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) [0x7fcbf559d92e] -> > /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fcbf5546aae] -> > dovecot/imap [p142324p3 80.153.228.104 NOOP > NOOP](client_continue_pending_input+0x132) [0x7fcbf5d845e2] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fcbf55b0b0b] > -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) > [0x7fcbf55b1ee7] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) > [0x7fcbf55b0bb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) > [0x7fcbf55b0d58] -> > /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) > [0x7fcbf554c4b3] -> dovecot/imap [p142324p3 80.153.228.104 NOOP > NOOP](main+0x2d8) [0x7fcbf5d77eb8] -> > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fcbf51adead] > -> dovecot/imap [p142324p3 80.153.228.104 NOOP NOOP](+0xf03d) > [0x7fcbf5d7803d] > > > >just recompiled the same on ubuntu 14.04 running tests no bugs yet dovecot-core:amd64 2:2.2.21-1~auto+66 any idea what action provided your segfault Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Am 21.01.2016 um 23:20 schrieb Robert Schetterer:> just recompiled the same on ubuntu 14.04 > running tests no bugs yetYes, we also have this version running on other systems without segfaults.> dovecot-core:amd64 2:2.2.21-1~auto+66(and we also had segfaults with older builds) Peer -- Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin http://www.heinlein-support.de Tel: 030 / 405051-42 Fax: 030 / 405051-19 Zwangsangaben lt. ?35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Gesch?ftsf?hrer: Peer Heinlein -- Sitz: Berlin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/21/2016 11:05 PM, Peer Heinlein wrote:> > > Jan 21 22:39:20 mailimap01 dovecot: imap(p24062p6): Error: Raw > backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x838cf) > [0x7fbe4e92b8cf] -> /usr/lib/dovecot/libdovecot.so.0(+0x8392e) > [0x7fbe4e92b92e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) > [0x7fbe4e8d4aae] -> dovecot/imap [p24062p6 87.140.193.6 > NOOP](client_continue_pending_input+0x132) [0x7fbe4f1125e2] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) > [0x7fbe4e93eb0b] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd7) > >[0x7fbe4e93fee7] ->> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) > [0x7fbe4e93ebb5] -> > /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fbe4e93ed58] > -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) > [0x7fbe4e8da4b3] -> dovecot/imap [p24062p6 87.140.193.6 > NOOP](main+0x2d8) [0x7fbe4f105eb8] -> > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) > [0x7fbe4e53bead] -> dovecot/imap [p24062p6 87.140.193.6 > NOOP](+0xf03d) [0x7fbe4f10603d]What i found a line above that backtrace was imap(p24062p6): Panic: file imap-client.c: line 852 (client_check_command_hangs): assertion failed: (!have_wait_unfinished || unfinished_count > 0) Maybe that help find the reason of the backtrace? Cheers Andre - -- Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin http://www.heinlein-support.de Tel: 030 / 405051-0 Fax: 030 / 405051-19 Zwangsangaben lt. ?35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Gesch?ftsf?hrer: Peer Heinlein -- Sitz: Berlin -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJWogYzAAoJEAoTNwRDnEhReyYH/AxXou9eRIUVQn+QT9FMFPXj 17tJn588TiMZOExAGiRbTM0MAfsMdcfHmnzVxCk4APrlUuD2oFBlybIwT1AAjKTP 8qfDiA1wC3eTQgLnbPrJ4idxx0XG4rl6J7upQJKqZl9L0ZK+IdCjzFlHjoWM7Onz IeXDd1qWbukLFBTJCAdcG7V4H3o1XBRkE7h/pGLJkYhXQNKO8Uqo5jwciYHbe4k1 SHAsr5EGqgsO8ueJ7X9xnhGp1DDXAgPPRn4paEZIk/vN3PAudl6FXp0myJ4/4H+c oGD6Q8c/95fRL4o8z291X7EmM2PRGyXY0Tm4Jwh3p92n9Tq6A/KS8CdZ7Ant/aM=134a -----END PGP SIGNATURE-----
On 22 Jan 2016, at 12:36, Andre Helwig <a.helwig at heinlein-support.de> wrote:> > imap(p24062p6): Panic: file imap-client.c: line 852 > (client_check_command_hangs): assertion failed: (!have_wait_unfinished > || unfinished_count > 0)I think this was fixed by https://github.com/dovecot/core/commit/f136b0050b3125b466af73984177250b7ed1a3be
Possibly Parallel Threads
- segfaults with Dovecot 2.2.21
- segfaults with Dovecot 2.2.21
- [BUG] Dovecot 2.2.21 crashing with assertion failed: (!have_wait_unfinished || unfinished_count > 0)
- [BUG] 2.2.21 Panic: file imap-client.c: line 841 (client_check_command_hangs): assertion failed: (!have_wait_unfinished || unfinished_count > 0)
- [BUG] 2.2.21 Panic: file imap-client.c: line 841 (client_check_command_hangs): assertion failed: (!have_wait_unfinished || unfinished_count > 0)