Created attachment 362467 [details]
Mail folder which triggers this bug
Description of problem:
It appears that non-ASCII Character encodings in the subject line of an email cause VM to insert an invalid X-VM-v5-Data entry into the mail file, which prevents VM from reading its own mail file.
Version-Release number of selected component (if applicable):
Some mails always trigger this error. Most emails with accented characters (such as mails sent by VM itself) consistently work just fine.
Steps to Reproduce:
1. Use "v" (Visit Folder) to open the attached mail folder
2. Save file (opening this file will modify the buffer as VM adds an X-VM-v5-Data entry into the file)
3. Type "q" (Save Folder & Quit)
4. Repeat step 1 on the now modified folder
Folder does not open as mail folder, error message is
Wrong type argument: stringp, =\?iso-8859-1\?Q\?
Folder would just open as it did the first time round.
Manually removing the X-VM-v5-Data lines from the folder will allow it to be opened again one time. Removing the subject line permanently fixes the particular email.
The occurance of this problem is closely correlated with spam, or spam-like email, possibly sent from non-standards-complient clients? In any case, bad input should not break VM...
A beta version of 8.1.0 has now been released. I've been running it a little and it seems much better than 8.0.12 with the current emacs. No beta issues so far.
Yeah - I actually tried to build 8.0.14 packages in koji yesterday, but a gcc bug is preventing that. Once the gcc bug is remedied I'll push those builds, and follow with the 8.1 beta.
With the 8.1.0 beta do you see the problem you originally reported fixed?
I wasn't the one reporting, but I saw the same problems as the reporter. And yes, the "stringp ..." doesn't happen any more.
At least not so far, touch wood! :-)
emacs-vm-8.1.0-0.1.beta.fc12 has been submitted as an update for Fedora 12.
emacs-vm-8.1.0-0.1.beta.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update emacs-vm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0068