From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16033: 24.3.50; window--reseize-this-window, args-out-of-range Date: Tue, 03 Dec 2013 09:34:34 +0200 Message-ID: <83vbz64cc5.fsf@gnu.org> References: <877gbmxxec.fsf@yagnesh.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1386056113 8744 80.91.229.3 (3 Dec 2013 07:35:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2013 07:35:13 +0000 (UTC) Cc: 16033@debbugs.gnu.org To: Yagnesh Raghava Yakkala , Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 03 08:35:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VnkVo-0007Rx-FX for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Dec 2013 08:35:16 +0100 Original-Received: from localhost ([::1]:40622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnkVo-0001Kc-1j for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Dec 2013 02:35:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnkVg-0001IM-8i for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 02:35:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnkVa-0000z8-Vi for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 02:35:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnkVa-0000yF-SG for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 02:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VnkVa-0002rq-23 for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 02:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Dec 2013 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16033 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16033-submit@debbugs.gnu.org id=B16033.138605608610989 (code B ref 16033); Tue, 03 Dec 2013 07:35:02 +0000 Original-Received: (at 16033) by debbugs.gnu.org; 3 Dec 2013 07:34:46 +0000 Original-Received: from localhost ([127.0.0.1]:55430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnkVK-0002rB-2G for submit@debbugs.gnu.org; Tue, 03 Dec 2013 02:34:46 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:54306) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnkVE-0002qG-Ri for 16033@debbugs.gnu.org; Tue, 03 Dec 2013 02:34:42 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MX700J00ZIFSX00@a-mtaout22.012.net.il> for 16033@debbugs.gnu.org; Tue, 03 Dec 2013 09:34:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MX700I0FZPKZ0D0@a-mtaout22.012.net.il>; Tue, 03 Dec 2013 09:34:32 +0200 (IST) In-reply-to: <877gbmxxec.fsf@yagnesh.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81284 Archived-At: > From: Yagnesh Raghava Yakkala > Date: Tue, 03 Dec 2013 15:26:51 +0900 > > > Latest build from emacs > trunk(yamaoka@jpl.org-20131203045417-2co55ww8uqmoh5cb) I get the > following backtrace. > > --8<---------------cut here---------------start------------->8--- > Debugger entered--Lisp error: (args-out-of-range -19 0 2147483001) > set-window-new-pixel(# -19 t) > window--resize-this-window(# -19 nil nil t before 646) Paul, it's because of your commit: revno: 115359 committer: Paul Eggert branch nick: trunk timestamp: Tue 2013-12-03 02:27:10 +0000 message: Minor integer overflow fixes. * window.c (Fset_window_new_pixel, grow_mini_window): * xdisp.c (Fwindow_text_pixel_size): Avoid undefined behavior on signed integer overflow. * xfns.c (x_set_mouse_color): Check that drag shape fits in 'unsigned', since that's what X wants. The modified test at the beginning of Fset_window_new_pixel doesn't DTRT when SIZE is negative (which it legitimately can be when ADD is non-nil).