[Dovecot] asserts and cores in beta3

Jeff A. Earickson jaearick at colby.edu
Mon Mar 6 20:52:23 EET 2006


My setup: Solaris 9, built with gcc 4.0.2 (I now have gcc 4.1
installed on my system, but have not rebuilt dovecot).  A
couple of asserts and cores in the last few days:

Mar  1 09:25:13 emerald dovecot: [ID 107833 mail.error] imap(tmwillia): file mbox-sync.c: line 1471 (mbox_sync_do): assertion failed: (!sync_ctx->mbox->mbox_sync_dirty || (flags & MBOX_SYNC_UNDIRTY) == 0)
Mar  1 09:58:44 emerald dovecot: [ID 107833 mail.error] imap(eewilson): file mbox-sync.c: line 1471 (mbox_sync_do): assertion failed: (!sync_ctx->mbox->mbox_sync_dirty || (flags & MBOX_SYNC_UNDIRTY) == 0)
Mar  3 16:18:54 emerald dovecot: [ID 107833 mail.error] imap(tmwillia): file mbox-sync.c: line 1471 (mbox_sync_do): assertion failed: (!sync_ctx->mbox->mbox_sync_dirty || (flags & MBOX_SYNC_UNDIRTY) == 0)

Backtraces from the two cores in hand are attached.  I can do
further poking at the cores if that would help.

Jeff Earickson
Colby College
-------------- next part --------------
Script started on Mon Mar 06 11:12:16 2006
%gdb imap core.eewilson
GNU gdb 6.3
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 "sparc-sun-solaris2.9"...
Core was generated by `imap'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libsendfile.so.1...done.
Loaded symbols for /usr/lib/libsendfile.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmd5.so.1...done.
Loaded symbols for /usr/lib/libmd5.so.1
Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
#0  0xff2204f8 in _libc_kill () from /usr/lib/libc.so.1
(gdb) backtrace
#0  0xff2204f8 in _libc_kill () from /usr/lib/libc.so.1
#1  0xff1b6d18 in abort () from /usr/lib/libc.so.1
#2  0x000748a0 in i_internal_panic_handler (
    fmt=0x88bb8 "file %s: line %d (%s): assertion failed: (%s)",
    args=0xffbff438) at failures.c:375
#3  0x00074378 in i_panic (
    format=0x88bb8 "file %s: line %d (%s): assertion failed: (%s)")
    at failures.c:173
#4  0x0003c3b4 in mbox_sync_do (sync_ctx=0xffbff580, flags=MBOX_SYNC_UNDIRTY)
    at mbox-sync.c:1473
#5  0x0003ca0c in mbox_sync (mbox=0xbd610, flags=MBOX_SYNC_UNDIRTY)
    at mbox-sync.c:1701
#6  0x0003cc6c in mbox_storage_sync_init (box=0xbd610,
    flags=MAILBOX_SYNC_FLAG_FULL_READ) at mbox-sync.c:1780
#7  0x00065e74 in mailbox_sync_init (box=Variable "box" is not available.
) at mail-storage.c:375
#8  0x00028ae0 in imap_sync_nonselected (box=0xbd610,
    flags=MAILBOX_SYNC_FLAG_FULL_READ) at imap-sync.c:183
#9  0x000205d4 in _cmd_select_full (cmd=0xb16b4, readonly=false)
    at cmd-select.c:39
#10 0x00020748 in cmd_select (cmd=0xb16b4) at cmd-select.c:92
#11 0x000221a0 in client_handle_input (cmd=0xb16b4) at client.c:364
#12 0x000222a4 in _client_input (context=Variable "context" is not available.
) at client.c:415
#13 0x0007a0bc in io_loop_handler_run (ioloop=0xaef70) at ioloop-poll.c:203
#14 0x00079998 in io_loop_run (ioloop=0xaef70) at ioloop.c:246
#15 0x0002a9d4 in main (argc=1, argv=0xffbffb54, envp=0xffbffb5c) at main.c:238
(gdb) quit
%exit
exit

script done on Mon Mar 06 11:13:48 2006
-------------- next part --------------
Script started on Mon Mar 06 11:14:06 2006
%gdb imap core.tmwillia
GNU gdb 6.3
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 "sparc-sun-solaris2.9"...
Core was generated by `imap'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libsendfile.so.1...done.
Loaded symbols for /usr/lib/libsendfile.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmd5.so.1...done.
Loaded symbols for /usr/lib/libmd5.so.1
Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
#0  0xff2204f8 in _libc_kill () from /usr/lib/libc.so.1
(gdb) backtrace
#0  0xff2204f8 in _libc_kill () from /usr/lib/libc.so.1
#1  0xff1b6d18 in abort () from /usr/lib/libc.so.1
#2  0x000748a0 in i_internal_panic_handler (
    fmt=0x88bb8 "file %s: line %d (%s): assertion failed: (%s)",
    args=0xffbff438) at failures.c:375
#3  0x00074378 in i_panic (
    format=0x88bb8 "file %s: line %d (%s): assertion failed: (%s)")
    at failures.c:173
#4  0x0003c3b4 in mbox_sync_do (sync_ctx=0xffbff580, flags=MBOX_SYNC_UNDIRTY)
    at mbox-sync.c:1473
#5  0x0003ca0c in mbox_sync (mbox=0xb85a0, flags=MBOX_SYNC_UNDIRTY)
    at mbox-sync.c:1701
#6  0x0003cc6c in mbox_storage_sync_init (box=0xb85a0,
    flags=MAILBOX_SYNC_FLAG_FULL_READ) at mbox-sync.c:1780
#7  0x00065e74 in mailbox_sync_init (box=Variable "box" is not available.
) at mail-storage.c:375
#8  0x00028ae0 in imap_sync_nonselected (box=0xb85a0,
    flags=MAILBOX_SYNC_FLAG_FULL_READ) at imap-sync.c:183
#9  0x000205d4 in _cmd_select_full (cmd=0xb16b4, readonly=false)
    at cmd-select.c:39
#10 0x00020748 in cmd_select (cmd=0xb16b4) at cmd-select.c:92
#11 0x000221a0 in client_handle_input (cmd=0xb16b4) at client.c:364
#12 0x000222a4 in _client_input (context=Variable "context" is not available.
) at client.c:415
#13 0x0007a0bc in io_loop_handler_run (ioloop=0xaef70) at ioloop-poll.c:203
#14 0x00079998 in io_loop_run (ioloop=0xaef70) at ioloop.c:246
#15 0x0002a9d4 in main (argc=1, argv=0xffbffb54, envp=0xffbffb5c) at main.c:238
(gdb) quit
%exit
script done on Mon Mar 06 11:14:27 2006


More information about the dovecot mailing list