<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">here another core dump for a different
crash:</div>
<div class="moz-cite-prefix"><br>
Jun 03 15:01:05 Panic: imap(<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a>)
session=<G4j1KtzD1vW5HrcI>: file imap-bodystructure.c: line
209 (part_write_body): assertion failed: (text == ((part->flags
& MESSAGE_PART_FLAG_TEXT) != 0))<br>
Jun 03 15:01:05 Error: imap(<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a>)
session=<G4j1KtzD1vW5HrcI>: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0(backtrace_append+0x42)
[0x7ff2c4fa2ac2] ->
/usr/lib64/dovecot/libdovecot.so.0(backtrace_get+0x1e)
[0x7ff2c4fa2bce] ->
/usr/lib64/dovecot/libdovecot.so.0(+0xf3cde) [0x7ff2c4fafcde]
-> /usr/lib64/dovecot/libdovecot.so.0(+0xf3d81)
[0x7ff2c4fafd81] ->
/usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7ff2c4f0125a]
->
/usr/lib64/dovecot/libdovecot.so.0(imap_bodystructure_write+0x263)
[0x7ff2c4f78a53] ->
/usr/lib64/dovecot/libdovecot.so.0(+0xbcca3) [0x7ff2c4f78ca3]
->
/usr/lib64/dovecot/libdovecot.so.0(imap_bodystructure_write+0x28a)
[0x7ff2c4f78a7a] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(+0xc0aa7)
[0x7ff2c5333aa7] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(+0xc1563)
[0x7ff2c5334563] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(+0xc190e)
[0x7ff2c533490e] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_init_stream+0x332)
[0x7ff2c5334d32] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(+0x77428)
[0x7ff2c52ea428] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_stream_because+0x64)
[0x7ff2c52b25a4] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_prefetch+0x96)
[0x7ff2c5335bc6] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_prefetch+0x2e)
[0x7ff2c52b1e4e] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(+0xc98cd)
[0x7ff2c533c8cd] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x110)
[0x7ff2c533ce30] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x22)
[0x7ff2c52c0aa2] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_search_next+0x3d)
[0x7ff2c52c0b0d] -> dovecot/imap [<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8
UID fetch](+0x211dc) [0x55993e9b31dc] -> dovecot/imap
[<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8 UID fetch](imap_fetch_more+0x35)
[0x55993e9b46e5] -> dovecot/imap [<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8
UID fetch](cmd_fetch+0x34d) [0x55993e9a47ed] -> dovecot/imap
[<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8 UID fetch](command_exec+0x64)
[0x55993e9b1614] -> dovecot/imap [<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8
UID fetch](+0x1d502) [0x55993e9af502] -> dovecot/imap
[<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8 UID fetch](+0x1d591) [0x55993e9af591]
-> dovecot/imap [<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8 UID
fetch](+0x1d759) [0x55993e9af759] -> dovecot/imap
[<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8 UID fetch](client_handle_input+0x205)
[0x55993e9afa15] -> dovecot/imap [<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a> 95.87.183.8
UID fetch](client_input+0x79) [0x55993e9afff9] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x65)
[0x7ff2c4fc7f45]<br>
Jun 03 15:01:05 Fatal: imap(<a class="moz-txt-link-abbreviated" href="mailto:user2@email.com">user2@email.com</a>)
session=<G4j1KtzD1vW5HrcI>: master: service(imap): child
4356 killed with signal 6 (core dumped)<br>
<br>
<br>
[root@popimap ~]# gdb /usr/libexec/dovecot/imap
/var/core/core.imap.4356 <br>
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7<br>
Copyright (C) 2013 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later
<a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.html></a><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "x86_64-redhat-linux-gnu".<br>
For bug reporting instructions, please see:<br>
<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/bugs/"><http://www.gnu.org/software/gdb/bugs/></a>...<br>
Reading symbols from /usr/libexec/dovecot/imap...Reading symbols
from /usr/lib/debug/usr/libexec/dovecot/imap.debug...done.<br>
done.<br>
[New LWP 4356]<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib64/libthread_db.so.1".<br>
Core was generated by `dovecot/imap [<a class="moz-txt-link-abbreviated" href="mailto:user2@email.c">user2@email.c</a>'.<br>
Program terminated with signal 6, Aborted.<br>
#0 0x00007ff2c4b24387 in raise () from /lib64/libc.so.6<br>
Missing separate debuginfos, use: debuginfo-install
bzip2-libs-1.0.6-13.el7.x86_64 expat-2.1.0-12.el7.x86_64
glibc-2.17-324.el7_9.x86_64 libgcc-4.8.5-44.el7.x86_64
libzstd-1.4.9-1.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64
zlib-1.2.7-19.el7_9.x86_64<br>
(gdb) bt full<br>
#0 0x00007ff2c4b24387 in raise () from /lib64/libc.so.6<br>
No symbol table info available.<br>
#1 0x00007ff2c4b25a78 in abort () from /lib64/libc.so.6<br>
No symbol table info available.<br>
#2 0x00007ff2c4fafc97 in default_fatal_finish (status=0,
type=<optimized out>) at failures.c:459<br>
backtrace = 0x55993f0e3678
"/usr/lib64/dovecot/libdovecot.so.0(backtrace_append+0x42)
[0x7ff2c4fa2ac2] ->
/usr/lib64/dovecot/libdovecot.so.0(backtrace_get+0x1e)
[0x7ff2c4fa2bce] ->
/usr/lib64/dovecot/libdovecot.so.0(+0xf3cde) [0"...<br>
recursed = 0<br>
#3 fatal_handler_real (ctx=<optimized out>,
format=<optimized out>, args=<optimized out>) at
failures.c:471<br>
status = 0<br>
#4 0x00007ff2c4fafd81 in i_internal_fatal_handler
(ctx=<optimized out>, format=<optimized out>,
args=<optimized out>)<br>
at failures.c:866<br>
No locals.<br>
#5 0x00007ff2c4f0125a in i_panic
(format=format@entry=0x7ff2c4ff1730 "file %s: line %d (%s):
assertion failed: (%s)")<br>
at failures.c:523<br>
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp =
0x0, timestamp_usecs = 0, log_prefix = 0x0, <br>
log_prefix_type_pos = 0}<br>
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area
= 0x7ffccbc96b70, reg_save_area = 0x7ffccbc96ab0}}<br>
#6 0x00007ff2c4f78a53 in part_write_body (extended=true,
str=0x55993f1c4378, part=0x55993f1c3ea0) at
imap-bodystructure.c:209<br>
data = 0x55993f1c4290<br>
text = false<br>
#7 imap_bodystructure_write (part=0x55993f1c3ea0,
dest=0x55993f1c4378, extended=<optimized out>) at
imap-bodystructure.c:266<br>
No locals.<br>
#8 0x00007ff2c4f78ca3 in part_write_bodystructure_siblings
(part=0x55993f1c3ea0, dest=dest@entry=0x55993f1c4378,
extended=true)<br>
at imap-bodystructure.c:69<br>
No locals.<br>
#9 0x00007ff2c4f78a7a in part_write_body_multipart
(part=<optimized out>, part=<optimized out>,
extended=<optimized out>, <br>
str=0x55993f1c4378) at imap-bodystructure.c:122<br>
data = 0x55993f1c3f48<br>
#10 imap_bodystructure_write (part=<optimized out>,
dest=0x55993f1c4378, extended=<optimized out>) at
imap-bodystructure.c:264<br>
No locals.<br>
#11 0x00007ff2c5333aa7 in
index_mail_body_parsed_cache_bodystructure (mail=0x55993f1c31c8,
field=MAIL_CACHE_FLAGS)<br>
at index-mail.c:859<br>
_mail = 0x55993f1c31c8<br>
data = 0x55993f1c3358<br>
cache_field_parts = <optimized out><br>
cache_field_body = 6<br>
cache_field_bodystructure = <optimized out><br>
dec = <optimized out><br>
str = 0x55993f1c4378<br>
bodystructure_cached = false<br>
plain_bodystructure = <optimized out><br>
---Type <return> to continue, or q <return> to quit---<br>
cache_bodystructure = <optimized out><br>
cache_body = <optimized out><br>
__func__ = "index_mail_body_parsed_cache_bodystructure"<br>
#12 0x00007ff2c5334563 in index_mail_parse_body_finish
(mail=mail@entry=0x55993f1c31c8,
field=field@entry=MAIL_CACHE_FLAGS, <br>
success=success@entry=true) at index-mail.c:1203<br>
parser_input = 0x0<br>
mail_set = 0x55993f111eb8<br>
error = 0x0<br>
ret = <optimized out><br>
__func__ = "index_mail_parse_body_finish"<br>
#13 0x00007ff2c533490e in index_mail_parse_body
(mail=mail@entry=0x55993f1c31c8,
field=field@entry=MAIL_CACHE_FLAGS)<br>
at index-mail.c:1278<br>
data = 0x55993f1c3358<br>
old_offset = 2148<br>
ret = 0<br>
__func__ = "index_mail_parse_body"<br>
#14 0x00007ff2c5334d32 in index_mail_init_stream
(mail=mail@entry=0x55993f1c31c8, hdr_size=hdr_size@entry=0x0, <br>
body_size=body_size@entry=0x0,
stream_r=stream_r@entry=0x7ffccbc96e00) at index-mail.c:1376<br>
_mail = 0x55993f1c31c8<br>
data = 0x55993f1c3358<br>
input = <optimized out><br>
has_nuls = false<br>
body_size_from_stream = false<br>
ret = <optimized out><br>
want_attachment_kw = true<br>
#15 0x00007ff2c52ea428 in maildir_mail_get_stream
(_mail=0x55993f1c31c8, get_body=<optimized out>,
hdr_size=0x0, body_size=0x0, <br>
stream_r=0x7ffccbc96e00) at maildir-mail.c:622<br>
mail = 0x55993f1c31c8<br>
mbox = <optimized out><br>
data = 0x55993f1c3358<br>
deleted = <optimized out><br>
#16 0x00007ff2c52b25a4 in mail_get_stream_because
(mail=mail@entry=0x55993f1c31c8, hdr_size=hdr_size@entry=0x0, <br>
body_size=body_size@entry=0x0,
reason=reason@entry=0x7ff2c538c690 "prefetch",
stream_r=stream_r@entry=0x7ffccbc96e00)<br>
at mail.c:282<br>
_data_stack_cur_id = 5<br>
p = 0x55993f1c31c8<br>
ret = <optimized out><br>
__func__ = "mail_get_stream_because"<br>
#17 0x00007ff2c5335bc6 in index_mail_prefetch
(_mail=0x55993f1c31c8) at index-mail.c:2103<br>
mail = 0x55993f1c31c8<br>
storage = <optimized out><br>
input = 0x1<br>
---Type <return> to continue, or q <return> to quit---<br>
len = <optimized out><br>
fd = <optimized out><br>
#18 0x00007ff2c52b1e4e in mail_prefetch
(mail=mail@entry=0x55993f1c31c8) at mail.c:75<br>
_data_stack_cur_id = 4<br>
p = 0x55993f1c31c8<br>
ret = <optimized out><br>
#19 0x00007ff2c533c8cd in search_more_with_prefetching
(mail_r=<optimized out>, ctx=<optimized out>) at
index-search.c:1726<br>
count = <optimized out><br>
ret = 1<br>
mail = 0x55993f1c31c8<br>
mails = <optimized out><br>
#20 search_more (ctx=ctx@entry=0x55993f1446f0,
mail_r=mail_r@entry=0x7ffccbc96ef0) at index-search.c:1788<br>
imail = <optimized out><br>
ret = <optimized out><br>
#21 0x00007ff2c533ce30 in index_storage_search_next_nonblock
(_ctx=0x55993f1446f0, mail_r=0x55993f11b5a0, <br>
tryagain_r=0x7ffccbc96f57) at index-search.c:1816<br>
mail = 0x7ffc0000007c<br>
seq = 21913<br>
ret = <optimized out><br>
#22 0x00007ff2c52c0aa2 in mailbox_search_next_nonblock
(ctx=<optimized out>, mail_r=<optimized out>,
tryagain_r=<optimized out>)<br>
at mail-storage.c:2290<br>
box = <optimized out><br>
#23 0x00007ff2c52c0b0d in mailbox_search_next (ctx=<optimized
out>, mail_r=<optimized out>) at mail-storage.c:2275<br>
tryagain = false<br>
#24 0x000055993e9b31dc in imap_fetch_more_int
(ctx=ctx@entry=0x55993f11b538, cancel=false) at imap-fetch.c:536<br>
state = 0x55993f11b590<br>
client = 0x55993f1160e8<br>
handlers = 0x55993f142ed0<br>
count = <optimized out><br>
ret = <optimized out><br>
__func__ = "imap_fetch_more_int"<br>
#25 0x000055993e9b46e5 in imap_fetch_more (ctx=0x55993f11b538,
cmd=cmd@entry=0x55993f11b358) at imap-fetch.c:617<br>
ret = <optimized out><br>
__func__ = "imap_fetch_more"<br>
#26 0x000055993e9a47ed in cmd_fetch (cmd=0x55993f11b358) at
cmd-fetch.c:337<br>
client = 0x55993f1160e8<br>
ctx = 0x55993f11b538<br>
args = 0x55993f135a68<br>
next_arg = <optimized out><br>
list_arg = 0x7ffccbc9708f<br>
search_args = 0x0<br>
qresync_args = {qresync_sample_seqset = 0x55993f0e3308,
qresync_sample_uidset = 0x7ff2c4ffdaff}<br>
---Type <return> to continue, or q <return> to quit---<br>
messageset = 0x55993f135bd8 "7238"<br>
send_vanished = <optimized out><br>
ret = <optimized out><br>
#27 0x000055993e9b1614 in command_exec (cmd=0x55993f11b358) at
imap-commands.c:201<br>
hook = 0x55993f0ee630<br>
finished = <optimized out><br>
__func__ = "command_exec"<br>
#28 0x000055993e9af502 in client_command_input
(cmd=0x55993f11b358) at imap-client.c:1204<br>
client = 0x55993f1160e8<br>
command = <optimized out><br>
tag = 0x7ff2c4fe8115 <p_strdup+69>
"[]A\\\303f\017\037D"<br>
name = 0x55993f135e40 "\250_\023?\231U"<br>
ret = <optimized out><br>
__func__ = "client_command_input"<br>
#29 0x000055993e9af591 in client_command_input
(cmd=cmd@entry=0x55993f11b358) at imap-client.c:1271<br>
client = 0x55993f1160e8<br>
command = <optimized out><br>
tag = 0x7ff2c4f7be42
<imap_parser_read_next_atom+162> "H\205\333I\211E"<br>
name = 0x55993f135bd0 "fetch"<br>
ret = <optimized out><br>
__func__ = "client_command_input"<br>
#30 0x000055993e9af759 in client_command_input
(cmd=0x55993f11b358) at imap-client.c:1238<br>
client = 0x55993f1160e8<br>
command = <optimized out><br>
tag = 0x55993f135bc0 "6"<br>
name = 0x55993f135bc8 "UID"<br>
ret = <optimized out><br>
__func__ = "client_command_input"<br>
#31 0x000055993e9afa15 in client_handle_next_command
(remove_io_r=<synthetic pointer>, client=0x55993f1160e8) at
imap-client.c:1313<br>
No locals.<br>
#32 client_handle_input (client=client@entry=0x55993f1160e8) at
imap-client.c:1327<br>
_data_stack_cur_id = 3<br>
remove_io = false<br>
handled_commands = false<br>
__func__ = "client_handle_input"<br>
#33 0x000055993e9afff9 in client_input (client=0x55993f1160e8) at
imap-client.c:1371<br>
cmd = 0x55993f10e700<br>
output = 0x55993f11b1b0<br>
bytes = 48<br>
__func__ = "client_input"<br>
#34 0x00007ff2c4fc7f45 in io_loop_call_io (io=0x55993f135980) at
ioloop.c:714<br>
ioloop = 0x55993f0ec030<br>
---Type <return> to continue, or q <return> to quit---<br>
t_id = 2<br>
__func__ = "io_loop_call_io"<br>
#35 0x00007ff2c4fc98fb in io_loop_handler_run_internal
(ioloop=ioloop@entry=0x55993f0ec030) at ioloop-epoll.c:222<br>
ctx = 0x55993f0eccb0<br>
events = <optimized out><br>
list = 0x55993f0f7290<br>
io = <optimized out><br>
tv = {tv_sec = 1799, tv_usec = 999034}<br>
events_count = <optimized out><br>
msecs = <optimized out><br>
ret = 1<br>
i = 0<br>
call = <optimized out><br>
__func__ = "io_loop_handler_run_internal"<br>
#36 0x00007ff2c4fc8049 in io_loop_handler_run
(ioloop=ioloop@entry=0x55993f0ec030) at ioloop.c:766<br>
__func__ = "io_loop_handler_run"<br>
#37 0x00007ff2c4fc8288 in io_loop_run (ioloop=0x55993f0ec030) at
ioloop.c:739<br>
__func__ = "io_loop_run"<br>
#38 0x00007ff2c4f32bb3 in master_service_run
(service=0x55993f0ebe90, callback=callback@entry=0x55993e9be220
<client_connected>)<br>
at master-service.c:853<br>
No locals.<br>
#39 0x000055993e9a1202 in main (argc=2, argv=0x55993f0ebb90) at
main.c:546<br>
set_roots = {0x7ff2c52670c0
<smtp_submit_setting_parser_info>, 0x55993ebd05e0
<imap_setting_parser_info>, 0x0}<br>
login_set = {auth_socket_path = 0x55993f0e34d8 "",
postlogin_socket_path = 0x55993f0e3508 "", postlogin_timeout_secs
= 60, <br>
callback = 0x55993e9bec20
<login_client_connected>, failure_callback = 0x55993e9be330
<login_client_failed>, <br>
request_auth_token = true}<br>
service_flags = <optimized out><br>
storage_service_flags = <optimized out><br>
username = 0x0<br>
auth_socket_path = <optimized out><br>
c = <optimized out><br>
error = 0x38000000380 <Address 0x38000000380 out of
bounds><br>
(gdb)</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Let me knok if you need more details.</div>
<div class="moz-cite-prefix">Thanks<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Il 01/06/21 07:24, Aki Tuomi ha
scritto:<br>
</div>
<blockquote type="cite"
cite="mid:812277276.3898.1622525063808@appsuite-dev-gw2.open-xchange.com">
<pre class="moz-quote-pre" wrap="">Hi!
Any chance you could collect coredumps for these and posting output of
gdb /usr/lib/dovecot/imap /path/to/core
bt full
systemd-coredump can be used for this, and <a class="moz-txt-link-freetext" href="https://www.dovecot.org/bugreport-mail">https://www.dovecot.org/bugreport-mail</a> contains hints how to get core dumps otherwise.
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Alessio Cecchi
Postmaster @ <a class="moz-txt-link-freetext" href="http://www.qboxmail.it">http://www.qboxmail.it</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/alessice">https://www.linkedin.com/in/alessice</a></pre>
</body>
</html>