From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3422: 23.0.94; window-height returns window buffer Date: Sat, 30 May 2009 16:07:03 +0200 Message-ID: References: <4A213BB7.3010608@gnu.org> Reply-To: Lennart Borgman , 3422@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243693073 4110 80.91.229.12 (30 May 2009 14:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2009 14:17:53 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 3422@emacsbugs.donarmstrong.com To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 30 16:17:48 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 1MAPNW-00027D-4C for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 16:17:42 +0200 Original-Received: from localhost ([127.0.0.1]:33003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAPNV-00063b-FS for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 10:17:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MAPNF-0005x3-BL for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 10:17:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MAPNB-0005ve-EH for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 10:17:24 -0400 Original-Received: from [199.232.76.173] (port=35316 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAPNB-0005vT-9k for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 10:17:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35117) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MAPNA-0001tx-Db for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 10:17:20 -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 n4UEHIXd024294; Sat, 30 May 2009 07:17:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4UEA5Y0022568; Sat, 30 May 2009 07:10:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lennart Borgman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 14:10:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3422 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124369243122259 (code B ref -1); Sat, 30 May 2009 14:10:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 May 2009 14:07:11 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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= Original-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> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 30 May 2009 10:17:24 -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:28323 gmane.emacs.pretest.bugs:24525 Archived-At: 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 ...