[Dovecot] Help! Uidlist files are gone and won't come back; imap keeps coredumping!

Mario Nigrovic-rvvk40 Mario.Nigrovic at freescale.com
Thu Jun 1 21:03:11 EEST 2006


Timo Sirainen wrote:
> On Thu, 2006-06-01 at 07:59 -0700, Mario Nigrovic-rvvk40 wrote:
>> 29146:  open64("/home/mario/.mail/Maildir/.Freescale.ATIC.CMOS65/dovecot-uidlist", O_RDONLY) Err#2 ENOENT
>> 29146:      Incurred fault #6, FLTBOUNDS  %pc = 0xFF133218
>> 29146:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> 
> The missing uidlist isn't directly the problem. Rather it crashes while
> trying to start maildir syncing (or something).
> 
> Since this works for most other people, it's difficult to start guessing
> why it could crash. If you could get gdb backtrace of the crash it would
> help a lot in fixing it. See http://dovecot.org/bugreport.html how to do
> it.
> 

% gdb /home/mario/tools/SunOS/libexec/dovecot/imap core
GNU gdb 5.2.1
Copyright 2002 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 "sparc-sun-solaris2.8"...
Core was generated by `imap'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /_TOOLS_/dist/gnu-gcc-3.4.3-binutils-2.15/sparc-sun-solaris2.8/lib/libgcc_s.so.1...done.
Loaded symbols for /_TOOLS_/dist/gnu-gcc-3.4.3-binutils-2.15/sparc-sun-solaris2.8/lib/libgcc_s.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Sun-Blade-1500/lib/libc_psr.so.1...
done.
Loaded symbols for /usr/platform/SUNW,Sun-Blade-1500/lib/libc_psr.so.1
#0  0xff133218 in strlen () from /usr/lib/libc.so.1
(gdb) bt full
#0  0xff133218 in strlen () from /usr/lib/libc.so.1
No symbol table info available.
#1  0xff186520 in _doprnt () from /usr/lib/libc.so.1
No symbol table info available.
#2  0xff1886f8 in vsnprintf () from /usr/lib/libc.so.1
No symbol table info available.
#3  0x00083134 in str_vprintfa (str=0xa5b90, fmt=0x86420 "Disconnected: %s", 
    args=0xffbef760) at str.c:118
        ret = 678834
        len = 2
        append_len = 24
        __PRETTY_FUNCTION__ = "str_vprintfa"
#4  0x00075d70 in internal_handler (log_type=32 ' ', 
    format=0x86420 "Disconnected: %s", args=0xffbef760) at failures.c:362
        str = (string_t *) 0xa5b90
        ret = 73
#5  0x000759ac in i_info (format=0x86420 "Disconnected: %s") at failures.c:218
No locals.
#6  0x000222c0 in client_disconnect (client=0xb0b58, reason=0x0)
    at client.c:119
No locals.
#7  0x0001ef50 in cmd_fetch_finish (ctx=0xb0b9c) at cmd-fetch.c:98
        storage = (struct mail_storage *) 0xb0990
        error = 0x0
        syntax = false
        temporary_error = false
        cmd = (struct client_command_context *) 0xb0b9c
        ok_message = 0x85998 "OK Fetch completed."
        failed = 144
        partial = false
#8  0x0001f258 in cmd_fetch (cmd=0xb0b9c) at cmd-fetch.c:176
        client = (struct client *) 0xb0b58
        ctx = (struct imap_fetch_context *) 0xb2e48
        args = (struct imap_arg *) 0xb0e00
        search_arg = (struct mail_search_arg *) 0xb2e10
        messageset = 0xb0b9c ""
        ret = 723868
#9  0x00021e14 in cmd_uid (cmd=0xb0b9c) at cmd-uid.c:19
        cmd_name = 0xb0eb0 "fetch"
#10 0x00022a30 in _client_input (context=0xb0b58) at client.c:375
        cmd = (struct client_command_context *) 0xb0b9c
        ret = 138624
#11 0x0007b918 in io_loop_handler_run (ioloop=0xae458) at ioloop-poll.c:203
        ctx = (struct ioloop_handler_context *) 0xae490
        pollfd = (struct pollfd *) 0x2
        tv = {tv_sec = 9, tv_usec = 928755}
        io = (struct io *) 0xae4f0
        t_id = 2
        msecs = 9928
        ret = 0
        call = true
---Type <return> to continue, or q <return> to quit---
#12 0x0007b1f8 in io_loop_run (ioloop=0xae458) at ioloop.c:274
No locals.
#13 0x0002aae4 in main (argc=-4259933, argv=0xa4000, envp=0xa5400)
    at main.c:271
No locals.

					Mario
-- 
I don't need a name; my number's just fine. |   Mario.Nigrovic at freescale.com
It's nobody else's -- just mine, all mine.  |                   480-413-3578
                                                           Internal Use Only


More information about the dovecot mailing list