From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#7728: 24.0.50; GDB backtrace from abort Date: Wed, 12 Jan 2011 11:52:37 -0800 Message-ID: <6CB17305FD514720A3FE15175925A70E@us.oracle.com> References: <30041A5C411E45A7B7AF7A9ECA3AA0BE@us.oracle.com> <83y67echvm.fsf@gnu.org> <837heopknq.fsf@gnu.org> <83mxn7i1n1.fsf@gnu.org> <83k4iaiwx5.fsf@gnu.org> <6D69BDC7C30A489E951AA9F922B92FBF@us.oracle.com> <83ei8iidtq.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294863942 4296 80.91.229.12 (12 Jan 2011 20:25:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Jan 2011 20:25:42 +0000 (UTC) Cc: 7728@debbugs.gnu.org, monnier@IRO.UMontreal.CA To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 12 21:25:37 2011 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.69) (envelope-from ) id 1Pd7G9-0000db-Eh for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jan 2011 21:25:37 +0100 Original-Received: from localhost ([127.0.0.1]:53555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pd7G6-0003Qq-MR for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jan 2011 15:25:30 -0500 Original-Received: from [140.186.70.92] (port=46866 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pd7Eu-0002lY-Sh for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 15:24:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pd7Et-0006U4-LX for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 15:24:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pd7Et-0006U0-Id for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 15:24:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pd6es-0004yE-DR; Wed, 12 Jan 2011 14:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jan 2011 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7728 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7728-submit@debbugs.gnu.org id=B7728.129486157019037 (code B ref 7728); Wed, 12 Jan 2011 19:47:02 +0000 Original-Received: (at 7728) by debbugs.gnu.org; 12 Jan 2011 19:46:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pd6e1-0004x0-Vc for submit@debbugs.gnu.org; Wed, 12 Jan 2011 14:46:10 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pd6e0-0004wm-ET for 7728@debbugs.gnu.org; Wed, 12 Jan 2011 14:46:08 -0500 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p0CJrbMv021035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Jan 2011 19:53:38 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p0CInBsP031088; Wed, 12 Jan 2011 19:53:37 GMT Original-Received: from abhmt016.oracle.com by acsmt355.oracle.com with ESMTP id 954526951294861957; Wed, 12 Jan 2011 11:52:37 -0800 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 12 Jan 2011 11:52:37 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83ei8iidtq.fsf@gnu.org> Thread-Index: AcuySFmNcrsyEDwwSNe33DJ8B7jxyAASC4XA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 12 Jan 2011 14:47:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:43314 Archived-At: > But I see that fit-frame uses save-window-excursion. So it will call > set-window-configuration after the form inside save-window-excursion > is evaluated. > > Can you see what window configuration is saved and restored there, and > post that configuration here? I loaded the source files fit-frame.el and oneonone.el and stepped through `1on1-fit-minibuffer-frame'. (Note: It does not crash when the source files are loaded, but you just wanted to know what windows are involved etc. The source-file debugging might not tell us what the problem is with the byte-compiled file, however. I could try debugging with the latter, but typically the debugger doesn't show you much then. I could add calls to `message' instead of using the debugger, if you wish - let me know.) >From the start the selected window and selected frame are already the minibuffer window and minibuffer frame. The `save-window-excursion' just moves to select that window and frame (already selected), so the destination and the origin are the same (`save-selected-window-window' is also the destination). In this context, the `save-window-excursion' should amount to a no-op. I do not see any explicit window configs in the debugger - I see only window and frame selection. `save-window-excursion' just seems to save the selected window and list of frames, and then restore them. HTH.