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#23369: 25.0.93; CANNOT_DUMP build fails if resizing terminal during startup in tty mode Date: Thu, 28 Apr 2016 08:28:47 +0300 Message-ID: <83eg9qxpww.fsf@gnu.org> References: <8337qa3yzf.fsf@gnu.org> <83shya2eiq.fsf@gnu.org> <83d1pbzgpy.fsf@gnu.org> <83wpnjx933.fsf@gnu.org> <8mvb32ripi.fsf@fencepost.gnu.org> <83r3dqyhrq.fsf@gnu.org> <3zd1pakbqe.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1461821422 14454 80.91.229.3 (28 Apr 2016 05:30:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 05:30:22 +0000 (UTC) Cc: 23369@debbugs.gnu.org, fredrik@fornwall.net To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 07:30:11 2016 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 1aveWh-0003OR-Jc for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 07:30:11 +0200 Original-Received: from localhost ([::1]:46578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aveWh-0004FM-3S for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 01:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aveWc-0004Ap-9p for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 01:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aveWZ-0003GX-2m for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 01:30:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aveWY-0003GT-Vi for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 01:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aveWY-00061K-NS for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 01:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2016 05:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23369 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 23369-submit@debbugs.gnu.org id=B23369.146182135123053 (code B ref 23369); Thu, 28 Apr 2016 05:30:02 +0000 Original-Received: (at 23369) by debbugs.gnu.org; 28 Apr 2016 05:29:11 +0000 Original-Received: from localhost ([127.0.0.1]:51079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aveVj-0005zk-8A for submit@debbugs.gnu.org; Thu, 28 Apr 2016 01:29:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aveVi-0005zY-Aa for 23369@debbugs.gnu.org; Thu, 28 Apr 2016 01:29:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aveVZ-0002sF-VT for 23369@debbugs.gnu.org; Thu, 28 Apr 2016 01:29:05 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aveVZ-0002sB-S4; Thu, 28 Apr 2016 01:29:01 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3519 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aveVY-0002F3-ND; Thu, 28 Apr 2016 01:29:01 -0400 In-reply-to: <3zd1pakbqe.fsf@fencepost.gnu.org> (message from Glenn Morris on Wed, 27 Apr 2016 17:01:13 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:117011 Archived-At: > From: Glenn Morris > Cc: fredrik@fornwall.net, 23369@debbugs.gnu.org > Date: Wed, 27 Apr 2016 17:01:13 -0400 > > Anyway, I managed to get a useful backtrace, which revealed the real > problem, and a trivial fix: > > Lisp Backtrace: > "frames-on-display-list" (0xffff17e0) > "let" (0xffff19d0) > "mapcar" (0xffff1d50) > "apply" (0xffff1ed0) > "cons" (0xffff1ff0) > "internal--before-save-selected-window" (0xffff2160) > "let" (0xffff2450) > "save-selected-window" (0xffff2570) > "walk-windows" (0xffff26e0) > "let" (0xffff2a20) > "window--process-window-list" (0xffff2b90) > "let" (0xffff2e80) > "dolist" (0xffff2fa0) > "window--adjust-process-windows" (0xffff31e0) > "load" (0xffff3800) > > *** a/lisp/window.el > --- b/lisp/window.el > *************** > *** 8520,8525 **** > --- 8520,8526 ---- > displaying that processes's buffer." > (let ((processes (process-list)) > (process-windows nil)) > + (when processes > (walk-windows > (lambda (window) > (let ((buffer (window-buffer window)) > *************** > *** 8538,8544 **** > nil) > (setf iter (cdr iter))))))) > 1 t) > ! process-windows)) > > (defun window--adjust-process-windows () > "Update process window sizes to match the current window configuration." > --- 8539,8545 ---- > nil) > (setf iter (cdr iter))))))) > 1 t) > ! process-windows))) > > (defun window--adjust-process-windows () > "Update process window sizes to match the current window configuration." > Thanks. > > But the error message is actually quite informative; at the very > > least, it tells where the problem happened, and frequently also names > > the guilty function or variable. > > I feel like we are miscommunicating. > > Neither of the errors mentioned in the original report (NSTATICS, > internal-echo-keystrokes-prefix) have anything to do with the real > problem. They are just noise caused by an Emacs with half its loadup > missing falling through to the command-loop and inevitably failing > miserably. This is not informative. If there is an error loading loadup, > it should print it and abort. (I see I am repeating > http://debbugs.gnu.org/22975#38 ). We have different experiences. Those messages did help me when I was debugging similar problems. (I see I am repeating http://debbugs.gnu.org/22975#44 ).