Displaying 10 results from an estimated 10 matches for "fetch_bodystructur".
Did you mean:
fetch_bodystructure
2008 Mar 11
2
dovecot-1.1.rc3 segmentation fault in fetch_bodystructure
Hi,
another imap crash with latest dovecot.
segmentation fault in fetch_bodystructure
src/imap/imap-fetch.c
static int fetch_bodystructure(struct imap_fetch_context *ctx,
struct mail *mail, void *context ATTR_UNUSED)
{
const char *bodystructure;
if (mail_get_special(mail, MAIL_FETCH_IMAP_BODYSTRUCTURE,
&a...
2008 Dec 10
2
assert with zlib and (maybe) fts
Hi,
I compressed a folder with the following script:
...
for i in *.*.*; do
file $i | grep bzip2 >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Compress: $i"
cat "$i" | bzip2 -9 > ../tmp/$i
if [ $? -eq 0 ]; then
mv ../tmp/$i $i
fi
else
2008 Mar 10
2
Consecutive crashes of serveral imapd processes
...,
field=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:601
#2 0x08081f4f in index_mail_get_special (_mail=0x80f8538,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE) at index-mail.c:728
#3 0x0806f3c7 in maildir_mail_get_special (_mail=0x80f8538, field=72)
at maildir-mail.c:192
#4 0x0805ecfe in fetch_bodystructure (ctx=0x80dcfc8, mail=0x80f8538,
context=0x0) at imap-fetch.c:416
#5 0x0805f85c in imap_fetch (ctx=0x80dcfc8) at imap-fetch.c:290
#6 0x08059bee in cmd_fetch (cmd=0x80da334) at cmd-fetch.c:163
#7 0x0805d12f in client_handle_input (cmd=0x80da334) at client.c:344
#8 0x0805d1bc in client_handl...
2008 Aug 29
1
Dovecot-1.1.2 assertion failure in preparsed_parse_next_header_init
...URE) at index-mail.c:860
#11 0x0809852c in index_mail_get_special (_mail=0x8122668,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=0xbfb4b370)
at index-mail.c:983
#12 0x08078a18 in maildir_mail_get_special (_mail=0x6, field=0,
value_r=0xbfb4b370) at maildir-mail.c:437
#13 0x080643f4 in fetch_bodystructure (ctx=0x810b708, mail=0x8122668,
context=0x0) at imap-fetch.c:450
#14 0x08064960 in imap_fetch (ctx=0x810b708) at imap-fetch.c:309
#15 0x0805e44e in cmd_fetch (cmd=0x810b670) at cmd-fetch.c:152
#16 0x080625cc in client_command_input (cmd=0x810b670) at client.c:580
#17 0x08062675 in client_comm...
2006 Jan 31
1
beta2: strange assert
...riable "_mail" is not available.
) at index-mail.c:687
#10 0x00037354 in mbox_mail_get_special (_mail=0xbb970,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE) at mbox-mail.c:145
#11 0x00063e0c in mail_get_special (mail=Variable "mail" is not available.
) at mail.c:114
#12 0x00023aa4 in fetch_bodystructure (ctx=0xb2370, mail=Variable "mail" is not available.
) at imap-fetch.c:375
#13 0x0002375c in imap_fetch (ctx=0xb2370) at imap-fetch.c:263
#14 0x0001e7a0 in cmd_fetch (cmd=0xb00b0) at cmd-fetch.c:166
#15 0x00021f98 in client_handle_input (cmd=0xb00b0) at client.c:355
#16 0x0002209c in _cl...
2016 Dec 06
0
Segmentation fault in imap_bodystructure_is_plain_7bit
...il=0x234be60,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=0x7ffc1518fde8) at
mdbox-mail.c:213
#8 0x00007f920a08f96d in mail_get_special (mail=<optimized out>,
field=field at entry=MAIL_FETCH_IMAP_BODYSTRUCTURE,
value_r=value_r at entry=0x7ffc1518fde8)
at mail.c:317
#9 0x0000000000419a6a in fetch_bodystructure (ctx=0x232bbd8,
mail=<optimized out>, context=<optimized out>) at imap-fetch.c:690
#10 0x0000000000419f9f in imap_fetch_more_int (ctx=ctx at entry=0x232bbd8,
cancel=false) at imap-fetch.c:506
#11 0x000000000041af07 in imap_fetch_more (ctx=0x232bbd8,
cmd=cmd at entry=0x232ba00)
at imap-...
2017 Jun 08
0
Segmentation fault in imap_bodystructure_is_plain_7bit
...il=0x234be60,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=0x7ffc1518fde8) at
mdbox-mail.c:213
#8 0x00007f920a08f96d in mail_get_special (mail=<optimized out>,
field=field at entry=MAIL_FETCH_IMAP_BODYSTRUCTURE,
value_r=value_r at entry=0x7ffc1518fde8)
at mail.c:317
#9 0x0000000000419a6a in fetch_bodystructure (ctx=0x232bbd8,
mail=<optimized out>, context=<optimized out>) at imap-fetch.c:690
#10 0x0000000000419f9f in imap_fetch_more_int (ctx=ctx at entry=0x232bbd8,
cancel=false) at imap-fetch.c:506
#11 0x000000000041af07 in imap_fetch_more (ctx=0x232bbd8,
cmd=cmd at entry=0x232ba00)
at imap-...
2013 Nov 05
1
Message parser loops on certain messages (e.g. with a trailing CR character)
...f94f4bfab53 in maildir_mail_get_special (_mail=0xbecd00,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=0x7fff2141d958) at
maildir-mail.c:570
#15 0x00007f94f4c36ea1 in mail_get_special (mail=0xbecd00,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=0x7fff2141d958) at mail.c:269
#16 0x000000000041c5d7 in fetch_bodystructure (ctx=0xbd6a48,
mail=0xbecd00, context=0x0) at imap-fetch.c:678
...
You will find a sample message attached to this mail.
I have added a check to see if the parser is past the EOF (and omit
reducing the block size then) as a band-aid fix, but this might call
for a more elegant solution.
Best reg...
2005 Sep 09
1
1.0alpha1: stack frame core
...riable "_mail" is not available.
) at index-mail.c:673
#22 0x00035b08 in mbox_mail_get_special (_mail=0xafd38,
field=MAIL_FETCH_IMAP_BODYSTRUCTURE) at mbox-mail.c:140
#23 0x0005ae70 in mail_get_special (mail=Variable "mail" is not available.
) at mail.c:113
#24 0x00022758 in fetch_bodystructure (ctx=0xa5198, mail=Variable "mail" is not available.
) at imap-fetch.c:379
#25 0x00022410 in imap_fetch (ctx=0xa5198) at imap-fetch.c:265
#26 0x0001d870 in cmd_fetch (cmd=0xa2ee8) at cmd-fetch.c:166
#27 0x00020c60 in client_handle_input (cmd=0xa2ee8) at client.c:334
#28 0x00020d68 in _cl...
2023 Mar 12
2
dovecot crash with Panic: file istream-header-filter.c: line 663
...e0) at index/index-mail.c:1713
#21 0x00007fa38492fa1e in mail_get_special (mail=<optimized out>, field=field at entry=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=value_r at entry=0x7ffc8222cbe0)
at /usr/src/debug/dovecot-2.3.20-1.fc37.x86_64/src/lib-storage/mail.c:418
#22 0x000056150dcf458c in fetch_bodystructure (ctx=0x56150ea57530, mail=<optimized out>, context=<optimized out>)
at /usr/src/debug/dovecot-2.3.20-1.fc37.x86_64/src/imap/imap-fetch.c:740
#23 0x000056150dcfa3f3 in imap_fetch_more_int (ctx=ctx at entry=0x56150ea57530, cancel=false) at /usr/src/debug/dovecot-2.3.20-1.fc37.x86_64/...