Panic: file istream.c: line 167 with 2.2.13 + istream.c/.h from dovecot-2-2-dffc6dd2be0d
Toni Mattila
toni at solu.fi
Mon Jul 7 09:47:18 UTC 2014
Hi,
Here is gdb backtrace for the crash.
#0 0x00f69402 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0070af30 in raise () from /lib/i686/nosegneg/libc.so.6
No symbol table info available.
#2 0x0070c911 in abort () from /lib/i686/nosegneg/libc.so.6
No symbol table info available.
#3 0x00575c14 in default_fatal_finish (type=<value optimized out>,
status=0) at failures.c:193
backtrace = 0x86ae100 "/usr/lib/dovecot/libdovecot.so.0
[0x575c1f] -> /usr/lib/dovecot/libdovecot.so.0 [0x575c9d] ->
/usr/lib/dovecot/libdovecot.so.0 [0x575514] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x13b) [0x57"...
#4 0x00575c9d in i_internal_fatal_handler (ctx=0xbfbc1c94,
format=0x5a2784 "file %s: line %d (%s): assertion failed: (%s)",
args=0xbfbc1cb4 "\f?Z") at failures.c:657
status = 0
#5 0x00575514 in i_panic (format=0x5a2784 "file %s: line %d (%s):
assertion failed: (%s)") at failures.c:267
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
args = 0xbfbc1cb4 "\f?Z"
#6 0x0057f99b in i_stream_read (stream=0x86ea960) at istream.c:170
_stream = (struct istream_private *) 0x86ea928
old_size = 8192
ret = -2
__FUNCTION__ = "i_stream_read"
#7 0x0057fbfb in i_stream_read_data (stream=0x86ea960,
data_r=0xbfbc1d64, size_r=0xbfbc1d60, threshold=8192) at istream.c:536
ret = 8191
read_more = false
__FUNCTION__ = "i_stream_read_data"
#8 0x00564927 in message_parse_header_next (ctx=0x86f1770,
hdr_r=0xbfbc1da4) at message-header-parser.c:89
msg = (
const unsigned char *) 0x871de58 "References:
<1397041424.77339.YahooMailNeo at web161206.mail.bf1.yahoo.com>
<1397041447.45218.YahooMailNeo at web161202.mail.bf1.yahoo.com>
<1397041471.51235.YahooMailNeo at web161205.mail.bf1.yahoo.com> <1397"...
i = <value optimized out>
size = 8192
startpos = 8191
colon_pos = 10
parse_size = 8191
ret = 1
continued = false
continues = <value optimized out>
crlf_newline = <value optimized out>
__FUNCTION__ = "message_parse_header_next"
#9 0x00565414 in message_parse_header (input=0x86ea960, hdr_size=0x0,
flags=MESSAGE_HEADER_PARSER_FLAG_CLEAN_ONELINE, callback=0x94ae40
<search_header>, context=0xbfbc1e0c) at message-header-parser.c:393
hdr_ctx = (struct message_header_parser_ctx *) 0x86f1770
hdr = (struct message_header_line *) 0x0
ret = <value optimized out>
__FUNCTION__ = "message_parse_header"
#10 0x0094a9c8 in search_match_once (ctx=0x86ee338) at index-search.c:697
ret = <value optimized out>
#11 0x0094ba89 in search_more (ctx=0x86ee338, mail_r=0xbfbc1f28) at
index-search.c:1401
imail = <value optimized out>
ret = <value optimized out>
#12 0x0094c5fe in index_storage_search_next_nonblock (_ctx=0x86ee338,
mail_r=0xbfbc1f94, tryagain_r=0xbfbc1f9b) at index-search.c:1677
ctx = (struct index_search_context *) 0x0
mail = <value optimized out>
mailp = <value optimized out>
seq = <value optimized out>
ret = <value optimized out>
#13 0x009222ee in mailbox_search_next_nonblock (ctx=0x86ee338,
mail_r=0xbfbc1f94, tryagain_r=0xbfbc1f9b) at mail-storage.c:1796
box = (struct mailbox *) 0x6
#14 0x08062b40 in cmd_search_more (cmd=0x86cc438) at imap-search.c:443
ctx = (struct imap_search_context *) 0x86cc500
opts = SEARCH_RETURN_ALL
mail = (struct mail *) 0x0
sync_flags = <value optimized out>
end_time = {tv_sec = 6135364, tv_usec = 141343184}
id = 8050
id_min = 8050
id_max = 8050
time_msecs = <value optimized out>
tryagain = <value optimized out>
lost_data = <value optimized out>
__FUNCTION__ = "cmd_search_more"
#15 0x08063214 in cmd_search_more_callback (cmd=0x86cc438) at
imap-search.c:527
client = (struct client *) 0x86cb9d0
finished = <value optimized out>
#16 0x0058822e in io_loop_handle_timeouts (ioloop=0x86b6498) at ioloop.c:410
timeout = <value optimized out>
_data_stack_cur_id = 2
#17 0x005896e7 in io_loop_handler_run_internal (ioloop=0x86b6498) at
ioloop-epoll.c:193
ctx = (struct ioloop_handler_context *) 0x86b7610
event = <value optimized out>
list = <value optimized out>
io = <value optimized out>
tv = {tv_sec = 0, tv_usec = 0}
msecs = 0
ret = 0
i = <value optimized out>
j = <value optimized out>
call = <value optimized out>
__FUNCTION__ = "io_loop_handler_run_internal"
#18 0x00587e1e in io_loop_handler_run (ioloop=0x86b6498) at ioloop.c:488
No locals.
#19 0x00587ea8 in io_loop_run (ioloop=0x86b6498) at ioloop.c:465
__FUNCTION__ = "io_loop_run"
#20 0x0052e42d in master_service_run (service=0x86b63c0,
callback=0x8066000 <client_connected>) at master-service.c:566
No locals.
#21 0x08065e9f in main (argc=Cannot access memory at address 0x0
) at main.c:400
login_set = {auth_socket_path = 0x86ae038 "P?j\b",
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback =
0x80660c0 <login_client_connected>, failure_callback = 0x8066060
<login_client_failed>,
request_auth_token = 1}
service_flags = <value optimized out>
storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT
username = 0x0
c = <value optimized out>
set_roots = {0x806daa0, 0x0}
Panic: file istream.c: line 167 (i_stream_read): assertion failed:
(old_size <= _stream->pos - _stream->skip)
Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0 [0x575c1f] ->
/usr/lib/dovecot/libdovecot.so.0 [0x575c9d] ->
/usr/lib/dovecot/libdovecot.so.0 [0x575514] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x13b) [0x57f99b] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x2b) [0x57fbfb] ->
/usr/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x87)
[0x564927] ->
/usr/lib/dovecot/libdovecot.so.0(message_parse_header+0x54) [0x565414]
-> /usr/lib/dovecot/libdovecot-storage.so.0 [0x94a9c8] ->
/usr/lib/dovecot/libdovecot-storage.so.0 [0x94ba89] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0xde)
[0x94c5fe] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x3e)
[0x9222ee] -> dovecot/imap [0x8062b40] -> dovecot/imap [0x8063214] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handle_timeouts+0xbe)
[0x58822e] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x97) [0x
Fatal: master: service(imap): child 6201 killed with signal 6 (core dumped)
Thanks,
Toni
More information about the dovecot
mailing list