[Dovecot] crash with dovecot 2.2: Panic: Buffer full
tonio at starbridge.org
tonio at starbridge.org
Mon Apr 8 23:26:01 EEST 2013
Le 07/04/2013 22:56, Timo Sirainen a écrit :
> On Sun, 2013-04-07 at 21:47 +0200, tonio at starbridge.org wrote:
>> since I've upgraded to 2.2.rc5 (c24783148d78), I've got the previous
>> error again:
>> It's happening on a large mailbox on almost every emails, with Horde 5
>> webmail client (works fine with thunderbird so far)
>> Thanks for your help
>>
>> Apr 7 21:30:58 mx2 dovecot: imap(clean-quarantine at spamguard.fr): Panic:
>> Buffer full (8206 > 8192, pool <none>)
> Thanks, this should fix it:
> http://hg.dovecot.org/dovecot-2.2/rev/bb25fa35d887
>
>
Hi Timo,
It's ok for this error, but now, on a few email, I've got this:
dovecot --version
2.2.rc6 (548e59794f2e)
imap(clean-quarantine at spamguard.fr): Panic: file istream.c: line 153
(i_stream_read): assertion failed: (_stream->skip != _stream->pos)
Apr 8 22:19:26 mx2 dovecot: imap(clean-quarantine at spamguard.fr): Error:
Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x60ada)
[0x7f692abe1ada] -> /usr/lib/dovecot/libdovecot.so.0(+0x60b1e)
[0x7f692abe1b1e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f692aba3415] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x1b9) [0x7f692abea2a9]
-> /usr/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3d)
[0x7f692abea9dd] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x9b624)
[0x7f692aed8624] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_mail_get_binary_stream+0x77)
[0x7f692aed8ab7] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_get_binary_stream+0x60)
[0x7f692aeb1640] ->
/usr/lib/dovecot/libdovecot-storage.so.0(imap_msgpart_open+0x9f)
[0x7f692af0db4f] -> dovecot/imap() [0x418f35] -> dovecot/imap()
[0x4175dd] -> dovecot/imap(imap_fetch_more+0x34) [0x418534] ->
dovecot/imap(cmd_fetch+0x309) [0x40e2c9] ->
dovecot/imap(command_exec+0x3c) [0x41621c] -> dovecot/imap() [0x415280]
-> dovecot/imap() [0x41533a] -> dovecot/imap(client_handle_input+0x115)
[0x4155f5] -> dovecot/imap(client_input+0x72) [0x4159a2] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f692abf14a6]
-> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
[0x7f692abf22f7] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x28)
[0x7f692abf0fe8] ->
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f692aba85a3] -> dovecot/imap(main+0x270) [0x40b940] ->
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f692a815ead]
-> dovecot/imap() [0x40ba9d]
Apr 8 22:19:26 mx2 dovecot: imap(clean-quarantine at spamguard.fr): Fatal:
master: service(imap): child 4369 killed with signal 6 (core dumped)
#0 0x00007f692a829475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f692a82c6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007f692abe1ae8 in default_fatal_finish (type=<optimized out>,
status=status at entry=0) at failures.c:191
backtrace = 0x62d818 "/usr/lib/dovecot/libdovecot.so.0(+0x60ada)
[0x7f692abe1ada] -> /usr/lib/dovecot/libdovecot.so.0(+0x60b1e)
[0x7f692abe1b1e] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f692aba3415] -> /usr/lib/d"...
#3 0x00007f692abe1b1e in i_internal_fatal_handler (ctx=0x7fff605d4680,
format=<optimized out>, args=<optimized out>) at failures.c:652
status = 0
#4 0x00007f692aba3415 in i_panic (format=format at entry=0x7f692ac06e68
"file %s: line %d (%s): assertion failed: (%s)") at failures.c:263
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area =
0x7fff605d4770, reg_save_area = 0x7fff605d46b0}}
#5 0x00007f692abea2a9 in i_stream_read (stream=stream at entry=0x9fa6a0)
at istream.c:153
_stream = 0x9fa640
old_size = 0
ret = -2
__FUNCTION__ = "i_stream_read"
#6 0x00007f692abea9dd in i_stream_read_data
(stream=stream at entry=0x9fa6a0, data_r=data_r at entry=0x7fff605d4820,
size_r=size_r at entry=0x7fff605d4828, threshold=threshold at entry=0) at
istream.c:479
ret = <optimized out>
read_more = false
__FUNCTION__ = "i_stream_read_data"
#7 0x00007f692aed8624 in blocks_count_lines (full_input=0x9fa6a0,
ctx=0x7fff605d4830) at index-mail-binary.c:319
block_idx = 5
p = <optimized out>
size = 0
data = 0x0
ret = <optimized out>
cur_block = 0x62d488
block_count = 7
cur_offset = 2755
skip = <optimized out>
#8 index_mail_read_binary_to_cache (_mail=_mail at entry=0x66d630,
part=part at entry=0x672190, include_hdr=include_hdr at entry=false,
binary_r=binary_r at entry=0x7fff605d48e6,
converted_r=converted_r at entry=0x7fff605d48e7) at index-mail-binary.c:393
mail = 0x66d630
cache = 0x657b30
ctx = {mail = 0x66d630, input = 0x685c00, has_nuls = false,
converted = true, blocks = {arr = {buffer = 0x62d3d8, element_size =
24}, v = 0x62d3d8, v_modifiable = 0x62d3d8}, copy_start_offset = 113072}
__FUNCTION__ = "index_mail_read_binary_to_cache"
#9 0x00007f692aed8ab7 in index_mail_get_binary_stream (_mail=0x66d630,
part=0x672190, include_hdr=false, size_r=0x7fff605d49a8,
lines_r=<optimized out>, binary_r=0x7fff605d499e,
stream_r=0x7fff605d4a70) at index-mail-binary.c:556
mail = 0x66d630
cache = 0x657b30
input = <optimized out>
binary = <optimized out>
converted = <optimized out>
__FUNCTION__ = "index_mail_get_binary_stream"
#10 0x00007f692aeb1640 in mail_get_binary_stream
(mail=mail at entry=0x66d630, part=part at entry=0x672190,
include_hdr=include_hdr at entry=false, size_r=size_r at entry=0x7fff605d49a8,
binary_r=binary_r at entry=0x7fff605d499e,
stream_r=stream_r at entry=0x7fff605d4a70) at mail.c:243
_data_stack_cur_id = 5
p = 0x66d630
ret = <optimized out>
#11 0x00007f692af0db4f in imap_msgpart_open (mail=mail at entry=0x66d630,
msgpart=0x669ac0, result_r=result_r at entry=0x7fff605d4a70) at
imap-msgpart.c:645
part = 0x672190
part_size = {physical_size = 6681936, virtual_size = 0, lines =
6685256}
size = <optimized out>
include_hdr = false
binary = <optimized out>
use_partial_cache = <optimized out>
ret = 0
#12 0x0000000000418f35 in fetch_body_msgpart (ctx=0x660248,
mail=0x66d630, body=0x660888) at imap-fetch-body.c:164
result = {input = 0x0, size = 0, size_field = 0,
binary_decoded_input_has_nuls = false}
str = <optimized out>
#13 0x00000000004175dd in imap_fetch_more_int (ctx=ctx at entry=0x660248,
cancel=false) at imap-fetch.c:504
h = <optimized
out>
_data_stack_cur_id =
4
state =
0x660298
client =
0x65f550
handlers =
0x660578
count =
2
ret = <optimized
out>
__FUNCTION__ =
"imap_fetch_more_int"
#14 0x0000000000418534 in imap_fetch_more (ctx=0x660248,
cmd=cmd at entry=0x660130) at
imap-fetch.c:556
ret = <optimized
out>
__FUNCTION__ =
"imap_fetch_more"
#15 0x000000000040e2c9 in cmd_fetch (cmd=0x660130) at
cmd-fetch.c:279
client =
0x65f550
ctx =
0x660248
args =
0x638a08
next_arg = <optimized
out>
list_arg =
0x2ab7ce60
search_args =
0x0
qresync_args = {qresync_sample_seqset = 0x638b68,
qresync_sample_uidset =
0x0}
messageset = 0x638b70
"1332738"
send_vanished = <optimized
out>
ret = <optimized
out>
#16 0x000000000041621c in command_exec (cmd=cmd at entry=0x660130) at
imap-commands.c:156
hook =
0x636d60
ret = <optimized
out>
#17 0x0000000000415280 in client_command_input (cmd=0x660130) at
imap-client.c:775
client =
0x65f550
command = <optimized
out>
__FUNCTION__ =
"client_command_input"
#18 0x000000000041533a in client_command_input (cmd=0x660130) at
imap-client.c:836
client =
0x65f550
command = <optimized
out>
__FUNCTION__ =
"client_command_input"
#19 0x00000000004155f5 in client_handle_next_command
(remove_io_r=<synthetic pointer>, client=0x65f550) at
imap-client.c:874
No locals.
#20 client_handle_input (client=client at entry=0x65f550) at imap-client.c:886
_data_stack_cur_id = 3
ret = false
remove_io = false
handled_commands = false
__FUNCTION__ = "client_handle_input"
#21 0x00000000004159a2 in client_input (client=0x65f550) at
imap-client.c:928
cmd = <optimized out>
output = 0x65ff48
bytes = 37
__FUNCTION__ = "client_input"
#22 0x00007f692abf14a6 in io_loop_call_io (io=0x660030) at ioloop.c:387
ioloop = 0x635700
t_id = 2
#23 0x00007f692abf22f7 in io_loop_handler_run
(ioloop=ioloop at entry=0x635700) at ioloop-epoll.c:215
ctx = 0x635a70
events = 0x0
event = 0x635ae0
list = 0x660080
io = <optimized out>
tv = {tv_sec = 1799, tv_usec = 999140}
events_count = <optimized out>
msecs = <optimized out>
ret = 1
i = <optimized out>
call = <optimized out>
__FUNCTION__ = "io_loop_handler_run"
#24 0x00007f692abf0fe8 in io_loop_run (ioloop=0x635700) at ioloop.c:406
No locals.
#25 0x00007f692aba85a3 in master_service_run (service=0x635590,
callback=callback at entry=0x41e770 <client_connected>) at master-service.c:560
No locals.
#26 0x000000000040b940 in main (argc=1, argv=0x635390) at main.c:400
set_roots = {0x425a20, 0x0}
login_set = {auth_socket_path = 0x62d040 "\001",
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback =
0x41e5e0 <login_client_connected>, failure_callback = 0x41e710
<login_client_failed>, request_auth_token = 1}
service_flags = <optimized out>
storage_service_flags = <optimized out>
username = 0x0
c = <optimized out>
More information about the dovecot
mailing list