Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1025182

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder

From Matthew Vernon <matthew@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder
Date 2020-09-15 13:40 +0200
Message-ID <APhtw-6MA-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: dovecot-imapd
Version: 1:2.2.27-3+deb9u6
Severity: important

Hi,

One of my IMAP users reports failures when trying to do full-text
searches of a large (3G) mailbox; subject-only searches are OK.

The backtrace in syslog is:

Sep 15 11:51:37 aragorn dovecot: imap(atreic): Panic: file message-parser.c: line 174 (message_part_finish): assertion failed: (ctx->nested_parts_count > 0)
Sep 15 11:51:37 aragorn dovecot: imap(atreic): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x96442) [0x7f7a45a5d442] -> /usr/lib/dovecot/libdovecot.so.0(+0x9653d) [0x7f7a45a5d53d] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f7a459f2b41] -> /usr/lib/dovecot/libdovecot.so.0(+0x7de96) [0x7f7a45a44e96] -> /usr/lib/dovecot/libdovecot.so.0(message_parser_parse_next_block+0xdc) [0x7f7a45a4645c] -> /usr/lib/dovecot/libdovecot.so.0(message_search_msg+0xa0) [0x7f7a45a47d30] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb289f) [0x7f7a45d9c89f] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_search_args_foreach+0x45) [0x7f7a45d24685] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb24b0) [0x7f7a45d9c4b0] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb4513) [0x7f7a45d9e513] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x114) [0x7f7a45d9ec24] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x22) [0x7f7a45d2b382] -> dov
 ecot/imap(+0x2241f) [0x561b87f2a41f] -> dovecot/imap(command_exec+0xa5) [0x561b87f23735] -> dovecot/imap(+0x21522) [0x561b87f29522] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handle_timeouts+0x106) [0x7f7a45a71e06] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xc3) [0x7f7a45a73593] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c) [0x7f7a45a7203c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f7a45a721e8] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f7a459f9083] -> dovecot/imap(main+0x328) [0x561b87f14e68] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f7a456482e1] -> dovecot/imap(_start+0x2a) [0x561b87f14fea]
Sep 15 11:51:37 aragorn dovecot: imap(atreic): Fatal: master: service(imap): child 9125 killed with signal 6 (core dumps disabled)

Regards,

Matthew

-- Package-specific info:

dovecot configuration
---------------------
# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 4.9.0-12-amd64 x86_64 Debian 9.13 
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  driver = pam
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = " imap"
ssl_cert = </var/lib/dehydrated/certs/aragorn.weathertop.principate.org.uk/fullchain.pem
ssl_key =  # hidden, use -P to show it
userdb {
  driver = passwd
}

-- System Information:
Debian Release: 9.13
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-12-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dovecot-imapd depends on:
ii  dovecot-core  1:2.2.27-3+deb9u6
ii  libbz2-1.0    1.0.6-8.1
ii  libc6         2.24-11+deb9u4
ii  liblz4-1      0.0~r131-2+b1
ii  liblzma5      5.2.2-1.2+b1
ii  ucf           3.0036
ii  zlib1g        1:1.2.8.dfsg-5

dovecot-imapd recommends no packages.

Versions of packages dovecot-imapd suggests:
pn  ufw  <none>

Versions of packages dovecot-imapd is related to:
ii  dovecot-core [dovecot-common]  1:2.2.27-3+deb9u6
pn  dovecot-dbg                    <none>
pn  dovecot-dev                    <none>
ii  dovecot-gssapi                 1:2.2.27-3+deb9u6
ii  dovecot-imapd                  1:2.2.27-3+deb9u6
ii  dovecot-ldap                   1:2.2.27-3+deb9u6
pn  dovecot-lmtpd                  <none>
pn  dovecot-managesieved           <none>
ii  dovecot-mysql                  1:2.2.27-3+deb9u6
ii  dovecot-pgsql                  1:2.2.27-3+deb9u6
pn  dovecot-pop3d                  <none>
ii  dovecot-sieve                  1:2.2.27-3+deb9u6
ii  dovecot-sqlite                 1:2.2.27-3+deb9u6

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Matthew Vernon <matthew@debian.org> - 2020-09-15 13:40 +0200
  Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Timo Sirainen <timo@sirainen.com> - 2020-09-17 23:30 +0200
    Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Noah Meyerhans <noahm@debian.org> - 2020-09-20 19:30 +0200
  Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Dimitry Andric <dimitry@andric.com> - 2020-09-21 15:50 +0200
    Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Noah Meyerhans <noahm@debian.org> - 2020-09-22 00:50 +0200
      Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Noah Meyerhans <noahm@debian.org> - 2020-09-22 20:10 +0200
    Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Timo Sirainen <timo@sirainen.com> - 2020-09-23 12:40 +0200
      Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Noah Meyerhans <noahm@debian.org> - 2020-09-23 17:50 +0200
        Bug#970386: dovecot-imapd: assertion failure in message_part_finish when searching large folder Noah Meyerhans <noahm@debian.org> - 2020-09-23 22:30 +0200

csiph-web