[Dovecot] assertion failure in current hg, file istream.c: line 303 (i_stream_read_data): assertion failed: (stream->stream_errno != 0) (1.1.3 was working fine)
Diego Liziero
diegoliz at gmail.com
Wed Sep 17 23:01:03 EEST 2008
On Wed, Sep 17, 2008 at 9:35 PM, Timo Sirainen <tss at iki.fi> wrote:
>
> Could you do:
>
>> #6 0x080fcb64 in i_stream_read_data (stream=0x9094a08,
>> data_r=0xbfe64444, size_r=0xbfe64440, threshold=0) at istream.c:303
>> ret = -1
>> read_more = false
>> __PRETTY_FUNCTION__ = "i_stream_read_data"
>
> fr 6
> p *stream
> p *stream.real_stream
(gdb) fr 6
#6 0x080fcb64 in i_stream_read_data (stream=0x9094a08,
data_r=0xbfe64444, size_r=0xbfe64440, threshold=0) at istream.c:303
303 i_assert(stream->stream_errno != 0);
(gdb) p *stream
$3 = {v_offset = 155312, stream_errno = 0, mmaped = 0, blocking = 1,
closed = 0, seekable = 1, eof = 0, real_stream = 0x90949e0}
(gdb) p *stream.real_stream
$4 = {iostream = {refcount = 2, close = 0x810f75c
<io_stream_default_close_destroy>, destroy = 0x80e8a2c
<i_stream_header_filter_destroy>,
set_max_buffer_size = 0x80e8acb
<i_stream_header_filter_set_max_buffer_size>, destroy_callback =
0x80a771c <index_mail_stream_destroy_callback>, destroy_context =
0x908e9e8},
read = 0x80e95c9 <i_stream_header_filter_read>, seek = 0x80e989a
<i_stream_header_filter_seek>, sync = 0x80e9a51
<i_stream_header_filter_sync>, stat = 0x80e9a63
<i_stream_header_filter_stat>, istream = {
v_offset = 155312, stream_errno = 0, mmaped = 0, blocking = 1,
closed = 0, seekable = 1, eof = 0, real_stream = 0x90949e0}, fd = -1,
abs_start_offset = 109832723, statbuf = {st_dev = 0, __pad1 = 0,
__st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0,
st_rdev = 0, __pad2 = 0, st_size = -1, st_blksize = 0, st_blocks = 0,
st_atim = {tv_sec = 1221544863, tv_nsec = 0}, st_mtim = {
tv_sec = 1221544863, tv_nsec = 0}, st_ctim = {tv_sec =
1221544863, tv_nsec = 0}, st_ino = 0}, buffer = 0x0, w_buffer = 0x0,
buffer_size = 0, max_buffer_size = 8192, skip = 0, pos = 0, parent =
0x9094580,
parent_start_offset = 0, line_str = 0x0}
(gdb)
More information about the dovecot
mailing list