On 3.8.2013, at 14.25, listserv listserv@xtlv.cn wrote:
doveadm expunge -A mailbox Trash savedbefore 7d => kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4 in libdovecot.so.0.0.0[b7585000+c8000]
gdb backtrace would be useful, for example:
gdb --args doveadm expunge -A mailbox Trash savedbefore 7d run bt full
Thank you for your advice.
Here the backtrace:
gdb --args doveadm expunge -A mailbox Trash savedbefore 7d GNU gdb (GDB) 7.6 (Debian 7.6-5) Copyright (C) 2013 Free Software Foundation, Inc. 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 "i486-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/doveadm...Reading symbols from /usr/lib/debug/usr/bin/doveadm...done. done. (gdb) run Starting program: /usr/bin/doveadm expunge -A mailbox Trash savedbefore 7d warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
i_stream_next_line (stream=0x0) at istream.c:382
382 istream.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0 i_stream_next_line (stream=0x0) at istream.c:382
_stream = <optimized out>
pos = <optimized out>
#1 0xb7dfbd01 in auth_master_user_list_next (ctx=0x80bf668) at auth-master.c:694
line = <optimized out>
#2 0xb7ef72cb in mail_storage_service_all_next (ctx=0x80b8f60,
username_r=0xbffff550) at mail-storage-service.c:1294
__FUNCTION__ = "mail_storage_service_all_next"
#3 0x08057db5 in doveadm_mail_all_users (wildcard_user=0x0, argv=<optimized
out>, ctx=0x80b53f0) at doveadm-mail.c:368
ret = <optimized out>
input = {module = 0x0, service = 0x8092f63 "doveadm", username =
0x80bf070 "admin@xtlv.jp", session_id = 0x0, local_ip = {family = 0, u = {ip6 =
{__in6_u = {__u6_addr8 = '\000'
-- 中華人民共和國