Got it. Here is full backtrace output.
# gdb /usr/local/libexec/dovecot/imap 1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Attaching to program: /usr/local/libexec/dovecot/imap, process 1 ptrace: Invalid argument. Core was generated by `imap'. Program terminated with signal 6, Aborted. Reading symbols from /usr/local/lib/dovecot/libdovecot-lda.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/libdovecot-lda.so.0 Reading symbols from /usr/local/lib/dovecot/libdovecot-storage.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/libdovecot-storage.so.0 Reading symbols from /usr/local/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/lib/libkrb5.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libkrb5.so.11 Reading symbols from /usr/lib/libgssapi.so.10...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgssapi.so.10 Reading symbols from /usr/lib/libgssapi_krb5.so.10...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgssapi_krb5.so.10 Reading symbols from /usr/lib/libasn1.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libasn1.so.11 Reading symbols from /usr/lib/libcom_err.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcom_err.so.5 Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /lib/libcrypto.so.8...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.8 Reading symbols from /usr/lib/libhx509.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libhx509.so.11 Reading symbols from /usr/lib/libroken.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libroken.so.11 Reading symbols from /usr/lib/libwind.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libwind.so.11 Reading symbols from /usr/lib/libheimbase.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libheimbase.so.11 Reading symbols from /usr/lib/libprivateheimipcc.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libprivateheimipcc.so.11 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /usr/local/lib/dovecot/lib01_acl_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/lib01_acl_plugin.so Reading symbols from /usr/local/lib/dovecot/lib02_imap_acl_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/lib02_imap_acl_plugin.so Reading symbols from /usr/local/lib/dovecot/lib10_quota_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/lib10_quota_plugin.so Reading symbols from /usr/local/lib/dovecot/lib11_imap_quota_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/lib11_imap_quota_plugin.so Reading symbols from /usr/local/lib/dovecot/lib11_trash_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/lib11_trash_plugin.so Reading symbols from /usr/local/lib/dovecot/lib90_antispam_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/lib90_antispam_plugin.so Reading symbols from /usr/local/lib/compat/pkg/nss_winbind.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/compat/pkg/nss_winbind.so.1 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000001117655a in thr_kill () from /lib/libc.so.7 [New Thread 13616000 (LWP 100216/<unknown>)] (gdb) bt #0 0x000000001117655a in thr_kill () from /lib/libc.so.7 #1 0x000000001117652b in raise () from /lib/libc.so.7 #2 0x0000000011176499 in abort () from /lib/libc.so.7 #3 0x0000000010e2af54 in default_error_handler () from /usr/local/lib/dovecot/libdovecot.so.0 #4 0x0000000010e2bc5b in i_set_failure_ignore_errors () from /usr/local/lib/dovecot/libdovecot.so.0 #5 0x0000000010e2b1f9 in i_fatal () from /usr/local/lib/dovecot/libdovecot.so.0 #6 0x0000000010aa190a in mail_namespace_find () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #7 0x000000001402e7e2 in trash_plugin_deinit () from /usr/local/lib/dovecot/lib11_trash_plugin.so #8 0x0000000010aaf20b in hook_mail_user_created () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #9 0x0000000010ab374f in mail_user_init () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #10 0x0000000010ab1c52 in mail_storage_service_next () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #11 0x0000000010ab2435 in mail_storage_service_lookup_next () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #12 0x0000000000425896 in client_create_from_input () #13 0x0000000000425fb2 in main () (gdb) bt full #0 0x000000001117655a in thr_kill () from /lib/libc.so.7 No symbol table info available. #1 0x000000001117652b in raise () from /lib/libc.so.7 No symbol table info available. #2 0x0000000011176499 in abort () from /lib/libc.so.7 No symbol table info available. #3 0x0000000010e2af54 in default_error_handler () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #4 0x0000000010e2bc5b in i_set_failure_ignore_errors () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #5 0x0000000010e2b1f9 in i_fatal () from /usr/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #6 0x0000000010aa190a in mail_namespace_find () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #7 0x000000001402e7e2 in trash_plugin_deinit () from /usr/local/lib/dovecot/lib11_trash_plugin.so No symbol table info available. #8 0x0000000010aaf20b in hook_mail_user_created () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #9 0x0000000010ab374f in mail_user_init () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #10 0x0000000010ab1c52 in mail_storage_service_next () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #11 0x0000000010ab2435 in mail_storage_service_lookup_next () from /usr/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #12 0x0000000000425896 in client_create_from_input () No symbol table info available. #13 0x0000000000425fb2 in main () No symbol table info available. (gdb) quit
Aki Tuomi писал 2017-02-28 18:34:
Your backtrace would've been informative already if you had issued bt full. Just opening it with gdb is not sufficient.
-- With best regards, Max Kostikov
BBM: 24CA5DF8 | W: https://kostikov.co