Bug 83567 - bogus "body is binary but used as text" complaints
Summary: bogus "body is binary but used as text" complaints
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6.2
Platform: unspecified FreeBSD
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-18 00:16 UTC by mi+kde
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mi+kde 2004-06-18 00:16:03 UTC
Version:           1.6.2 (using KDE 3.2.3, compiled sources)
Compiler:          gcc version 3.3.3 [FreeBSD] 20031106
OS:                FreeBSD (i386) release 5.2-CURRENT

Some e-mails -- can't figure the pattern out exactly -- cause kmail to output:

kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!

to stdout or stderr. Definitely, the e-mails sent by vi's recovery cause this, probably, others. The e-mails are displayed properly, but these messages pollute the screen and -- worse -- the .xession-errors file, which eventually (after a couple of months) outgrows my /home-partition.
Comment 1 Gareth McCaughan 2004-08-16 11:37:44 UTC
Something similar happens to me too, with 1.6.1/3.2.1 on FreeBSD 4-something. I also haven't worked out exactly which mails provoke this behaviour, but it certainly isn't only vi recovery ones. I'm getting the warning twice on every mail message I get from the python-dev list.
Comment 2 Dik Takken 2004-10-27 23:10:49 UTC
The KMail version of KDE 3.3.0 is crashing on some e-mails. It prints the following messages to stdout:

kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
kmail: WARNING: KMMessagePart::bodyDecoded(): body is binary but used as text!
QGDict::hashKeyString: Invalid null key
kioslave: ####### CRASH ###### protocol = newimap pid = 1830 signal = 11
Comment 3 Carsten Burghardt 2004-10-28 12:52:38 UTC
Please attach one of the messages that crash.

Comment 4 Jonathan Marten 2006-10-28 18:41:55 UTC
KDE-PIM bugs day: cannot reproduce, many versions ago, information requested but none provided. Closing.