Am 06.08.2010 um 19:39 schrieb Timo Sirainen:
If you can easily reproduce it, then you could attach gdb into lmtp process and get the backtrace from there:
gdb -p
pidof lmtp
cont <make it crash> bt full
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Attaching to process 12841 Reading symbols from /usr/lib/dovecot/lmtp...Reading symbols from /usr/lib/debug/usr/lib/dovecot/lmtp...done. done. Reading symbols from /usr/lib/dovecot/libdovecot-storage.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot-storage.so.0.0.0...done. done. Loaded symbols for /usr/lib/dovecot/libdovecot-storage.so.0 Reading symbols from /usr/lib/dovecot/libdovecot-lda.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot-lda.so.0.0.0...done. done. Loaded symbols for /usr/lib/dovecot/libdovecot-lda.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot.so.0.0.0...done. done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0x7ffa65801700 (LWP 12841)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/lib/dovecot/modules/lib01_acl_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib01_acl_plugin.so...done. done. Loaded symbols for /usr/lib/dovecot/modules/lib01_acl_plugin.so Reading symbols from /usr/lib/dovecot/modules/lib10_quota_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib10_quota_plugin.so...done. done. Loaded symbols for /usr/lib/dovecot/modules/lib10_quota_plugin.so Reading symbols from /usr/lib/dovecot/modules/lib90_sieve_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib90_sieve_plugin.so...done. done. Loaded symbols for /usr/lib/dovecot/modules/lib90_sieve_plugin.so Reading symbols from /usr/lib/dovecot/libdovecot-sieve.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot-sieve.so.0.0.0...done. done. Loaded symbols for /usr/lib/dovecot/libdovecot-sieve.so.0 0x00007ffa648015f3 in epoll_wait () from /lib/libc.so.6 (gdb) cont Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffa65801700 (LWP 12841)]
acl_mail_namespace_storage_added (ns=0xd33e10) at acl-mailbox-list.c:509
509 acl-mailbox-list.c: No such file or directory.
in acl-mailbox-list.c
(gdb) bt full
#0 acl_mail_namespace_storage_added (ns=0xd33e10) at acl-mailbox-list.c:509
auser = <value optimized out>
backend = <value optimized out>
current_username = 0xd36268 "raw user"
owner_username = <value optimized out>
owner = <value optimized out>
#1 0x00007ffa65351829 in hook_mail_namespace_storage_added (ns=0xd33e10) at mail-storage-hooks.c:256
hooks__foreach_end = (const void *) 0xd371a0
hooks = (const struct mail_storage_hooks * const *) 0xd37180
#2 0x00007ffa65351274 in mail_storage_create (ns=0xd33e10, driver=0xcf0e58 "=�