Hi, I just upgraded from dovecot 2.2.19 to 2.3.2. "doveadm backup" worked fine in v 2.2.19, but now panics (user with shared folder): /opt/dovecot/bin/doveadm backup -u testuser -1 sdbox:/tmp/testuser dsync(standl2): Panic: file mailbox-attribute.c: line 360 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL) dsync(standl2): Error: Raw backtrace: /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xcb6fa) [0x7f43679986fa] -> /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xcb769) [0x7f4367998769] -> /opt/dovecot/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f43679069c1] -> /opt/dovecot/lib/dovecot/libdovecot-storage.so.0(+0x568ff) [0x7f4367c9d8ff] -> /opt/dovecot/bin/doveadm(dsync_mailbox_import_attribute+0x4d) [0x56234f7b68dd] -> /opt/dovecot/bin/doveadm(dsync_brain_sync_mails+0x2fd) [0x56234f7b217d] -> /opt/dovecot/bin/doveadm(dsync_brain_run+0x538) [0x56234f7adb28] -> /opt/dovecot/bin/doveadm(+0x27fec) [0x56234f793fec] -> /opt/dovecot/bin/doveadm(+0x2a0e7) [0x56234f7960e7] -> /opt/dovecot/bin/doveadm(+0x2ad7b) [0x56234f796d7b] -> /opt/dovecot/bin/doveadm(doveadm_mail_try_run+0x1fa) [0x56234f79769a] -> /opt/dovecot/bin/doveadm(main+0x45b) [0x56234f786b2b] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f4367523830] -> /opt/dovecot/bin/doveadm(_start+0x29) [0x56234f786ca9] regards, infoomatic
Hi, Any info on this one? btw, did a c&p error (standl2 is the username, of course) Regards, infoomatic> Gesendet: Samstag, 07. Juli 2018 um 03:31 Uhr > Von: Infoomatic <infoomatic at gmx.at> > An: dovecot at dovecot.org > Betreff: dsync panic > > Hi, > I just upgraded from dovecot 2.2.19 to 2.3.2. "doveadm backup" worked fine in v 2.2.19, but now panics (user with shared folder): > /opt/dovecot/bin/doveadm backup -u testuser -1 sdbox:/tmp/testuser > > dsync(standl2): Panic: file mailbox-attribute.c: line 360 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL) > dsync(standl2): Error: Raw backtrace: /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xcb6fa) [0x7f43679986fa] -> /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xcb769) [0x7f4367998769] -> /opt/dovecot/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f43679069c1] -> /opt/dovecot/lib/dovecot/libdovecot-storage.so.0(+0x568ff) [0x7f4367c9d8ff] -> /opt/dovecot/bin/doveadm(dsync_mailbox_import_attribute+0x4d) [0x56234f7b68dd] -> /opt/dovecot/bin/doveadm(dsync_brain_sync_mails+0x2fd) [0x56234f7b217d] -> /opt/dovecot/bin/doveadm(dsync_brain_run+0x538) [0x56234f7adb28] -> /opt/dovecot/bin/doveadm(+0x27fec) [0x56234f793fec] -> /opt/dovecot/bin/doveadm(+0x2a0e7) [0x56234f7960e7] -> /opt/dovecot/bin/doveadm(+0x2ad7b) [0x56234f796d7b] -> /opt/dovecot/bin/doveadm(doveadm_mail_try_run+0x1fa) [0x56234f79769a] -> /opt/dovecot/bin/doveadm(main+0x45b) [0x56234f786b2b] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f4367523830] -> /opt/dovecot/bin/doveadm(_start+0x29) [0x56234f786ca9] > > regards, > infoomatic >
> On 7 Jul 2018, at 4.31, Infoomatic <infoomatic at gmx.at> wrote: > > Hi, > I just upgraded from dovecot 2.2.19 to 2.3.2. "doveadm backup" worked fine in v 2.2.19, but now panics (user with shared folder): > /opt/dovecot/bin/doveadm backup -u testuser -1 sdbox:/tmp/testuserNot sure why it panics, but at least your command line looks incorrect. please try: doveadm backup -u testuser sdbox:/tmp/testuser your options are: doveadm backup doveadm sync doveadm sync -1 https://wiki2.dovecot.org/Tools/Doveadm/Sync <https://wiki2.dovecot.org/Tools/Doveadm/Sync> Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180712/10d340df/attachment.html>
I think I get pretty much the same issue: dsync(support): Panic: file mailbox-attribute.c: line 360 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL) dsync(support): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xc9e06) [0x7fba8a348e06] -> /usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a) [0x7fba8a348e4a] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7fba8a2bd813] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x597fc) [0x7fba8a64f7fc] -> dsync(dsync_mailbox_import_attribute+0x3a) [0x55d72a8ac37a] -> dsync(dsync_brain_sync_mails+0x2ef) [0x55d72a8a7e9f] -> dsync(dsync_brain_run+0x2b0) [0x55d72a8a3690] -> dsync(+0x29f5c) [0x55d72a88af5c] -> dsync(+0x2bd97) [0x55d72a88cd97] -> dsync(+0x2c878) [0x55d72a88d878] -> dsync(doveadm_mail_try_run+0x205) [0x55d72a88e1f5] -> dsync(main+0x475) [0x55d72a87de85] -> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fba89c8d725] -> dsync(_start+0x29) [0x55d72a87e009] with command: doveadm backup -x "virtual/*" -x "shared/*" -u support sdbox:/srv/dovecot/support/sdbox with version 2.3.2.1 Wolfgang -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180713/3b4da8ca/attachment.html>
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> <div>thanks for taking the time to answer. Unfortunately, I get the same error with the right command (without the -1)</div> <div> </div> <div>infoomatic</div> <div> </div> <div> <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 12. Juli 2018 um 19:57 Uhr<br/> <b>Von:</b> "Sami Ketola" <sami.ketola@dovecot.fi><br/> <b>An:</b> dovecot <dovecot@dovecot.org><br/> <b>Cc:</b> Infoomatic <infoomatic@gmx.at><br/> <b>Betreff:</b> Re: dsync panic</div> <div name="quoted-content"> <div> <div> <blockquote> <div>On 7 Jul 2018, at 4.31, Infoomatic <<a href="mailto:infoomatic@gmx.at" onclick="parent.window.location.href='infoomatic@gmx.at'; return false;" target="_blank">infoomatic@gmx.at</a>> wrote:</div> <div> <div>Hi,<br/> I just upgraded from dovecot 2.2.19 to 2.3.2. "doveadm backup" worked fine in v 2.2.19, but now panics (user with shared folder):<br/> /opt/dovecot/bin/doveadm backup -u testuser -1 sdbox:/tmp/testuser</div> </div> </blockquote> <div> </div> Not sure why it panics, but at least your command line looks incorrect. </div> <div> </div> <div>please try: doveadm backup -u testuser sdbox:/tmp/testuser</div> <div> </div> <div>your options are:</div> <div> </div> <div>doveadm backup</div> <div>doveadm sync</div> <div>doveadm sync -1</div> <div> </div> <div><a href="https://wiki2.dovecot.org/Tools/Doveadm/Sync" target="_blank">https://wiki2.dovecot.org/Tools/Doveadm/Sync</a></div> <div> </div> <div>Sami</div> </div> </div> </div> </div> </div></div></body></html>