From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66983 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: rfc 822 imap bug Date: Thu, 22 May 2008 17:57:19 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211494290 29902 80.91.229.12 (22 May 2008 22:11:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2008 22:11:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15457@lists.math.uh.edu Fri May 23 00:12:08 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JzJ12-0000lL-DR for ding-account@gmane.org; Fri, 23 May 2008 00:12:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JzIzN-0002fs-0B; Thu, 22 May 2008 17:10:21 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JzInV-0002ZF-6S for ding@lists.math.uh.edu; Thu, 22 May 2008 16:58:05 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JzInO-0004XX-50 for ding@lists.math.uh.edu; Thu, 22 May 2008 16:58:04 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JzInc-00017s-00 for ; Thu, 22 May 2008 23:58:13 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 9386C4009E; Thu, 22 May 2008 21:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1211493474; bh=uZUTNdyxZ6XKKwWkMbdvXsjQum/6tWBds6//YcTx0 yc=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=OHbp5qFg4jZZ+VXu97pJLahbOa2UQg+Ka/zKKmFbmNQoscG+5ef+wS5eDNZFsbfXt k1I4uBasq0eDkhN0/Z/yhXcGvtQIR4gKJen15k6yfZeeU/rXtrI4qtAaGaB7aBednWr mINArwWidD9B7/kwtl9XpCTl9SffqH7OoAEBc1c= Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 82D9C21C011; Thu, 22 May 2008 21:57:42 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2007 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 96 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66983 Archived-At: I finally was able to give gnus a test with the patch. (I had to do it as a different user with a just a couple of IMAP folders; my own setup creates an *imap-debug* buffer of more than one and a half gigs during startup; a bit of a burden on a laptop whose motherboard maxes out at one half of a gig....) Here is an example of the output to the *Messages* buffer from that patch: error in process filter: position 314 in * 1433 FETCH (RFC822.SIZE 11856 UID 1433 BODY (("text" "plain" ("charset" "utf-8") NIL NIL "quoted-printable" 871 23)("message" "rfc822" NIL NIL NIL "7bit" 2851 ("Wed, 19 Mar 2008 05:03:34 +0100" "git-buildpackage: Import multiple dsc/orig.tar.gz in one go" (("Michael Biebl" NIL "biebl" "debian.org"))(("Michael Biebl" NIL "biebl" "debian.org"))(("Michael Biebl" NIL "biebl" "debian.org"))(("Debian Bug Tracking System" NIL "submit" "bugs.debian.org")) NIL NIL NIL "<20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx>")("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 1139 42) 77)("message" "rfc822" NIL NIL NIL "7bit" 4262 ("Sat, 17 May 2008 21:02:02 +0000" "Bug#471580: fixed in git-buildpackage 0.4.29" (("Guido Guenther" NIL "agx" "sigxcpu.org"))(("Archive Administrator" NIL "dak" "ftp-master.debian.org"))(("Guido Guenther" NIL "agx" "sigxcpu.org"))((NIL NIL "471580-close" "bugs.debian.org")) NIL NIL NIL "")("text" "plain" ("charset" "utf-8") NIL NIL "8bit" 2943 78) 108) "mixed") BODY[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups)] {424} to: Guido Guenther subject: Bug#471580: marked as done (git-buildpackage: Import multiple dsc/orig.tar.gz in one go) references: <20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx> message-id: from: Debian Bug Tracking System date: Sat, 17 May 2008 21:03:04 +0000 ) I removed each \r and wrapped it for email. Position 314 in the string before wrapping is the start of Biebl in the second of the three instances of the string "Michael Biebl". So the parsing dies inside a double-quoted string, after a space. All of the errors occur in similar points. The relevant lines from *imap-debug* for that message are: 1 -> imap-arrival-filter: proc=# string="* 1433 FETCH (RFC822.SIZE 11856 UID 1433 BODY ((\"text\" \"plain\" (\"charset\" \"utf-8\") NIL NIL \"quoted-printable\" 871 23)(\"message\" \"rfc822\" NIL NIL NIL \"7bit\" 2851 (\"Wed, 19 Mar 2008 05:03:34 +0100\" \"git-buildpackage: Import multiple dsc/orig.tar.gz in one go\" ((\"Michael Biebl\" NIL \"biebl\" \"debian.org\"))((\"Michael Biebl\" NIL \"biebl\" \"debian.org\"))((\"Michael Biebl\" NIL \"biebl\" \"debian.org\"))((\"Debian Bug Tracking System\" NIL \"submit\" \"bugs.debian.org\")) NIL NIL NIL \"<20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx>\")(\"text\" \"plain\" (\"charset\" \"us-ascii\") NIL NIL \"7bit\" 1139 42) 77)(\"message\" \"rfc822\" NIL NIL NIL \"7bit\" 4262 (\"Sat, 17 May 2008 21:02:02 +0000\" \"Bug#471580: fixed in git-buildpackage 0.4.29\" ((\"Guido Guenther\" NIL \"agx\" \"sigxcpu.org\"))((\"Archive Administrator\" NIL \"dak\" \"ftp-master.debian.org\"))((\"Guido Guenther\" NIL \"agx\" \"sigxcpu.org\"))((NIL NIL \"471580-close\" \"bugs.debian.org\")) NIL NIL NIL \"\")(\"text\" \"plain\" (\"charset\" \"utf-8\") NIL NIL \"8bit\" 2943 78) 108) \"mixed\") BODY[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups)] {424} to: Guido Guenther subject: Bug#471580: marked as done (git-buildpackage: Import multiple dsc/orig.tar.gz in one go) references: <20080319040334.8264.90035.reportbug@pluto.milchstrasse.xx> message-id: from: Debian Bug Tracking System date: Sat, 17 May 2008 21:03:04 +0000 ) | 2 -> imap-parse-response: | | 3 -> imap-parse-fetch: response=1433 | | | 4 -> imap-parse-body: | | | | 5 -> imap-parse-body: | | | | 5 <- imap-parse-body: ("text" "plain" ("charset" "utf-8") nil nil "quoted-printable" 871 23) | | | | 5 -> imap-parse-body: | | | | | 6 -> imap-parse-envelope: | | | | | 6 <- imap-parse-envelope: ["Wed, 19 Mar 2008 05:03:34 +0100" "git-buildpackage: Import multiple dsc/orig.tar.gz in one go" (["Michael Biebl" nil "biebl" "debian.org"]) nil nil nil nil nil nil nil] | | | | | 6 -> imap-parse-body: | | | | | 6 <- imap-parse-body: nil ====================================================================== -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6