GNU bug report logs - #13154
24.3.50; emacs_backtrace.txt (different one)

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 12 Dec 2012 05:06:02 UTC

Severity: normal

Tags: moreinfo

Merged with 13980, 14236, 14298

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 13154 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13154 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#13154: 24.3.50; emacs_backtrace.txt (different one)
Date: Thu, 13 Dec 2012 11:29:34 +0100
> 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




This bug report was last modified 11 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.