limit coredumpsize unlimited cd /data/mail/Domains/my.domain.com/Accounts/testuser service dovecot-custom restart
Oct 15 09:23:37 master: Info: Dovecot v2.0.alpha1 starting up
login with TBird,
Oct 15 09:25:12 master: Error: service(imap): child 6626 killed with signal 11 (core dumped) Oct 15 09:25:12 mx kernel: imap[6626]: segfault at 0 ip 00007f9d752a5133 sp 00007fffe2288c50 error 4 in lib10_quota_plugin.so[7f9d7529b000+e000]
gdb /usr/local/libexec/dovecot/imap ./core
(gdb) bt full #0 0x00007f9d752a5133 in maildir_quota_namespace_added (quota=0x62fe30, ns=0x630270) at quota-maildir.c:786 No locals. #1 0x00007f9d752a1283 in quota_add_user_namespace (quota=0x62fe30, ns=0x630270) at quota.c:575 backends = <value optimized out> path = 0x61fa30 "/data/mail/Domains/my.domain.com/Accounts/testuser" path2 = <value optimized out> i = 0 j = 8 #2 0x00007f9d752a5900 in quota_mailbox_list_created (list=0x630348) at quota-storage.c:569 qlist = <value optimized out> quota = (struct quota *) 0x7f9d752a785f root = (struct quota_root *) 0x630270 #3 0x00007f9d760c2d75 in mailbox_list_create (driver=<value optimized out>, ns=0x630270, set=0x7fffe2288df0, flags=<value optimized out>, error_r=0x7fffe2288ed8) at mailbox-list.c:180 list = <value optimized out> path = <value optimized out> idx = 2 __PRETTY_FUNCTION__ = "mailbox_list_create" #4 0x00007f9d760bfa46 in mail_storage_create (ns=0x630270, driver=0x61f820 "maildir", flags=<value optimized out>, error_r=0x7fffe2288ed8) at mail-storage.c:271 storage_class = (struct mail_storage *) 0x7f9d76349be0 storage = <value optimized out> list_set = {layout = 0x61f876 "fs", root_dir = 0x61f828 "/data/mail/Domains/my.domain.com/Accounts/testuser", index_dir = 0x0, control_dir = 0x0, alt_dir = 0x0, inbox_path = 0x61f828 "/data/mail/Domains/my.domain.com/Accounts/testuser", subscription_fname = 0x7f9d76134e06 "subscriptions", dir_guid_fname = 0x7f9d76131e6c "dovecot-dir-guid", maildir_name = 0x0, mailbox_dir_name = 0x0} data = 0x63c5a8 "maildir:/data/mail/Domains/my.domain.com/Accounts/testuser:LAYOUT=fs" p = <value optimized out> __PRETTY_FUNCTION__ = "mail_storage_create" #5 0x00007f9d760badb4 in mail_namespaces_init (user=0x63b2f8, error_r=0x7fffe2289000) at mail-namespace.c:130 mail_set = (const struct mail_storage_settings *) 0x63bbe0 namespaces = (struct mail_namespace *) 0x0 ns = <value optimized out> ns_p = (struct mail_namespace **) 0x7fffe2288ee8 inbox_set = <value optimized out> error = <value optimized out> driver = <value optimized out> location_source = <value optimized out> i = 0 count = 3 __PRETTY_FUNCTION__ = "mail_namespaces_init" #6 0x00007f9d760c4bae in mail_storage_service_init_post (service=0x627370, input=0x7fffe2288fc0, home=0x7fffe228aef4 "/data/mail/Domains/my.domain.com/Accounts/testuser", user_set=0x629428, setuid_root=false, flags=17, mail_user_r=0x7fffe2289020, error_r=0x7fffe2289000) at mail-storage-service.c:395 mail_set = (const struct mail_storage_settings *) 0x6294b8 mail_user = (struct mail_user *) 0x63b2f8 #7 0x00007f9d760c5a20 in mail_storage_service_init_user (service=0x627370, _input=<value optimized out>, set_roots=<value optimized out>, flags=17) at mail-storage-service.c:596 _data_stack_cur_id = 2 user = <value optimized out> #8 0x0000000000417d07 in main (argc=1, argv=0x7fffe22891e8, envp=0x7fffe22891f8) at main.c:217 ---Type <return> to continue, or q <return> to quit--- set_roots = {0x61e980, 0x0} service_flags = <value optimized out> storage_service_flags = 17 input = {module = 0x41b2b7 "imap", service = 0x41b2b7 "imap", username = 0x7fffe228aecd "testuser@my.domain.com", local_ip = {family = 2, u = {ip6 = {in6_u = { u6_addr8 = "¬\036\vj", '\0' <repeats 11 times>, u6_addr16 = {7852, 27147, 0, 0, 0, 0, 0, 0}, u6_addr32 = {1779113644, 0, 0, 0}}}, ip4 = {s_addr = 1779113644}}}, remote_ip = {family = 2, u = {ip6 = { in6_u = {u6_addr8 = "¬\036\v\006", '\0' <repeats 11 times>, u6_addr16 = {7852, 1547, 0, 0, 0, 0, 0, 0}, u6_addr32 = {101392044, 0, 0, 0}}}, ip4 = {s_addr = 101392044}}}} mail_user = <value optimized out> set = <value optimized out> dump_capability = false value = <value optimized out> c = <value optimized out> (gdb)