From unknown Sat Jun 21 05:17:42 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3422: 23.0.94; window-height returns window buffer Reply-To: Lennart Borgman , 3422@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 13:25:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3422 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124368962411174 (code B ref -1); Sat, 30 May 2009 13:25:07 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 30 May 2009 13:20:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.2 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UDKI1C011151 for ; Sat, 30 May 2009 06:20:19 -0700 Received: from mail.gnu.org ([199.232.76.166]:41190 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MAOTx-0007c0-8r for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:20:17 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MAOTw-00014w-9T for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:20:17 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:53284) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAOTv-00014g-Ud for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:20:16 -0400 Received: by fxm17 with SMTP id 17so7376837fxm.42 for ; Sat, 30 May 2009 06:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Zmcb2VKRyyQHfjcdD0RjGpmg8I9rln/ey8zeQJ9ei7c=; b=X3qau5LzKL89XuGhO5bR3F0ubBDKfO4NDl2dY1oHfGKfw/v3x6Qp3cFSwAQAVldoTz m5spe1r5IEzHOsXxb1zl0wqoApze27x0TtgJMUng2cP0SWedq2B+rz2evlt9pNdRoBkg 6/pLcToLUpu4GpDkvZYnn1xESOZaYUYGDXqhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pfgLveZ+Alc7dcmFTNsmRQkKAR32D4G5DiF+ZiaFlvJkBz0AC8R1QSmp1AJnwklofL OVoqjfGbv4eD0MUeoSaBn7M/s1Qjctrz/H/hrqtuYjvbctlg7FmkvsiQPt9myWRCz9p+ hEn4RtbIAfa+5eBpCSWfTe9u0t1/larO4vBYE= MIME-Version: 1.0 Received: by 10.239.134.132 with SMTP id 4mr253225hbz.131.1243689614259; Sat, 30 May 2009 06:20:14 -0700 (PDT) Date: Sat, 30 May 2009 15:20:14 +0200 Message-ID: From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) I do not think I can reproduce this, but (window-height win) just returned the buffer win was displaying. I can reproduce it now, but I doubt I can when I have restarted Emacs. This was with my patched Emacs, but there is no patches in window.c. I suspect that this has something to do with frame creation since I have seen many crashes there. Another possibility is w32 resources. I see a steady increase in GDI Objects in Windows Task Manager and when that starts to get high very strange things can happen (though it is perhaps some other resource that is depleted). After restarting Emacs I still see some problems. I can't use ediff-revision, I get Debugger entered--Lisp error: (error "Running cvs -Q update -p window.c...FAILED (status 255)") but that may of course be totally unrelated. In GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600) of 2009-05-23 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' From unknown Sat Jun 21 05:17:42 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3422: 23.0.94; window-height returns window buffer Reply-To: Eli Zaretskii , 3422@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 13:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3422 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3422-submit@emacsbugs.donarmstrong.com id=B3422.124369123417124 (code B ref 3422); Sat, 30 May 2009 13:50:04 +0000 Received: (at 3422) by emacsbugs.donarmstrong.com; 30 May 2009 13:47:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UDl92u017094 for <3422@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 06:47:10 -0700 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KKG00F00M1ZEZ00@i_mtaout2.012.net.il> for 3422@emacsbugs.donarmstrong.com; Sat, 30 May 2009 16:47:03 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.115.215]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KKG00K69MAESH70@i_mtaout2.012.net.il>; Sat, 30 May 2009 16:47:03 +0300 (IDT) Date: Sat, 30 May 2009 16:47:02 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Lennart Borgman , 3422@debbugs.gnu.org Message-id: <83eiu64sa1.fsf@gnu.org> References: > Date: Sat, 30 May 2009 15:20:14 +0200 > From: Lennart Borgman > Cc: > > After restarting Emacs I still see some problems. I can't use > ediff-revision, I get > > Debugger entered--Lisp error: (error "Running cvs -Q update -p > window.c...FAILED (status 255)") A full backtrace might be extremely useful here. From unknown Sat Jun 21 05:17:42 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3422: 23.0.94; window-height returns window buffer Reply-To: Lennart Borgman , 3422@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 14:00:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3422 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3422-submit@emacsbugs.donarmstrong.com id=B3422.124369172718835 (code B ref 3422); Sat, 30 May 2009 14:00:05 +0000 Received: (at 3422) by emacsbugs.donarmstrong.com; 30 May 2009 13:55:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, MURPHY_WRONG_WORD2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-bw0-f205.google.com (mail-bw0-f205.google.com [209.85.218.205]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UDtKeV018699 for <3422@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 06:55:22 -0700 Received: by bwz1 with SMTP id 1so7403779bwz.1 for <3422@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 06:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GUi5+qZ8GRr0d8zvXSTk+9T0o0j6Of16zDKeUcDgXjU=; b=a476Ocp914Z+5IhcbhbrUkC/LtzwdkFPJ11sD/3g8yeuNc2lAK1sjpiWx5Oo8636e0 NNn84axBchUfyj0AcC+8AtaD7xHRIJTRl2FPtVJcWiPUBzqXtVMcG/eUCw96TZV1BEq1 9G7PZFdVZwc6lAPzy8JXj8TMuSCugLiedGgDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bYhT+lxVjwHFH28lJkqAiUI1sz9rwGncT6oU5O+BX9Z7lSOUO7v77E+6dpHoM5aRco o34ec+H+Pdww8Xqu0eNkbbaj88GVHZsVSyxlRG7aTaIwsOn+H1tQcKlVdVDoT93zRpgR 8d4ufg7xrxxAyeIYbKOtOpeQOhDptKu+ftlbk= MIME-Version: 1.0 Received: by 10.239.179.198 with SMTP id e6mr269345hbg.98.1243691714899; Sat, 30 May 2009 06:55:14 -0700 (PDT) In-Reply-To: <83eiu64sa1.fsf@gnu.org> References: <83eiu64sa1.fsf@gnu.org> Date: Sat, 30 May 2009 15:55:14 +0200 Message-ID: From: Lennart Borgman To: Eli Zaretskii Cc: 3422@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, May 30, 2009 at 3:47 PM, Eli Zaretskii wrote: >> Date: Sat, 30 May 2009 15:20:14 +0200 >> From: Lennart Borgman >> Cc: >> >> After restarting Emacs I still see some problems. I can't use >> ediff-revision, I get >> >> =C2=A0 Debugger entered--Lisp error: (error "Running cvs -Q update =C2= =A0-p >> window.c...FAILED (status 255)") > > A full backtrace might be extremely useful here. After rebooting I tested again and it looks like savannah is down so this is no problem. I was just unsure before rebooting so I included this too. However the other problem worries me. As I said it might be related to frame creation. I have code that creates several frames in a row. I get no errors, but Emacs has on several occasions crashed later. I did not see any such crashes until I started using the code which creates frames. This code is run at Emacs startup just after desktop. It restores frames and windows. make-frame gets parameters like this '((icon-name) (top + -4) (left + -4) (unsplittable) (width . 235) (height . 64) (visibility . t) (modeline . t) (background-mode . light) (alpha) (scroll-bar-width . 17) (cursor-type . box) (auto-lower) (auto-raise) (icon-type) (buffer-predicate) (tool-bar-lines . 0) (menu-bar-lines . 1) (right-fringe . 8) (left-fringe . 8) (line-spacing) (screen-gamma) (border-color . "black") (cursor-color . "black") (mouse-color . "black") (background-color . "SystemWindow") (foreground-color . "SystemWindowText") (vertical-scroll-bars . right) (internal-border-width . 0) (border-width . 2) (font . "-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1") (font-backend uniscribe gdi)) I do not know if this info can help. I also do some window creation and size modification when restoring the frames. There could be something in those C routines that are called there, but I have never seen any crashes when using the same routines interactively (winsav.el, part of nXhtml). From unknown Sat Jun 21 05:17:42 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3422: 23.0.94; window-height returns window buffer Reply-To: Jason Rumney , 3422@debbugs.gnu.org Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 14:05:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3422 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124369200019643 (code B ref -1); Sat, 30 May 2009 14:05:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 30 May 2009 14:00:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UDxtw8019625 for ; Sat, 30 May 2009 06:59:56 -0700 Received: from mx10.gnu.org ([199.232.76.166]:54408) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MAP6I-0000GP-H0 for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:59:54 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MAP6H-0005Ym-QQ for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:59:54 -0400 Received: from mail-px0-f179.google.com ([209.85.216.179]:52269) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAP6H-0005YW-EE for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:59:53 -0400 Received: by pxi9 with SMTP id 9so6597997pxi.14 for ; Sat, 30 May 2009 06:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=NnM9fMfyHVyKXpnIQlm8/iYiGV1rhjpu0JPtHBVrz8c=; b=ED9IiJg2JeWQVfOHcwhU8TNoiuR9Mrv5BeGF46Xgfo40NMbZPDtDvil9Z0m/e3yJoL eHfGUy9ROE7tE5hX6Q6o4/9yV95ZSozVkasW9nKeKeZij19XisObKeu+gakc6eBdWXzg wKHxOF5iUZ4fTAQvs6s8h9JthPPtv2YVz8zwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ltL2MHWVlZTz2m/XVHfnaOKTYXIWEfr21cIJaR8k7ob7SdyENlmxaD/3CFHpoEBVfJ ED3a20af0FoSSqtP+oXX2fIVgN4UnYXLOxDba4q3yWOFzbaOjZHHLu9KoWz3iLSFTQz0 PmMLWqThmKyC07nV98BZjdHvtnOxU/H49Lesg= Received: by 10.142.212.21 with SMTP id k21mr1259274wfg.125.1243691991947; Sat, 30 May 2009 06:59:51 -0700 (PDT) Received: from ?192.168.249.26? ([118.100.162.226]) by mx.google.com with ESMTPS id 32sm2305850wfa.33.2009.05.30.06.59.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 30 May 2009 06:59:51 -0700 (PDT) Sender: Jason Rumney Message-ID: <4A213BB7.3010608@gnu.org> Date: Sat, 30 May 2009 21:59:19 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Lennart Borgman , 3422@debbugs.gnu.org CC: emacs-pretest-bug@gnu.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Lennart Borgman wrote: > I do not think I can reproduce this, but (window-height win) just > returned the buffer win was displaying. I can reproduce it now, but I > doubt I can when I have restarted Emacs. > Are you saying that memory is corrupted such that the current window's total_lines member holds a buffer? > This was with my patched Emacs, but there is no patches in window.c. It doesn't matter where your patches are if they are causing the memory corruption. > I > suspect that this has something to do with frame creation since I have > seen many crashes there. Another possibility is w32 resources. I see a > steady increase in GDI Objects in Windows Task Manager and when that > starts to get high very strange things can happen (though it is > perhaps some other resource that is depleted). > What are you doing when you see this steady increase? Do you also see it in the current pretest or CVS trunk? From unknown Sat Jun 21 05:17:42 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3422: 23.0.94; window-height returns window buffer Reply-To: Lennart Borgman , 3422@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 14:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3422 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124369243122259 (code B ref -1); Sat, 30 May 2009 14:10:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 30 May 2009 14:07:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UE76vD022253 for ; Sat, 30 May 2009 07:07:08 -0700 Received: from mail.gnu.org ([199.232.76.166]:55969 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MAPDG-0000VW-5A for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 10:07:06 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MAPDF-0007lT-5j for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 10:07:05 -0400 Received: from mail-bw0-f161.google.com ([209.85.218.161]:40216) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAPDE-0007l7-68; Sat, 30 May 2009 10:07:04 -0400 Received: by bwz5 with SMTP id 5so7291082bwz.42 for ; Sat, 30 May 2009 07:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6At0Cl+qLemm3bueOSdFBOW+YRnGQr5UNlXKv6JOK9Y=; b=SE7l1lYNmwA2L/QxEJEv9l2glpt4uOvhpS/i7JE7fjD06lUNMe2iCfjG8dgK4BaBrm x+SsmR/dQlVoGZZABuFJqiDIxLnAiPRc4IJ29mw8ipZtP4bPC3em9MB8LWxJJAc0d82b ToCna+iLgB6qFtdP7KwTjIQVI2lEumFkk2Lg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lyeIR41YanbZDFgbI0lGk9AXdaC2JsqnjXkwM1e8YCXUFXaXHBIRvLKrbKTImmQhi6 y+yEEYw0SZ/aeAFH6rtUpVStQgJWc1fNQX9Nk+/wJzkNOBxxXQFJvbcrXUSH2xfNW/Hc lLMg8dX8xI0TBS/51GCyVGNeEH0VYB9B0eip8= MIME-Version: 1.0 Received: by 10.239.156.146 with SMTP id m18mr287566hbc.24.1243692423253; Sat, 30 May 2009 07:07:03 -0700 (PDT) In-Reply-To: <4A213BB7.3010608@gnu.org> References: <4A213BB7.3010608@gnu.org> Date: Sat, 30 May 2009 16:07:03 +0200 Message-ID: From: Lennart Borgman To: Jason Rumney Cc: 3422@debbugs.gnu.org, emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) On Sat, May 30, 2009 at 3:59 PM, Jason Rumney wrote: > Lennart Borgman wrote: >> >> I do not think I can reproduce this, but (window-height win) just >> returned the buffer win was displaying. I can reproduce it now, but I >> doubt I can when I have restarted Emacs. >> > > Are you saying that memory is corrupted such that the current window's > total_lines member holds a buffer? > >> This was with my patched Emacs, but there is no patches in window.c. > > It doesn't matter where your patches are if they are causing the memory > corruption. > >> =C2=A0I >> suspect that this has something to do with frame creation since I have >> seen many crashes there. Another possibility is w32 resources. I see a >> steady increase in GDI Objects in Windows Task Manager and when that >> starts to get high very strange things can happen (though it is >> perhaps some other resource that is depleted). >> > > What are you doing when you see this steady increase? Do you also see it = in > the current pretest or CVS trunk? I do not think this is related to Emacs. It is a bug in xp (and I think w2k too) in the handling of sticky keys. At each menu invocation and window switching xp eats gdi objects. I have actually reported this to ms, but ... From cyd@stupidchicken.com Sat Jun 27 13:59:54 2009 Received: (at control) by emacsbugs.donarmstrong.com; 27 Jun 2009 20:59:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL,VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po32.its.yale.edu (pantheon-po32.its.yale.edu [130.132.50.88]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5RKxoD9023589 for ; Sat, 27 Jun 2009 13:59:51 -0700 Received: from furry (c-71-192-161-14.hsd1.nh.comcast.net [71.192.161.14]) (authenticated bits=0) by pantheon-po32.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5RKxjPW017136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 27 Jun 2009 16:59:45 -0400 Received: by furry (Postfix, from userid 1000) id 0F76AC09B; Sat, 27 Jun 2009 16:59:45 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: tag 3422 Date: Sat, 27 Jun 2009 16:59:45 -0400 Message-ID: <877hyx1jge.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) tags 3422 + moreinfo unreproducible thanks From unknown Sat Jun 21 05:17:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Lennart Borgman Subject: bug#3422: closed (Re: bug#3422: 23.0.94; window-height returns window buffer) Message-ID: References: X-Gnu-PR-Message: they-closed 3422 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: unreproducible moreinfo Reply-To: 3422@debbugs.gnu.org Date: Sun, 10 Jul 2011 00:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1310257622-24132-1" This is a multi-part message in MIME format... ------------=_1310257622-24132-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #3422: 23.0.94; window-height returns window buffer which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 3422@debbugs.gnu.org. --=20 3422: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3422 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1310257622-24132-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3422-done) by debbugs.gnu.org; 10 Jul 2011 00:26:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfhrH-0006Gn-P6 for submit@debbugs.gnu.org; Sat, 09 Jul 2011 20:26:51 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfhrF-0006Ga-TC for 3422-done@debbugs.gnu.org; Sat, 09 Jul 2011 20:26:50 -0400 Received: from localhost ([127.0.0.1]:43958) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfhr8-00073j-E1; Sat, 09 Jul 2011 20:26:42 -0400 From: Glenn Morris To: 3422-done@debbugs.gnu.org Subject: Re: bug#3422: 23.0.94; window-height returns window buffer References: <83eiu64sa1.fsf@gnu.org> X-Spook: nitrate mindwar argus NASA Project Monarch asset Bin X-Ran: &V2$[]A'\`tAlYyH'__^i?&#q#\u%C-~jKCeG8K0}&U&LY5k9JBi77 (Eli Zaretskii's message of "Sat, 30 May 2009 16:47:02 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 3422-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) I don't see that anything can be done with the information in this report. ------------=_1310257622-24132-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 30 May 2009 13:20:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.2 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UDKI1C011151 for ; Sat, 30 May 2009 06:20:19 -0700 Received: from mail.gnu.org ([199.232.76.166]:41190 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MAOTx-0007c0-8r for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:20:17 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MAOTw-00014w-9T for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:20:17 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:53284) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAOTv-00014g-Ud for emacs-pretest-bug@gnu.org; Sat, 30 May 2009 09:20:16 -0400 Received: by fxm17 with SMTP id 17so7376837fxm.42 for ; Sat, 30 May 2009 06:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Zmcb2VKRyyQHfjcdD0RjGpmg8I9rln/ey8zeQJ9ei7c=; b=X3qau5LzKL89XuGhO5bR3F0ubBDKfO4NDl2dY1oHfGKfw/v3x6Qp3cFSwAQAVldoTz m5spe1r5IEzHOsXxb1zl0wqoApze27x0TtgJMUng2cP0SWedq2B+rz2evlt9pNdRoBkg 6/pLcToLUpu4GpDkvZYnn1xESOZaYUYGDXqhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pfgLveZ+Alc7dcmFTNsmRQkKAR32D4G5DiF+ZiaFlvJkBz0AC8R1QSmp1AJnwklofL OVoqjfGbv4eD0MUeoSaBn7M/s1Qjctrz/H/hrqtuYjvbctlg7FmkvsiQPt9myWRCz9p+ hEn4RtbIAfa+5eBpCSWfTe9u0t1/larO4vBYE= MIME-Version: 1.0 Received: by 10.239.134.132 with SMTP id 4mr253225hbz.131.1243689614259; Sat, 30 May 2009 06:20:14 -0700 (PDT) Date: Sat, 30 May 2009 15:20:14 +0200 Message-ID: Subject: 23.0.94; window-height returns window buffer From: Lennart Borgman To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) I do not think I can reproduce this, but (window-height win) just returned the buffer win was displaying. I can reproduce it now, but I doubt I can when I have restarted Emacs. This was with my patched Emacs, but there is no patches in window.c. I suspect that this has something to do with frame creation since I have seen many crashes there. Another possibility is w32 resources. I see a steady increase in GDI Objects in Windows Task Manager and when that starts to get high very strange things can happen (though it is perhaps some other resource that is depleted). After restarting Emacs I still see some problems. I can't use ediff-revision, I get Debugger entered--Lisp error: (error "Running cvs -Q update -p window.c...FAILED (status 255)") but that may of course be totally unrelated. In GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600) of 2009-05-23 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' ------------=_1310257622-24132-1-- From unknown Sat Jun 21 05:17:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#3422: 23.0.94; window-height returns window buffer Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2011 00:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3422 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: 3422@debbugs.gnu.org, rgm@gnu.org Cc: 3422-done@debbugs.gnu.org Received: via spool by 3422-submit@debbugs.gnu.org id=B3422.131025856325879 (code B ref 3422); Sun, 10 Jul 2011 00:43:02 +0000 Received: (at 3422) by debbugs.gnu.org; 10 Jul 2011 00:42:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfi6d-0006jJ-C0 for submit@debbugs.gnu.org; Sat, 09 Jul 2011 20:42:43 -0400 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfi6a-0006j1-DA; Sat, 09 Jul 2011 20:42:41 -0400 Received: by eye13 with SMTP id 13so1250709eye.3 for ; Sat, 09 Jul 2011 17:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WTDXIDwKcC0SEhu/1CRD+1Bk6XA2567F4tTUG0ons4M=; b=eGKnHOgtFX2Jxe0bp6fsnK2Qy+o+Mx4Regtb/cvrMkqY1G+qYSWTZ6MoEdLGcMANvH 4Q0pi/s9XubxalKsiS2LQms0lO/hQf+8fpFTl9et00IloRBVrZNTe6JjaNatf9v4a2IZ H89JPnDDww2sTyueYJeQUgf8MDaxFJ9+yXa7k= Received: by 10.213.27.143 with SMTP id i15mr1136917ebc.38.1310258554747; Sat, 09 Jul 2011 17:42:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.114.16 with HTTP; Sat, 9 Jul 2011 17:42:14 -0700 (PDT) In-Reply-To: References: <83eiu64sa1.fsf@gnu.org> From: Lennart Borgman Date: Sun, 10 Jul 2011 02:42:14 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) On Sun, Jul 10, 2011 at 02:26, Glenn Morris wrote: > > I don't see that anything can be done with the information in this report. No. This was just sent for information.