From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#13154: 24.3.50; emacs_backtrace.txt (different one) Date: Thu, 13 Dec 2012 11:29:34 +0100 Message-ID: <50C9AE0E.7030608@gmx.at> References: <71C954CE83CD4097847383645A95BD14@us.oracle.com> <838v938b38.fsf@gnu.org> <831uev85mk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1355394634 21568 80.91.229.3 (13 Dec 2012 10:30:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 10:30:34 +0000 (UTC) Cc: 13154@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 13 11:30:46 2012 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 1Tj63s-0001oU-RO for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 11:30:40 +0100 Original-Received: from localhost ([::1]:43740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj63e-0006do-MB for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 05:30:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj63Y-0006dY-8k for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 05:30:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj63P-0007p1-ET for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 05:30:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj63P-0007o0-B4 for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 05:30:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tj64D-0000iG-Pm for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 05:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Dec 2012 10:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13154 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13154-submit@debbugs.gnu.org id=B13154.13553946462695 (code B ref 13154); Thu, 13 Dec 2012 10:31:01 +0000 Original-Received: (at 13154) by debbugs.gnu.org; 13 Dec 2012 10:30:46 +0000 Original-Received: from localhost ([127.0.0.1]:40108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tj63x-0000hQ-Jy for submit@debbugs.gnu.org; Thu, 13 Dec 2012 05:30:46 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:51913) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1Tj63u-0000hF-NP for 13154@debbugs.gnu.org; Thu, 13 Dec 2012 05:30:43 -0500 Original-Received: (qmail invoked by alias); 13 Dec 2012 10:29:49 -0000 Original-Received: from 62-47-56-185.adsl.highway.telekom.at (EHLO [62.47.56.185]) [62.47.56.185] by mail.gmx.net (mp004) with SMTP; 13 Dec 2012 11:29:49 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+iraYFYI6iZZWrJXelrdwS4sMwFNFZOP0Fz5XP5m 1fecEMhM3RQXwK In-Reply-To: <831uev85mk.fsf@gnu.org> X-Y-GMX-Trusted: 0 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:68449 Archived-At: > Martin, any advice or ideas? If Drew didn't set up this hook, what > other code could do that? IIUC the only useful lines in the backtrace are run_window_configuration_change_hook at C:\emacs\trunk\src/window.c:3105 Fset_window_configuration at C:\emacs\trunk\src/window.c:5867 ... temp_output_buffer_show at C:\emacs\trunk\src/window.c:3374 so the obvious first conclusion is that moving code from C to Elisp harms interpreting stuff like emacs_backtrace.txt ;-) From the backtrace I understand that Drew did show a temporary buffer and (probably after being done with that) restored a previous window configuration. This could come from a `with-output-to-temp-buffer' wrapped in a `save-window-excursion', which as we know is evil but usually not evil enough to corrupt the stack. `set-window-configuration' runs `window-configuration-change-hook' which is normal. There might be some function on the hook (like those from linum.el) but I doubt that Drew uses that. And I doubt that anything done here can corrupt the stack. martin