On Mon, 9 May 2011, Timo Sirainen wrote:

        # dbx doveadm
        (dbx) run mailbox status -u user messages \*
        ... long list ...
        igel messages=1
        INBOX messages=231
        doveadm(user): Panic: Trying to deinit storage before freeing its 
objects

A backtrace can't really show why it crashed with this. Something wasn't
freed for some reason. Can you still reproduce this? I'd like to know of
a way to reproduce this. Maybe you can copy this problematic user's
mailboxes to a test user and keep deleting stuff until you see what
triggers it?

I started removing files as you've suggested and the minimal
condition that triggers a crash is at least one non-mbox file.

        $ rm /var/mail/user
        $ rm -rf ~user/mail/*
        $ echo x >~user/mail/x

        $ doveadm mailbox status -u user messages \*
        doveadm(user): Error: Syncing mailbox x failed: Mailbox isn't a valid 
mbox file
        doveadm(user): Panic: Trying to deinit storage before freeing its 
objects
        doveadm(user): Error: Raw backtrace: 0xff1c296c -> 0xff2a4e20 ->
                0xff29e5cc -> 0xff2a8784 -> 0xff2a89fc -> 0x168d4 ->
                0x169e0 -> 0x16ef4 -> 0x1745c -> 0x1cafc -> 0x1629c

Joseph Tam <jtam.h...@gmail.com>

Reply via email to