https://github.com/dovecot/pigeonhole/commit/e51a625ac724242c8f321e2131b42669af9b77fd
Fixed in 2.3.5.
On 21/06/2020 16:11, Marco wrote:
Package: dovecot-sieve
Version: 1:2.3.4.1-5+deb10u2
Severity: normal
Dear Maintainer,
Hi there,
I'm seeing something very similar to Bug#876364 with my new setup, based on a virtual
mailbox "All", when I try to _bulk delete_ some messages from it (using
SeaMonkey or Thunderbird):
------------------------------->8---------------------------------------
Jun 21 12:26:53 mail dovecot: imap(obfuscated@obfuscated)<14409><7TCZkJWo/KIfpDnf>:
Panic: file imap-sieve-storage.c: line 330 (imap_sieve_add_mailbox_copy_event): assertion failed:
(ismt->src_box == NULL || ismt->src_box == src_mail->box)
Jun 21 12:26:53 mail dovecot: imap(obfuscated@obfuscated)<14409><7TCZkJWo/KIfpDnf>: Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0xdb13b) [0x7fc2185ae13b] -> /usr/lib/dovecot/libdovecot.so.0(+0xdb1d1) [0x7fc2185ae1d1] ->
/usr/lib/dovecot/libdovecot.so.0(+0x4a039) [0x7fc21851d039] -> /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so(+0x4b09) [0x7fc2182c7b09] ->
/usr/lib/dovecot/modules/lib10_quota_plugin.so(+0xf80c) [0x7fc2182f780c] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x5badc) [0x7fc2186bdadc]
-> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x31) [0x7fc2186bdc11] -> dovecot/imap(+0x128f5) [0x55d83dd388f5] ->
dovecot/imap(command_exec+0x70) [0x55d83dd45d80] -> dovecot/imap(+0x1e3f2) [0x55d83dd443f2] -> dovecot/imap(+0x1e494) [0x55d83dd44494] ->
dovecot/imap(client_handle_input+0x1b5) [0x55d83dd44845] -> dovecot/imap(client_input+0x7e) [0x55d83dd44d6e] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f) [0x7fc2185c45ef] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x136)
[0x7fc2185c5be6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7fc2185c468c] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7fc2185c47f0] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fc218544fc3]
-> dovecot/imap(main+0x325) [0x55d83dd36bf5] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fc21832fe0b] ->
dovecot/imap(_start+0x2a) [0x55d83dd36d8a]
Jun 21 12:26:53 mail dovecot:
imap(obfuscated@obfuscated)<14409><7TCZkJWo/KIfpDnf>: Fatal: master:
service(imap): child 14409 killed with signal 6 (core dumps disabled -
https://dovecot.org/bugreport.html#coredumps)
-------------------------------8<---------------------------------------
Access to the virtual mailbox is then broken, though, removing the associated mailbox indexes
"<user-mailboxes>/virtual/.All/dovecot.index*" restores it.
Deleting a single messages seems to work always. Removing more triggers the
bug, sometimes just 2 is enough, sometimes a bulk of 5-10 is needed.
Info from dovecot-sysreport attached.
Cheers,
Marco
-- Package-specific info:
-- System Information:
Debian Release: bullseye/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.6.0-2-cloud-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dovecot-sieve depends on:
ii dovecot-core 1:2.3.4.1-5+deb10u2
ii libc6 2.30-8
ii ucf 3.0043
dovecot-sieve recommends no packages.
dovecot-sieve suggests no packages.
Versions of packages dovecot-sieve is related to:
ii dovecot-core [dovecot-common] 1:2.3.4.1-5+deb10u2
pn dovecot-dev <none>
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.3.4.1-5+deb10u2
ii dovecot-ldap 1:2.3.4.1-5+deb10u2
ii dovecot-lmtpd 1:2.3.4.1-5+deb10u2
ii dovecot-managesieved 1:2.3.4.1-5+deb10u2
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
pn dovecot-pop3d <none>
ii dovecot-sieve 1:2.3.4.1-5+deb10u2
pn dovecot-sqlite <none>
-- no debconf information