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#14062: 24.3.50; emacs_backtrace.txt Date: Mon, 15 Apr 2013 19:21:24 +0300 Message-ID: <83obdf69yz.fsf@gnu.org> References: <75799AB3F22B457D85197F174077F208@us.oracle.com> <83wqstxrbo.fsf@gnu.org> <83fvzhxcdn.fsf@gnu.org> <8338vfyiy4.fsf@gnu.org> <838v4k6yc4.fsf@gnu.org> <516BF54E.9020802@gmx.at> <83y5cj6fo5.fsf@gnu.org> <516C2276.3020006@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366043016 27651 80.91.229.3 (15 Apr 2013 16:23:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 16:23:36 +0000 (UTC) Cc: lekktu@gmail.com, 14062@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 15 18:23:39 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 1URmBv-0007D0-FH for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Apr 2013 18:23:39 +0200 Original-Received: from localhost ([::1]:56590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URmBu-0005Od-VX for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Apr 2013 12:23:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URmB8-0003Yz-Ug for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2013 12:22:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URmB7-0007p6-Iv for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2013 12:22:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URmB7-0007p2-G9 for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2013 12:22:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1URmFB-0000Tr-Jv for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2013 12:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Apr 2013 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14062 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 14062-submit@debbugs.gnu.org id=B14062.13660431721727 (code B ref 14062); Mon, 15 Apr 2013 16:27:01 +0000 Original-Received: (at 14062) by debbugs.gnu.org; 15 Apr 2013 16:26:12 +0000 Original-Received: from localhost ([127.0.0.1]:52602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URmEM-0000Rm-9z for submit@debbugs.gnu.org; Mon, 15 Apr 2013 12:26:11 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60614) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URmEJ-0000RX-PG for 14062@debbugs.gnu.org; Mon, 15 Apr 2013 12:26:08 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MLB001001F3I900@a-mtaout22.012.net.il> for 14062@debbugs.gnu.org; Mon, 15 Apr 2013 19:21:14 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MLB001LG1FD6G90@a-mtaout22.012.net.il>; Mon, 15 Apr 2013 19:21:14 +0300 (IDT) In-reply-to: <516C2276.3020006@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:73434 Archived-At: > Date: Mon, 15 Apr 2013 17:53:26 +0200 > From: martin rudalics > CC: drew.adams@oracle.com, lekktu@gmail.com, 14062@debbugs.gnu.org > > > Only a non-leaf window can have its w->contents be something other > > than a buffer, right? If BUFFERP(w->contents) returns zero > > ... for an internal window w->contents _must_ be another window, only > for deleted windows this can be nil (but Dmitry would have to verify > this, I didn't look at his last changes yet) ... But for nil, BUFFERP will return zero, and the code that uses XBUFFER should not be called, IMO. > > and > > XBUFFER hits an assertion violation, what else can this window be > > except non-leaf? > > A window with an uninitialized contents field. Such windows exist from > the moment they are allocated by make_window until they either get a > child or a buffer in the contents field. But the uninitialized contents field should be zero, no? Again, it should not pass the BUFFERP test. So the mystery still stands. > > I don't think so. I examined the preprocessed source, and didn't see > > any instance of missing parentheses. I added some just so someone who > > looks at the macros won't wonder, like I did, whether this could be > > the problem. > > > > But even if you are right, and the problem will now disappear, we can > > still resolve this bug by simply going back to the original code. > > I don't think the problem will disappear this way. Neither do I.