Subject: Re: bug#49955: 28.0.50; Emacs got quasi freeze

From: Masaru Nomiya <[email-masked]>
Date: Mon, 11 Oct 2021 08:40:26 +0900

Hello,

In the Message; 

  Subject    : bug#49955: 28.0.50; Emacs got quasi freeze
  Message-ID : <[email-masked]>
  Date & Time: Mon, 09 Aug 2021 18:12:32 +0900

[MN] == Masaru Nomiya <[email-masked]> has written:

MN> Hello.

MN> With this pacth;

MN> commit 483c5e953c12a95382bef4a3b6769a680c32fe86
MN> Author: Martin Rudalics <[email-masked]>
MN> Date:   Wed May 5 10:26:32 2021 +0200

MN>     Fix two GTK3 event handling issues
    
MN>     * src/xterm.c (handle_one_xevent): For GTK3 PropertyNotify and
MN>     MapNotify events explicitly request the stored frame sizes when
MN>     the frame changes from iconified to a non-hidden state
MN>     (Bug#24526).  For Expose events do not change the frame's
MN>     visibility or iconified state.  For FocusIn events on GTK3 do
MN>     not apply the fix for Bug#42655.  The latter two changes are to
MN>     avoid that plain invisible frames get reported as iconified.

MN> Emacs has often got a quasi freeze, not perfect freeze but doesn't
MN> accept any openraion except quitting operation.

This issue was solved by;

Tweak x_connection_closed when I/O error
* src/xterm.c (x_connection_closed): Don’t dereference dpyinfo
in the unlikely case where it is null and ioerror is true.
This pacifies gcc 11.2.1 -Wanalyzer-null-dereference.
 master
@eggert
eggert committed 7 days ago 

Thanks a lot!

---
┏━━┓彡     Masaru Nomiya              mail-to: nomiya @ galaxy.dti.ne.jp
┃＼／彡
┗━━┛  "Tim Cook, the C.E.O. of Apple, said earlier this year that he would
	   not let his nephew join social networks.
	   Bill Gates banned cellphone until his children were teenagers, and
	   Melinda Gates wrote that she wished they had waited even longer.
	   Steve Jobs would not let his young children near iPads."
                                                      -- The New York Times --