Re: [Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-07-10 Thread Marcin Mirosław
W dniu 10.07.2013 05:56, Timo Sirainen pisze:
> After thinking about it enough and not seeing any simple fix for the crash, I 
> did some larger changes to hg which fix this. There's an easy workaround 
> though: Explicitly configure a hierarchy separator for the imapc namespaces.

Hi Timo, hi all!
Thank you, I've applied three patches and now dovecot works without
problem.  Even more! It looks that "ignore_on_failure = yes" works
better now:)
Regards,
Marcin


Re: [Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-07-09 Thread Timo Sirainen
After thinking about it enough and not seeing any simple fix for the crash, I 
did some larger changes to hg which fix this. There's an easy workaround 
though: Explicitly configure a hierarchy separator for the imapc namespaces.

On 26.6.2013, at 14.16, Marcin Mirosław  wrote:

> Hi all!
> I just upgraded dovecot from 2.2.2 to 2.2.4. Now I can't login to imap,
> proces imap throws segfault. Here is snip from dovecot.log:
> 
> 2013-06-25T23:06:47.824321+02:00 meteor dovecot: imap-login: Login:
> user=, method=PLAIN,
> rip=2001:470:1f0b:1ab3:1bc:3b24:d355:b142, lip=2001:470:1f15:1b61::2,
> mpid=44562, TLS, session=
> 2013-06-25T23:06:47.827616+02:00 meteor dovecot: imap(mar...@mejor.pl)
> : Warning: autocreate plugin is
> deprecated, use mailbox { auto } setting instead
> 2013-06-25T23:06:47.830425+02:00 meteor dovecot: imap(mar...@mejor.pl)
> : Fatal: master: service(imap): child
> 44562 killed with signal 11 (core dumped)
> 
> Here is bt created using gdb:
> Reading symbols from /usr/libexec/dovecot/imap...Reading symbols from
> /usr/lib64/debug/usr/libexec/dovecot/imap.debug...done.
> done.
> [New LWP 17730]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `dovecot/imap'.
> Program terminated with signal 11, Segmentation fault.
> #0  imapc_storage_try_get_root_sep (storage=0x0, sep_r=0x3f7bad9bbd7 "")
> at imapc-storage.c:229
> 229 i_assert(storage->list != NULL);
> (gdb)
> Thread 1 (Thread 0x38656679700 (LWP 17730)):
> #0  imapc_storage_try_get_root_sep (storage=0x0, sep_r=0x3f7bad9bbd7 "")
> at imapc-storage.c:229
> #1  0x0386567b8b05 in imapc_list_get_hierarchy_sep (_list= out>) at imapc-list.c:196
> #2  0x0386567b8fff in imapc_list_get_fs_name (list=0xdba28f030,
> name=0x0) at imapc-list.c:282
> #3  0x0386567b9291 in imapc_list_get_path (_list=,
> name=0x0, type=MAILBOX_LIST_PATH_TYPE_MAILBOX, path_r=0x3f7bad9bcc8)
>at imapc-list.c:323
> #4  0x0386567db675 in mailbox_list_get_root_path (list= out>, type=, path_r=0x3f7bad9bcc8) at mailbox-list.c:1258
> #5  0x038655c75d15 in quota_add_user_namespace (quota=0xdba288e80,
> ns=0xdba28eee0) at quota.c:704
> #6  0x038655c7d0ea in quota_mailbox_list_created (list=0xdba292480)
> at quota-storage.c:590
> #7  0x0386567d64d2 in hook_mailbox_list_created (list=0xdba292480)
> at mail-storage-hooks.c:319
> #8  0x0386567da297 in mailbox_list_create (driver=,
> ns=0xdba28eee0, set=0x3f7bad9be20, flags=,
> list_r=0xdba28f228,
>error_r=0x3f7bad9be80) at mailbox-list.c:206
> #9  0x0386567b8f63 in imapc_list_get_fs (list=0xdba28f030) at
> imapc-list.c:265
> #10 0x0386567b927e in imapc_list_get_path (_list=,
> name=0x0, type=MAILBOX_LIST_PATH_TYPE_MAILBOX, path_r=0x3f7bad9bf18)
>at imapc-list.c:319
> #11 0x0386567db675 in mailbox_list_get_root_path (list= out>, type=, path_r=0x3f7bad9bf18) at mailbox-list.c:1258
> #12 0x038655c75d15 in quota_add_user_namespace (quota=0xdba288e80,
> ns=0xdba28eee0) at quota.c:704
> #13 0x038655c7d0ea in quota_mailbox_list_created (list=0xdba28f030)
> at quota-storage.c:590
> #14 0x0386567d64d2 in hook_mailbox_list_created (list=0xdba28f030)
> at mail-storage-hooks.c:319
> #15 0x0386567da297 in mailbox_list_create (driver=,
> ns=0xdba28eee0, set=0x3f7bad9c090, flags=,
> list_r=0x3f7bad9c0e8,
>error_r=0x3f7bad9c1a0) at mailbox-list.c:206
> #16 0x0386567d15c1 in mail_storage_create_full (ns=0xdba28eee0,
> driver=, data=, flags=(unknown: 0),
>storage_r=0x3f7bad9c150, error_r=0x3f7bad9c1a0) at mail-storage.c:356
> #17 0x0386567d181c in mail_storage_create (ns=,
> driver=, flags=, error_r=)
>at mail-storage.c:407
> #18 0x0386567c9b25 in namespace_add (user=0xdba283e90,
> ns_set=, unexpanded_ns_set=0xdba284668,
> mail_set=0xdba284f98, ns_p=0xdba28c5b0,
>error_r=0x3f7bad9c300) at mail-namespace.c:170
> #19 0x0386567caba7 in mail_namespaces_init (user=0xdba283e90,
> error_r=0x3f7bad9c300) at mail-namespace.c:344
> #20 0x0386567e1acf in mail_storage_service_init_post
> (error_r=0x3f7bad9c300, mail_user_r=0x3f7bad9c3d0, priv=0x3f7bad9c2d0,
> user=0xdba272c38,
>ctx=) at mail-storage-service.c:653
> #21 mail_storage_service_next (ctx=, user=0xdba272c38,
> mail_user_r=0x3f7bad9c3d0) at mail-storage-service.c:1158
> #22 0x0386567e1e35 in mail_storage_service_lookup_next
> (ctx=0xdba26e4b0, input=, user_r=0x3f7bad9c3c8,
> mail_user_r=0x3f7bad9c3d0,
>error_r=0x3f7bad9c430) at mail-storage-service.c:1193
> #23 0x000db6f824e9 in client_create_from_input (input=0x3f7bad9c440,
> login_client=0xdba270660, fd_in=12, fd_out=12, input_buf=0x3f7bad9c4b0,
>error_r=) at main.c:204
> #24 0x000db6f827f7 in login_client_connected (client=0xdba270660,
> username=, extra_fields=) at main.c:277
> #25 0x0386566a97e6 in master_login_auth_finish (client=0xdba270660,
> auth_args=) at master-login.c:209
> #26 0x0386566a9b45 in master_login_auth_

Re: [Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-07-05 Thread Axel Luttgens
Le 28 juin 2013 à 15:48, Marcin Mirosław a écrit :

> [...]
> 
> I have fixed configuration. Sadly, dovecot still throws segfaults.

Hello Marcin,

Do you still encounter the problem?
FYI, just upgraded from 2.2.3 to 2.2.4 here, without any obvious ill effect wrt 
imap sessions.

Axel



Re: [Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-06-28 Thread Marcin Mirosław
W dniu 28.06.2013 14:56, Axel Luttgens pisze:
> Le 26 juin 2013 à 13:16, Marcin Mirosław a écrit :
> 
>> Hi all!
>> I just upgraded dovecot from 2.2.2 to 2.2.4. Now I can't login to imap,
>> proces imap throws segfault. Here is snip from dovecot.log:
>>
>> [...]
>> 2013-06-25T23:06:47.827616+02:00 meteor dovecot: imap(mar...@mejor.pl)
>> : Warning: autocreate plugin is
>> deprecated, use mailbox { auto } setting instead
>> [...]
> 
> Hello Marcin,

Hi Axel,

> Perhaps is it worth to try what the log suggests?

Perhaps you are right:) But I don't suspect that throwing segfaults is
the best way to remind about it;)

> IIRC, it's quite a long time now that autocreate's deprecation has been 
> announced.

I have fixed configuration. Sadly, dovecot still throws segfaults.
Regards!
Marcin


Re: [Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-06-28 Thread Axel Luttgens
Le 26 juin 2013 à 13:16, Marcin Mirosław a écrit :

> Hi all!
> I just upgraded dovecot from 2.2.2 to 2.2.4. Now I can't login to imap,
> proces imap throws segfault. Here is snip from dovecot.log:
> 
> [...]
> 2013-06-25T23:06:47.827616+02:00 meteor dovecot: imap(mar...@mejor.pl)
> : Warning: autocreate plugin is
> deprecated, use mailbox { auto } setting instead
> [...]

Hello Marcin,

Perhaps is it worth to try what the log suggests?
IIRC, it's quite a long time now that autocreate's deprecation has been 
announced.

HTH,
Axel



[Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-06-26 Thread Marcin Mirosław
Hi all!
I just upgraded dovecot from 2.2.2 to 2.2.4. Now I can't login to imap,
proces imap throws segfault. Here is snip from dovecot.log:

2013-06-25T23:06:47.824321+02:00 meteor dovecot: imap-login: Login:
user=, method=PLAIN,
rip=2001:470:1f0b:1ab3:1bc:3b24:d355:b142, lip=2001:470:1f15:1b61::2,
mpid=44562, TLS, session=
2013-06-25T23:06:47.827616+02:00 meteor dovecot: imap(mar...@mejor.pl)
: Warning: autocreate plugin is
deprecated, use mailbox { auto } setting instead
2013-06-25T23:06:47.830425+02:00 meteor dovecot: imap(mar...@mejor.pl)
: Fatal: master: service(imap): child
44562 killed with signal 11 (core dumped)

Here is bt created using gdb:
Reading symbols from /usr/libexec/dovecot/imap...Reading symbols from
/usr/lib64/debug/usr/libexec/dovecot/imap.debug...done.
done.
[New LWP 17730]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `dovecot/imap'.
Program terminated with signal 11, Segmentation fault.
#0  imapc_storage_try_get_root_sep (storage=0x0, sep_r=0x3f7bad9bbd7 "")
at imapc-storage.c:229
229 i_assert(storage->list != NULL);
(gdb)
Thread 1 (Thread 0x38656679700 (LWP 17730)):
#0  imapc_storage_try_get_root_sep (storage=0x0, sep_r=0x3f7bad9bbd7 "")
at imapc-storage.c:229
#1  0x0386567b8b05 in imapc_list_get_hierarchy_sep (_list=) at imapc-list.c:196
#2  0x0386567b8fff in imapc_list_get_fs_name (list=0xdba28f030,
name=0x0) at imapc-list.c:282
#3  0x0386567b9291 in imapc_list_get_path (_list=,
name=0x0, type=MAILBOX_LIST_PATH_TYPE_MAILBOX, path_r=0x3f7bad9bcc8)
at imapc-list.c:323
#4  0x0386567db675 in mailbox_list_get_root_path (list=, type=, path_r=0x3f7bad9bcc8) at mailbox-list.c:1258
#5  0x038655c75d15 in quota_add_user_namespace (quota=0xdba288e80,
ns=0xdba28eee0) at quota.c:704
#6  0x038655c7d0ea in quota_mailbox_list_created (list=0xdba292480)
at quota-storage.c:590
#7  0x0386567d64d2 in hook_mailbox_list_created (list=0xdba292480)
at mail-storage-hooks.c:319
#8  0x0386567da297 in mailbox_list_create (driver=,
ns=0xdba28eee0, set=0x3f7bad9be20, flags=,
list_r=0xdba28f228,
error_r=0x3f7bad9be80) at mailbox-list.c:206
#9  0x0386567b8f63 in imapc_list_get_fs (list=0xdba28f030) at
imapc-list.c:265
#10 0x0386567b927e in imapc_list_get_path (_list=,
name=0x0, type=MAILBOX_LIST_PATH_TYPE_MAILBOX, path_r=0x3f7bad9bf18)
at imapc-list.c:319
#11 0x0386567db675 in mailbox_list_get_root_path (list=, type=, path_r=0x3f7bad9bf18) at mailbox-list.c:1258
#12 0x038655c75d15 in quota_add_user_namespace (quota=0xdba288e80,
ns=0xdba28eee0) at quota.c:704
#13 0x038655c7d0ea in quota_mailbox_list_created (list=0xdba28f030)
at quota-storage.c:590
#14 0x0386567d64d2 in hook_mailbox_list_created (list=0xdba28f030)
at mail-storage-hooks.c:319
#15 0x0386567da297 in mailbox_list_create (driver=,
ns=0xdba28eee0, set=0x3f7bad9c090, flags=,
list_r=0x3f7bad9c0e8,
error_r=0x3f7bad9c1a0) at mailbox-list.c:206
#16 0x0386567d15c1 in mail_storage_create_full (ns=0xdba28eee0,
driver=, data=, flags=(unknown: 0),
storage_r=0x3f7bad9c150, error_r=0x3f7bad9c1a0) at mail-storage.c:356
#17 0x0386567d181c in mail_storage_create (ns=,
driver=, flags=, error_r=)
at mail-storage.c:407
#18 0x0386567c9b25 in namespace_add (user=0xdba283e90,
ns_set=, unexpanded_ns_set=0xdba284668,
mail_set=0xdba284f98, ns_p=0xdba28c5b0,
error_r=0x3f7bad9c300) at mail-namespace.c:170
#19 0x0386567caba7 in mail_namespaces_init (user=0xdba283e90,
error_r=0x3f7bad9c300) at mail-namespace.c:344
#20 0x0386567e1acf in mail_storage_service_init_post
(error_r=0x3f7bad9c300, mail_user_r=0x3f7bad9c3d0, priv=0x3f7bad9c2d0,
user=0xdba272c38,
ctx=) at mail-storage-service.c:653
#21 mail_storage_service_next (ctx=, user=0xdba272c38,
mail_user_r=0x3f7bad9c3d0) at mail-storage-service.c:1158
#22 0x0386567e1e35 in mail_storage_service_lookup_next
(ctx=0xdba26e4b0, input=, user_r=0x3f7bad9c3c8,
mail_user_r=0x3f7bad9c3d0,
error_r=0x3f7bad9c430) at mail-storage-service.c:1193
#23 0x000db6f824e9 in client_create_from_input (input=0x3f7bad9c440,
login_client=0xdba270660, fd_in=12, fd_out=12, input_buf=0x3f7bad9c4b0,
error_r=) at main.c:204
#24 0x000db6f827f7 in login_client_connected (client=0xdba270660,
username=, extra_fields=) at main.c:277
#25 0x0386566a97e6 in master_login_auth_finish (client=0xdba270660,
auth_args=) at master-login.c:209
#26 0x0386566a9b45 in master_login_auth_callback
(auth_args=0xdba264ee8, errormsg=0x0, context=) at
master-login.c:377
#27 0x0386566aa558 in master_login_auth_input_user (args=, auth=) at master-login-auth.c:243
#28 master_login_auth_input (auth=0xdba26fa10) at master-login-auth.c:363
#29 0x038656704cf6 in io_loop_call_io (io=0xdba2709f0) at ioloop.c:387
#30 0x038656705f0f in io_loop_handler_run (ioloop=)
at ioloop-epoll.c:215
#31 0x0386567046f0 in io_loop_run (ioloop=0xdba26d2b0) at ioloop.c