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#7728: 24.0.50; GDB backtrace from abort Date: Wed, 12 Jan 2011 06:11:02 +0200 Message-ID: <83k4iaiwx5.fsf@gnu.org> References: <30041A5C411E45A7B7AF7A9ECA3AA0BE@us.oracle.com> <83y67echvm.fsf@gnu.org> <837heopknq.fsf@gnu.org> <83mxn7i1n1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1294806270 19948 80.91.229.12 (12 Jan 2011 04:24:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Jan 2011 04:24:30 +0000 (UTC) Cc: 7728@debbugs.gnu.org, monnier@IRO.UMontreal.CA To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 12 05:24:25 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 1PcsFz-00030A-Tm for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jan 2011 05:24:24 +0100 Original-Received: from localhost ([127.0.0.1]:51538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcsFz-0000xw-AO for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 23:24:23 -0500 Original-Received: from [140.186.70.92] (port=50416 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcsFr-0000wg-J8 for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 23:24:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcsFq-0001Z2-6u for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 23:24:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcsFq-0001Yx-5A for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 23:24:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PcrwH-0007kt-W3; Tue, 11 Jan 2011 23:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii 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 04:04:01 +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.129480501429775 (code B ref 7728); Wed, 12 Jan 2011 04:04:01 +0000 Original-Received: (at 7728) by debbugs.gnu.org; 12 Jan 2011 04:03:34 +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 1Pcrvq-0007kC-Le for submit@debbugs.gnu.org; Tue, 11 Jan 2011 23:03:34 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pcrvo-0007jy-5a for 7728@debbugs.gnu.org; Tue, 11 Jan 2011 23:03:33 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LEW00J0068YN300@a-mtaout20.012.net.il> for 7728@debbugs.gnu.org; Wed, 12 Jan 2011 06:11:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.131.253]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LEW00J336AB4WA0@a-mtaout20.012.net.il>; Wed, 12 Jan 2011 06:11:00 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 11 Jan 2011 23:04:01 -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:43276 Archived-At: > From: "Drew Adams" > Cc: <7728@debbugs.gnu.org> > Date: Tue, 11 Jan 2011 13:44:34 -0800 > > > Perhaps Drew could publish the relevant parts of the window > > configuration that was being restored in that case (or any other > > similar case). > > Sorry, I don't follow this at all at the C level, and even at the Lisp level I'm > not sure I can be much help here. I think you can. This is about the crash you originally posted in this bug, the one that happened because some window configuration was being restored. Here's the Lisp backtrace you posted: "fit-frame" (0x83ea54) "1on1-fit-minibuffer-frame" (0x83ed70) "run-hooks" (0x83ee3c) "old-read-from-minibuffer" (0x83f404) "read-from-minibuffer" (0x83f620) "list" (0x83f85c) "call-interactively" (0x83fb64) You also said back then: > `fit-frame' is one of my commands. It fits a frame to its (typically > sole) buffer. In this case, it was run on a hook, and it was the > standalone minibuffer frame that was being fit. > > The hook was no doubt from a run-hooks called in or just after (vanilla) > `read-from-minibuffer' (which is written in C - I don't have the recent > source code). I'm guessing that somewhere inside fit-frame you have code that restores configuration of windows that was previously saved. I was asking for showing the relevant parts of that saved configuration, that would perhaps explain why set-window-configuration needs to select a different frame. > In the last GDB backtrace I sent (yesterday), I did the following, in my version > of Emacs, in Icicle mode: > > C-h f g r a p h i c S-TAB > > Then click `mouse-2' on completion candidate `display-graphic-p'. That should > end completion and show *Help* (in a separate frame, in my setup) with the > output of `describe-function'. Instead, Emacs crashes (or whatever you call it > - no error raised). > > That crash (or whatever it is) is reproducible in my setup. This crash is identical to the first one. So if you can show the window configuration data structure used by set-window-configuration in this case, it would be helpful. TIA