Re: [Dovecot] Crash while moving mail between private folder and shared folder

2013-04-04 Thread kadafax

Le 31/03/13 16:26, Timo Sirainen a écrit :

On 27.3.2013, at 18.01, kada...@gmail.com wrote:


Just to bump the OP message as I experience the exact same symptom with the 
same configuration. That is: when moving an email to a virtual mailboxes, 
dovecot crash (and sometime the email disappears from the real mailbox).

I'm guessing your error was different though. These should fix them:

http://hg.dovecot.org/dovecot-2.2/rev/12136db6e31f
http://hg.dovecot.org/dovecot-2.2/rev/9a8119326bd0

(not sure if http://hg.dovecot.org/dovecot-2.2/rev/f31d241d5371 is also 
required)
Thanks Timo, this fixed my issue (yesterday's pull of the mercurial 
repo). You are the internet IMAP Hero.


Have a nice day,
kfx


Re: [Dovecot] Crash while moving mail between private folder and shared folder

2013-03-31 Thread Timo Sirainen
On 23.3.2013, at 11.03, Christian Felsing hostmas...@taunusstein.net wrote:

 while moving a mail from a private folder (inbox) to a shared folder and
 back to private folder Dovecot 2.2rc3 crashes:
 
 ---cut here---
 Mar 23 09:57:44 dovecot dovecot: imap-login: Login:
 user=john@example.net, method=PLAIN, rip=192.168.200.6,
 lip=192.168.200.22, mpid=19423, TLS
 Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Panic: file
 mail-namespace.c: line 654 (mail_namespace_find): assertion failed: (ns
 != NULL)

Fixed: http://hg.dovecot.org/dovecot-2.2/rev/f617e2fcce66




Re: [Dovecot] Crash while moving mail between private folder and shared folder

2013-03-31 Thread Timo Sirainen

On 27.3.2013, at 18.01, kada...@gmail.com wrote:

 Just to bump the OP message as I experience the exact same symptom with the 
 same configuration. That is: when moving an email to a virtual mailboxes, 
 dovecot crash (and sometime the email disappears from the real mailbox).

I'm guessing your error was different though. These should fix them:

http://hg.dovecot.org/dovecot-2.2/rev/12136db6e31f
http://hg.dovecot.org/dovecot-2.2/rev/9a8119326bd0

(not sure if http://hg.dovecot.org/dovecot-2.2/rev/f31d241d5371 is also 
required)

 
 Thx
 
 Le 23/03/13 10:03, Christian Felsing a écrit :
 Hello,
 
 while moving a mail from a private folder (inbox) to a shared folder and
 back to private folder Dovecot 2.2rc3 crashes:
 
 ---cut here---
 Mar 23 09:57:44 dovecot dovecot: imap-login: Login:
 user=john@example.net, method=PLAIN, rip=192.168.200.6,
 lip=192.168.200.22, mpid=19423, TLS
 Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Panic: file
 mail-namespace.c: line 654 (mail_namespace_find): assertion failed: (ns
 != NULL)
 Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Error: Raw
 backtrace: /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x608fa)
 [0x7f82f65b28fa] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x6093e)
 [0x7f82f65b293e] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(i_fatal+0)
 [0x7f82f657435b] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0)
 [0x7f82f686b590] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0x19)
 [0x7f82f686b5a9] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0x57bd)
 [0x7f82f51127bd] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_test_alloc+0xcb)
 [0x7f82f511424b] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_try_alloc+0x3d)
 [0x7f82f511445d] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0xb00b)
 [0x7f82f511800b] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib01_acl_plugin.so(+0xc7cb)
 [0x7f82f552d7cb] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x5f)
 [0x7f82f687274f] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x10)
 [0x7f82f6872810] - dovecot-01/imap() [0x40d29d] -
 dovecot-01/imap(command_exec+0x3c) [0x4161ec] - dovecot-01/imap()
 [0x415250] - dovecot-01/imap() [0x41530a] -
 dovecot-01/imap(client_handle_input+0x115) [0x4155c5] -
 dovecot-01/imap(client_input+0x72) [0x415972] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36)
 [0x7f82f65c20e6] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
 [0x7f82f65c2f37] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_run+0x28)
 [0x7f82f65c1c28] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
 [0x7f82f6579473]
 - dovecot-01/imap(main+0x270) [0x40b950] -
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f82f61e6ead]
 - dovecot-01/imap() [0x40baad]
 Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Fatal:
 master: service(imap): child 19423 killed with signal 6 (core dumps
 disabled)
 Mar 23 09:57:44 dovecot dovecot: imap-login: Login:
 user=john@example.net, method=PLAIN, rip=192.168.200.6,
 lip=192.168.200.22, mpid=19425, TLS
 Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Panic: file
 mail-namespace.c: line 654 (mail_namespace_find): assertion failed: (ns
 != NULL)
 Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Error: Raw
 backtrace: /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x608fa)
 [0x7f66ed9a58fa] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x6093e)
 [0x7f66ed9a593e] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(i_fatal+0)
 [0x7f66ed96735b] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0)
 [0x7f66edc5e590] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0x19)
 [0x7f66edc5e5a9] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0x57bd)
 [0x7f66ec5057bd] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_test_alloc+0xcb)
 [0x7f66ec50724b] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_try_alloc+0x3d)
 [0x7f66ec50745d] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0xb00b)
 [0x7f66ec50b00b] -
 /opt/dovecot-2.2.rc3/lib/dovecot/lib01_acl_plugin.so(+0xc7cb)
 [0x7f66ec9207cb] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x5f)
 [0x7f66edc6574f] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x10)
 [0x7f66edc65810] - dovecot-01/imap() [0x40d29d] -
 dovecot-01/imap(command_exec+0x3c) [0x4161ec] - dovecot-01/imap()
 [0x415250] - dovecot-01/imap() [0x41530a] -
 dovecot-01/imap(client_handle_input+0x115) [0x4155c5] -
 dovecot-01/imap(client_input+0x72) [0x415972] -
 /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36)
 [0x7f66ed9b50e6] -

Re: [Dovecot] Crash while moving mail between private folder and shared folder

2013-03-27 Thread kadafax

Hi,

Just to bump the OP message as I experience the exact same symptom with 
the same configuration. That is: when moving an email to a virtual 
mailboxes, dovecot crash (and sometime the email disappears from the 
real mailbox).


Thx

Le 23/03/13 10:03, Christian Felsing a écrit :

Hello,

while moving a mail from a private folder (inbox) to a shared folder and
back to private folder Dovecot 2.2rc3 crashes:

---cut here---
Mar 23 09:57:44 dovecot dovecot: imap-login: Login:
user=john@example.net, method=PLAIN, rip=192.168.200.6,
lip=192.168.200.22, mpid=19423, TLS
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Panic: file
mail-namespace.c: line 654 (mail_namespace_find): assertion failed: (ns
!= NULL)
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Error: Raw
backtrace: /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x608fa)
[0x7f82f65b28fa] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x6093e)
[0x7f82f65b293e] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f82f657435b] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0)
[0x7f82f686b590] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0x19)
[0x7f82f686b5a9] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0x57bd)
[0x7f82f51127bd] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_test_alloc+0xcb)
[0x7f82f511424b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_try_alloc+0x3d)
[0x7f82f511445d] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0xb00b)
[0x7f82f511800b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib01_acl_plugin.so(+0xc7cb)
[0x7f82f552d7cb] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x5f)
[0x7f82f687274f] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x10)
[0x7f82f6872810] - dovecot-01/imap() [0x40d29d] -
dovecot-01/imap(command_exec+0x3c) [0x4161ec] - dovecot-01/imap()
[0x415250] - dovecot-01/imap() [0x41530a] -
dovecot-01/imap(client_handle_input+0x115) [0x4155c5] -
dovecot-01/imap(client_input+0x72) [0x415972] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36)
[0x7f82f65c20e6] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
[0x7f82f65c2f37] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_run+0x28)
[0x7f82f65c1c28] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f82f6579473]
- dovecot-01/imap(main+0x270) [0x40b950] -
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f82f61e6ead]
- dovecot-01/imap() [0x40baad]
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Fatal:
master: service(imap): child 19423 killed with signal 6 (core dumps
disabled)
Mar 23 09:57:44 dovecot dovecot: imap-login: Login:
user=john@example.net, method=PLAIN, rip=192.168.200.6,
lip=192.168.200.22, mpid=19425, TLS
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Panic: file
mail-namespace.c: line 654 (mail_namespace_find): assertion failed: (ns
!= NULL)
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Error: Raw
backtrace: /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x608fa)
[0x7f66ed9a58fa] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x6093e)
[0x7f66ed9a593e] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f66ed96735b] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0)
[0x7f66edc5e590] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0x19)
[0x7f66edc5e5a9] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0x57bd)
[0x7f66ec5057bd] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_test_alloc+0xcb)
[0x7f66ec50724b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_try_alloc+0x3d)
[0x7f66ec50745d] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0xb00b)
[0x7f66ec50b00b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib01_acl_plugin.so(+0xc7cb)
[0x7f66ec9207cb] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x5f)
[0x7f66edc6574f] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x10)
[0x7f66edc65810] - dovecot-01/imap() [0x40d29d] -
dovecot-01/imap(command_exec+0x3c) [0x4161ec] - dovecot-01/imap()
[0x415250] - dovecot-01/imap() [0x41530a] -
dovecot-01/imap(client_handle_input+0x115) [0x4155c5] -
dovecot-01/imap(client_input+0x72) [0x415972] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36)
[0x7f66ed9b50e6] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
[0x7f66ed9b5f37] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_run+0x28)
[0x7f66ed9b4c28] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f66ed96c473]
- dovecot-01/imap(main+0x270) [0x40b950] -
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f66ed5d9ead]
- 

[Dovecot] Crash while moving mail between private folder and shared folder

2013-03-23 Thread Christian Felsing
Hello,

while moving a mail from a private folder (inbox) to a shared folder and
back to private folder Dovecot 2.2rc3 crashes:

---cut here---
Mar 23 09:57:44 dovecot dovecot: imap-login: Login:
user=john@example.net, method=PLAIN, rip=192.168.200.6,
lip=192.168.200.22, mpid=19423, TLS
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Panic: file
mail-namespace.c: line 654 (mail_namespace_find): assertion failed: (ns
!= NULL)
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Error: Raw
backtrace: /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x608fa)
[0x7f82f65b28fa] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x6093e)
[0x7f82f65b293e] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f82f657435b] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0)
[0x7f82f686b590] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0x19)
[0x7f82f686b5a9] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0x57bd)
[0x7f82f51127bd] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_test_alloc+0xcb)
[0x7f82f511424b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_try_alloc+0x3d)
[0x7f82f511445d] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0xb00b)
[0x7f82f511800b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib01_acl_plugin.so(+0xc7cb)
[0x7f82f552d7cb] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x5f)
[0x7f82f687274f] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x10)
[0x7f82f6872810] - dovecot-01/imap() [0x40d29d] -
dovecot-01/imap(command_exec+0x3c) [0x4161ec] - dovecot-01/imap()
[0x415250] - dovecot-01/imap() [0x41530a] -
dovecot-01/imap(client_handle_input+0x115) [0x4155c5] -
dovecot-01/imap(client_input+0x72) [0x415972] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36)
[0x7f82f65c20e6] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
[0x7f82f65c2f37] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_run+0x28)
[0x7f82f65c1c28] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f82f6579473]
- dovecot-01/imap(main+0x270) [0x40b950] -
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f82f61e6ead]
- dovecot-01/imap() [0x40baad]
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Fatal:
master: service(imap): child 19423 killed with signal 6 (core dumps
disabled)
Mar 23 09:57:44 dovecot dovecot: imap-login: Login:
user=john@example.net, method=PLAIN, rip=192.168.200.6,
lip=192.168.200.22, mpid=19425, TLS
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Panic: file
mail-namespace.c: line 654 (mail_namespace_find): assertion failed: (ns
!= NULL)
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Error: Raw
backtrace: /opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x608fa)
[0x7f66ed9a58fa] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(+0x6093e)
[0x7f66ed9a593e] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f66ed96735b] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0)
[0x7f66edc5e590] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mail_namespace_find_unalias+0x19)
[0x7f66edc5e5a9] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0x57bd)
[0x7f66ec5057bd] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_test_alloc+0xcb)
[0x7f66ec50724b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(quota_try_alloc+0x3d)
[0x7f66ec50745d] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib10_quota_plugin.so(+0xb00b)
[0x7f66ec50b00b] -
/opt/dovecot-2.2.rc3/lib/dovecot/lib01_acl_plugin.so(+0xc7cb)
[0x7f66ec9207cb] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x5f)
[0x7f66edc6574f] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x10)
[0x7f66edc65810] - dovecot-01/imap() [0x40d29d] -
dovecot-01/imap(command_exec+0x3c) [0x4161ec] - dovecot-01/imap()
[0x415250] - dovecot-01/imap() [0x41530a] -
dovecot-01/imap(client_handle_input+0x115) [0x4155c5] -
dovecot-01/imap(client_input+0x72) [0x415972] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36)
[0x7f66ed9b50e6] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
[0x7f66ed9b5f37] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(io_loop_run+0x28)
[0x7f66ed9b4c28] -
/opt/dovecot-2.2.rc3/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f66ed96c473]
- dovecot-01/imap(main+0x270) [0x40b950] -
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f66ed5d9ead]
- dovecot-01/imap() [0x40baad]
Mar 23 09:57:44 dovecot dovecot: imap(john@example.net): Fatal:
master: service(imap): child 19425 killed with signal 6 (core dumps
disabled)
Mar 23 09:57:46 dovecot dovecot: imap(john@example.net):
Disconnected: Logged out in=192 out=1118
---cut here---