[Dovecot] Segfault in dovecot 1.2rc2 with quota + public namespace enabled

Markus Werner markiwer at googlemail.com
Tue Apr 7 21:31:35 EEST 2009


Hi Timo,

On Tue, Apr 07, 2009 at 12:27:24PM -0400, Timo Sirainen wrote:
> On Tue, 2009-04-07 at 15:53 +0200, Markus Werner wrote:
> > I have configured a public namespace ("#Shared"). Since dovecot 1.2rc2
> > (1.1.11 worked fine) I get a segfault, if I try to access a folder
> > under this namespace when quota plugin is enabled. When the quota
> > plugin is disabled, accessing those folders works.
> 
> This should fix it: http://hg.dovecot.org/dovecot-1.2/rev/f38765916f6d

Not yet:

#0  0xb7f683f1 in acl_mailbox_get_aclobj (box=0x85ad440) at acl-mailbox.c:49
49              struct acl_mailbox *abox = ACL_CONTEXT(box);
(gdb) bt full
#0  0xb7f683f1 in acl_mailbox_get_aclobj (box=0x85ad440) at acl-mailbox.c:49
No locals.
#1  0xb7dfbc89 in cmd_myrights (cmd=0x85a5bd8) at imap-acl-plugin.c:305
        storage = (struct mail_storage *) 0x85a35a8
        box = (struct mailbox *) 0x85ad440
        mailbox = 0x85aace0 "#Shared/System"
        real_mailbox = 0x85932c0 "System"
        rights = <value optimized out>
        str = <value optimized out>
#2  0x0806700c in client_command_input (cmd=0x85a5bd8) at client.c:603
        client = (struct client *) 0x85a5948
        command = <value optimized out>
        __PRETTY_FUNCTION__ = "client_command_input"
#3  0x080670a9 in client_command_input (cmd=0x85a5bd8) at client.c:652
        client = (struct client *) 0x85a5948
        command = <value optimized out>
        __PRETTY_FUNCTION__ = "client_command_input"
#4  0x080676ed in client_handle_input (client=0x85a5948) at client.c:693
        _data_stack_cur_id = 3
        ret = <value optimized out>
        remove_io = <value optimized out>
        handled_commands = true
#5  0x08067ba3 in client_input (client=0x85a5948) at client.c:748
        cmd = <value optimized out>
        output = (struct ostream *) 0x85a5afc
        bytes = <value optimized out>
        __PRETTY_FUNCTION__ = "client_input"
#6  0x080f73f0 in io_loop_handler_run (ioloop=0x859eae8) at ioloop-epoll.c:208
        ctx = (struct ioloop_handler_context *) 0x859ebf0
        event = (const struct epoll_event *) 0x859ec30
        list = (struct io_list *) 0x85a5b80
        io = (struct io_file *) 0x85a5b58
        tv = {tv_sec = 4, tv_usec = 999835}
        t_id = 2
        msecs = <value optimized out>
        ret = 1
        i = 0
        j = 0
        call = <value optimized out>
#7  0x080f6880 in io_loop_run (ioloop=0x859eae8) at ioloop.c:338
No locals.
#8  0x080704c5 in main (argc=Cannot access memory at address 0xc
) at main.c:320
No locals.


More information about the dovecot mailing list