Hi Timo,
Any chance to look at the following gdb traceback?
Best, Blair
Blair Zajac wrote:
Timo Sirainen wrote:
On Wed, 2003-12-17 at 02:08, Blair Zajac wrote:
imap(blair): Dec 16 13:53:06 Panic: file istream.c: line 93 (i_stream_set_read_limit): assertion failed: (stream->v_size == 0 || v_offset <= stream->v_size)
If there's any more information I can provide, please let me know.
Probably because of something in your mailbox. Is it mbox or maildir? Also backtrace would be useful. See http://www.dovecot.org/bugreport.html
Hi Timo,
My mailbox is maildir.
Here's a stack trace:
orcaware% gdb -p 9216 GNU gdb Red Hat Linux (5.3post-0.20021129.18rh) Copyright 2003 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 "i386-redhat-linux-gnu". Attaching to process 9216 Reading symbols from /usr/libexec/dovecot/imap...done. Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 0xffffe002 in ?? () (gdb) t [Current thread is 0 (process 9216)] (gdb) c Continuing.
Program received signal SIGABRT, Aborted. 0xffffe002 in ?? () (gdb) bt #0 0xffffe002 in ?? () #1 0x42028c55 in abort () from /lib/tls/libc.so.6 #2 0x0809326c in default_panic_handler ( format=0x80ab020 "file %s: line %d (%s): assertion failed: (%s)", args=0xbffff614 "\001°\n\b]") at failures.c:141 #3 0x08093419 in i_panic ( format=0x80ab020 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:198 #4 0x08095cb3 in i_stream_set_read_limit (stream=0x80be05c, v_offset=931) at istream.c:93 #5 0x0808c81a in message_search_body (ctx=0xbffff710, input=0x80be05c, part=0x80bfad0) at message-body-search.c:304 #6 0x0808cc46 in message_body_search_ctx (ctx=0xbffff770, input=0x80be05c, part=0x80bfad0) at message-body-search.c:409 #7 0x0808ccd6 in message_body_search (key=0x80b6fb8 "9216", charset=0x0, unknown_charset=0xbffff7cc, input=0x80be05c, part=0x80bfad0, search_header=0) at message-body-search.c:434 #8 0x08073837 in search_body (arg=0x80beae8, context=0xbffff850) at index-search.c:634 #9 0x08084ee9 in search_arg_foreach (arg=0x80beae8, callback=0x807379d
, context=0xbffff850) at mail-search.c:70 #10 0x08084f19 in mail_search_args_foreach (args=0x80beae8, callback=0x807379d , context=0xbffff850) at mail-search.c:82 #11 0x08073a66 in search_arg_match_text (args=0x80beac8, ctx=0x80bdee0) at index-search.c:692 #12 0x0807452e in index_storage_search_next (ctx=0x80bdee0) at index-search.c:1024 #13 0x080538ba in imap_search (client=0x80b6cd8, charset=0x0, sargs=0x80beac8) at cmd-search.c:28 #14 0x08053bd9 in cmd_search (client=0x80b6cd8) at cmd-search.c:93 #15 0x08054fea in cmd_uid (client=0x80b6cd8) at cmd-uid.c:19 #16 0x0805599e in client_handle_input (client=0x80b6cd8) at client.c:314 #17 0x08055a63 in _client_input (context=0x80b6cd8) at client.c:350 #18 0x08098863 in io_loop_handler_run (ioloop=0x80b6348) at ioloop-poll.c:214 #19 0x08097e80 in io_loop_run (ioloop=0x80b6348) at ioloop.c:258 #20 0x0805d309 in main (argc=1, argv=0xbffffa84, envp=0xbffffa8c) at main.c:179 #21 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6 Best, Blair