unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: m.nomiya@gmail.com, 49959@debbugs.gnu.org
Subject: bug#49959: 28.0.50; Emacs got quasi freeze
Date: Thu, 26 Aug 2021 09:52:54 +0200	[thread overview]
Message-ID: <bb2698b1-0f95-b661-f40a-8cb8dad20807@gmx.at> (raw)
In-Reply-To: <87fsuxhx2e.wl-nomiya@galaxy.dti.ne.jp>

 > 1. for the emacs with bug
 >
 > Frame size history of #<frame *scratch* - GNU Emacs at linux-egwc 0x1654540>
 > set_window_configuration (4), MS=140x150 IH IV
 >
 > 2. for the emacs without bug
 >
 > Frame size history of #<frame *scratch* - GNU Emacs at linux-egwc 0x25c2540>
 > x_make_frame_visible
 > set_window_configuration (4), MS=140x150 IH IV

One interesting aspect is that apparently in neither case we are
notified that our frame gets hidden when switching desktops.

Please do the following:

- Try again with the latest patch I sent you.

- Send me a diff of your "emacs with bug" and your "emacs without bug".

And, if possible, run the version "without bug" under GDB and post a
backtrace from a position where it produces the "x_make_frame_visible"
line, somewhere around here in xterm.c:

     if (!FRAME_VISIBLE_P (f))
       {
	if (CONSP (frame_size_history))
	  frame_size_history_plain
	    (f, build_string ("x_make_frame_visible"));

	x_wait_for_event (f, MapNotify);
       }

I cannot imagine how Emacs can get there without producing any recorded
events before or after it so it would be very interesting to find out
how it got there in the first place.

Thanks, martin





  reply	other threads:[~2021-08-26  7:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  9:12 bug#49959: 28.0.50; Emacs got quasi freeze 野宮 賢 / NOMIYA Masaru
2021-08-18  8:03 ` martin rudalics
2021-08-21  5:09   ` Masaru Nomiya
     [not found]     ` <20210821072303.ead4637113305e2e518936b8@rasterman.com>
2021-08-21  6:54       ` Masaru Nomiya
2021-08-22  8:23         ` martin rudalics
2021-08-22  9:49           ` martin rudalics
2021-08-22 16:54             ` martin rudalics
2021-08-22 23:11               ` Masaru Nomiya
2021-08-23  8:35                 ` martin rudalics
2021-08-24  1:19                   ` Masaru Nomiya
2021-08-24  3:45                     ` Masaru Nomiya
2021-08-24  9:41                       ` martin rudalics
2021-08-24 12:35                         ` Masaru Nomiya
2021-08-24 14:14                           ` martin rudalics
2021-08-25 11:01                             ` Masaru Nomiya
2021-08-25 14:16                               ` martin rudalics
2021-08-26  0:24                                 ` Masaru Nomiya
2021-08-26  7:52                                   ` martin rudalics [this message]
2021-08-29  2:05                                     ` Masaru Nomiya
2021-08-29  7:21                                       ` martin rudalics
     [not found]                                         ` <875yvo8ywt.wl-nomiya@galaxy.dti.ne.jp>
     [not found]                                           ` <89382a57-874e-81ed-d71f-8301db63ba48@gmx.at>
     [not found]                                             ` <87h7f5oq0p.wl-m.nomiya@gmail.com>
2021-08-31 16:51                                               ` bug#49959: Diff file (Was: Re: bug#49959: 28.0.50; Emacs got quasi freeze) martin rudalics
2021-09-01  0:21                                                 ` Masaru Nomiya
2021-09-01  9:17                                                   ` martin rudalics
2021-09-01 10:05                                                     ` Masaru Nomiya
2022-08-22 11:59                                                       ` bug#49959: 28.0.50; Emacs got quasi freeze Lars Ingebrigtsen
2022-09-19 19:19                                                         ` Lars Ingebrigtsen
2022-09-19 21:45                                                           ` 野宮 賢 / NOMIYA Masaru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bb2698b1-0f95-b661-f40a-8cb8dad20807@gmx.at \
    --to=rudalics@gmx.at \
    --cc=49959@debbugs.gnu.org \
    --cc=m.nomiya@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).