[Dovecot] problems with doveadm

listserv listserv at xtlv.cn
Mon Aug 5 18:36:31 EEST 2013


> 
> On 3.8.2013, at 14.25, listserv <listserv at 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 at xtlv.jp", session_id = 0x0, local_ip = {family = 0, u = {ip6 =
{__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0,
                    0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr
= 0}}}, remote_ip = {family = 0, u = {ip6 = {__in6_u = {__u6_addr8 = '\000'
<repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
                  __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}},
local_port = 0, remote_port = 0, userdb_fields = 0x0, flags_override_add =
(unknown: 0), flags_override_remove = (unknown: 0), no_userdb_lookup = 0}
        user_idx = 0
        user = 0x80bf070 "admin at xtlv.jp"
        error = 0xb7e6f2f0 ""
#4  doveadm_mail_cmd (argv=<optimized out>, argc=<optimized out>,
cmd=0xbffff5ac) at doveadm-mail.c:523
        ctx = 0x80b53f0
        getopt_args = <optimized out>
        ret = <optimized out>
        c = <optimized out>
        wildcard_user = 0x0
        error = <optimized out>
#5  doveadm_mail_try_run (cmd_name=cmd_name at entry=0x80b1209 "expunge",
argc=argc at entry=6, argv=argv at entry=0x80b11dc) at doveadm-mail.c:608
        cmd = 0xbffff5ac
#6  0x08056b26 in main (argc=6, argv=0x80b11dc) at doveadm.c:398
        cmd_name = <optimized out>
        i = <optimized out>
        quick_init = false
        c = <optimized out>

--
中華人民共和國


More information about the dovecot mailing list