GNU bug report logs - #21430
25.0.50; resizing window in exwm crashes emacs

Previous Next

Package: emacs;

Reported by: Matthias Güdemann <matthias.guedemann <at> googlemail.com>

Date: Mon, 7 Sep 2015 16:05:01 UTC

Severity: normal

Found in version 25.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Matthias Güdemann <matthias.guedemann <at> googlemail.com>
Cc: 21430 <at> debbugs.gnu.org
Subject: bug#21430: 25.0.50; resizing window in exwm crashes emacs
Date: Tue, 08 Sep 2015 11:09:16 +0200
> Out of curiosity: What was the problem? I had originally filed an exwm
> issue and would like to add this information there, too.

The bug was caused by my commit from 2014-07-27 with the ChangeLog entry

	* gtkutil.c (xg_frame_resized): Call do_pending_window_change.

Note that at the time of the commit that ChangeLog entry was

	* gtkutil.c (xg_frame_resized): Don't call
	do_pending_window_change.

so the commit was wrong twice: Once because the corresponding change
actually _added_ the call and once because adding the call was bad.

All this remained undetected for more than a year until Pip Cet filed
bug#21380 with a precise recipe.  I hopefully fixed the problem in a
commit with the ChangeLog entry

2015-08-31  Martin Rudalics  <rudalics <at> gmx.at>

	Don't call do_pending_window_change in signal handlers (Bug#21380)
	* src/gtkutil.c (xg_frame_resized):
	* src/xterm.c (x_set_window_size):
	* src/w32term.c (x_set_window_size): Don't call
	do_pending_window_change.

Apparently, the bug became virulent only when you've put something more
involved on ‘window-configuration-change-hook’.  What do you have there
(if it's no secret)?

martin





This bug report was last modified 5 years and 224 days ago.

Previous Next


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