Re: [Dovecot] v2.0.tip Panic: file index-storage.c: line 385 (index_storage_mailbox_open): assertion failed: (!box->opened)

2009-11-11 Thread Timo Sirainen
On Wed, 2009-11-11 at 10:31 +0100, Pascal Volk wrote:
> Hi Timo,
> 
> I've tried to convert the Maildir from the first user:
> /usr/local/libexec/dovecot/convert-tool j@example.com \

convert-tool is going away. dsync is the new way to do conversion. For
example:

dsync -e 'dsync -r -O -o mail_location=maildir:~/Maildir'

This does a two-way sync between your primary storage and ~/Maildir. The
-r means that you want to keep ~/Maildir read-only. That's just in case
there are some bugs in dsync, because otherwise it does a two-way sync.

I suppose at some point I should make the command line also easier for
conversion purposes. :)


signature.asc
Description: This is a digitally signed message part


[Dovecot] v2.0.tip Panic: file index-storage.c: line 385 (index_storage_mailbox_open): assertion failed: (!box->opened)

2009-11-11 Thread Pascal Volk
Hi Timo,

I've tried to convert the Maildir from the first user:
/usr/local/libexec/dovecot/convert-tool j@example.com \
/srv/mail/1/70003/70008 \
maildir:/srv/mail/1/70003/70008/Maildir \
mdbox:/srv/mail/1/70003/70008/mdbox
Panic: file index-storage.c: line 385 (index_storage_mailbox_open): assertion 
failed: (!box->opened)
Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0 [0xf7e7ef8b] -> 
/usr/local/lib/dovecot/libdovecot.so.0(default_error_handler+0) [0xf7e7f01b] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xf7e7f1ad] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_mailbox_open+0x9a) 
[0xf7f333ed] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(dbox_mailbox_open+0x76) 
[0xf7f43cb6] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_open+0x7d) [0xf7edb915] 
-> /usr/local/libexec/dovecot/convert-tool [0x804a847] -> 
/usr/local/libexec/dovecot/convert-tool [0x804a996] -> 
/usr/local/libexec/dovecot/convert-tool(convert_storage+0x270) [0x804ad35] -> 
/usr/local/libexec/dovecot/convert-tool(main+0x333) [0x8049cc7] -> 
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xf7cfeb35] -> 
/usr/local/libexec/dovecot/convert-tool [0x8049901]
Aborted (core dumped)

The backtrace is attached.


Regards,
Pascal
-- 
The trapper recommends today: deadbeef.0931...@localdomain.org


gdb.txt.gz
Description: application/gzip