From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.bugs Subject: bug#4358: 23.1.50; Arithmetic overflow errors break imap Date: Tue, 08 Sep 2009 17:19:34 -0400 Message-ID: References: Reply-To: James Cloos , 4358@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1252446449 25328 80.91.229.12 (8 Sep 2009 21:47:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2009 21:47:29 +0000 (UTC) Cc: Stefan Monnier To: 4358@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 08 23:47:22 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ml8Wz-0002A0-Qt for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Sep 2009 23:47:19 +0200 Original-Received: from localhost ([127.0.0.1]:44866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ml8Ww-0007hT-PP for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Sep 2009 17:47:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ml8Ws-0007h6-JF for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2009 17:47:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ml8Wo-0007gh-2n for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2009 17:47:09 -0400 Original-Received: from [199.232.76.173] (port=38905 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ml8Wn-0007gc-NU for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2009 17:47:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41374) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ml8Wm-0006Pq-Oc for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2009 17:47:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n88LkwpF015831; Tue, 8 Sep 2009 14:46:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n88LU8OZ012709; Tue, 8 Sep 2009 14:30:08 -0700 Resent-Date: Tue, 8 Sep 2009 14:30:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: James Cloos Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 08 Sep 2009 21:30:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4358 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4358-submit@emacsbugs.donarmstrong.com id=B4358.125244484811008 (code B ref 4358); Tue, 08 Sep 2009 21:30:08 +0000 Original-Received: (at 4358) by emacsbugs.donarmstrong.com; 8 Sep 2009 21:20:48 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n88LKlLe011005 for <4358@emacsbugs.donarmstrong.com>; Tue, 8 Sep 2009 14:20:48 -0700 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id C682E40086; Tue, 8 Sep 2009 21:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1252444845; bh=WyU3KtaRFiCY0Xju7nl5Y3f9YpPAMky9RbnGVkEXokk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; b=ToSqXKcddOu8tFsDPRpDPuhsPpKmzYxIZ/QSGKJ6yZ5Kbca16HzNwW0aFobKCK443 KrlZCwAbMMiRqB8x2b3lx9SIxa+GVIcvcX0ZcVcEX7TZaSpI09K2kR4soQR3tEurBv WL36IAx4cfmWrmLTn89zyxYj/XA3ZAnTNg/twv9k= Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id C1B49884B9; Tue, 8 Sep 2009 21:19:58 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Tue, 08 Sep 2009 16:31:34 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 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: 40 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 08 Sep 2009 17:47:09 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30857 Archived-At: >>>>> "Stefan" == Stefan Monnier writes: Stefan> Try setting debug-on-error to t, and if that doesn't cut it, try Stefan> setting debug-on-signal to t. I thought I had tried that, but apparently not. (Perhaps I fell asleep planning to do it and woke thinking I had???) The backtrace I get from trying to exit the *Summary* buffer for my INBOX folder looks like: Debugger entered--Lisp error: (overflow-error "4294967287") read(#) imap-parse-status() imap-parse-response() imap-arrival-filter(# "* STATUS \"INBOX\" (UNSEEN 4294967287) \n1577 OK STATUS completed \n") accept-process-output(# 0 100) imap-wait-for-tag(1577 nil) imap-send-command-wait(("STATUS \"" "INBOX" "\" " "(UNSEEN)")) imap-mailbox-status("INBOX" unseen " *nnimap* lugabout") nnimap-update-unseen("INBOX" "lugabout") nnimap-close-group("INBOX" "lugabout") gnus-close-group("nnimap+lugabout:INBOX") gnus-summary-exit() call-interactively(gnus-summary-exit nil nil) which (of course) shows that the imapd is sending the large value. Which quite simply does not make sense, as there are certainly not that many unseen messages in INBOX. A quick check via telnet shows that the imapd does indeed reply to a STATUS INBOX (UNSEEN) command with that string, so I'll have to debug that. But it would still be nice if gnus didn't crap out when that occurs. What can be done to deal with that w/o raising an exception? -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6