unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49955: 28.0.50; Emacs got quasi freeze
@ 2021-08-09  9:12 Masaru Nomiya
  2021-08-09 12:50 ` Lars Ingebrigtsen
  2021-10-10 23:40 ` Masaru Nomiya
  0 siblings, 2 replies; 7+ messages in thread
From: Masaru Nomiya @ 2021-08-09  9:12 UTC (permalink / raw)
  To: 49955

Hello.

With this pacth;

commit 483c5e953c12a95382bef4a3b6769a680c32fe86
Author: Martin Rudalics <rudalics@gmx.at>
Date:   Wed May 5 10:26:32 2021 +0200

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

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

Sorry for the report only.

Regards.

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Three young men died for Rationalization.
           Yet, Margaret Bloody Thatcher LIVES!"
                                            'Brassed Off'






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#49955: 28.0.50; Emacs got quasi freeze
  2021-08-09  9:12 bug#49955: 28.0.50; Emacs got quasi freeze Masaru Nomiya
@ 2021-08-09 12:50 ` Lars Ingebrigtsen
  2021-08-09 22:19   ` Masaru Nomiya
  2021-10-10 23:40 ` Masaru Nomiya
  1 sibling, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-09 12:50 UTC (permalink / raw)
  To: Masaru Nomiya; +Cc: m.nomiya, 49955

Masaru Nomiya <nomiya@galaxy.dti.ne.jp> writes:

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

Could you try (setq debug-on-quit t) and post the resulting backtrace
you get when you `C-g' when it hangs like this?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#49955: 28.0.50; Emacs got quasi freeze
  2021-08-09 12:50 ` Lars Ingebrigtsen
@ 2021-08-09 22:19   ` Masaru Nomiya
  2021-08-10 13:41     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Masaru Nomiya @ 2021-08-09 22:19 UTC (permalink / raw)
  To: 49955

Hello,

In the Message; 

  Subject    : Re: bug#49955: 28.0.50; Emacs got quasi freeze
  Message-ID : <87czqm4waf.fsf@gnus.org>
  Date & Time: Mon, 09 Aug 2021 14:50:16 +0200

[LMI] == Lars Ingebrigtsen <larsi@gnus.org> has written:

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

LMI>  Could you try (setq debug-on-quit t) and post the resulting backtrace
LMI>  you get when you `C-g' when it hangs like this?

I did it many times, but can't get the backtrace at all.

Regards.

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛         Think.
					-- The IBM slogan --





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#49955: 28.0.50; Emacs got quasi freeze
  2021-08-09 22:19   ` Masaru Nomiya
@ 2021-08-10 13:41     ` Lars Ingebrigtsen
  2021-08-10 14:33       ` Masaru Nomiya
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-10 13:41 UTC (permalink / raw)
  To: Masaru Nomiya; +Cc: m.nomiya, 49955

Masaru Nomiya <nomiya@galaxy.dti.ne.jp> writes:

> LMI>  Could you try (setq debug-on-quit t) and post the resulting backtrace
> LMI>  you get when you `C-g' when it hangs like this?
>
> I did it many times, but can't get the backtrace at all.

Darn.  Do you have a recipe to reproduce the problem, starting from
"emacs -Q"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#49955: 28.0.50; Emacs got quasi freeze
  2021-08-10 13:41     ` Lars Ingebrigtsen
@ 2021-08-10 14:33       ` Masaru Nomiya
  0 siblings, 0 replies; 7+ messages in thread
From: Masaru Nomiya @ 2021-08-10 14:33 UTC (permalink / raw)
  To: 49955

Hello,

In the Message; 

  Subject    : Re: bug#49955: 28.0.50; Emacs got quasi freeze
  Message-ID : <87lf59zab5.fsf@gnus.org>
  Date & Time: Tue, 10 Aug 2021 15:41:34 +0200

Lars Ingebrigtsen <larsi@gnus.org> has written:

> Masaru Nomiya <nomiya@galaxy.dti.ne.jp> writes:

> > LMI>  Could you try (setq debug-on-quit t) and post the resulting backtrace
> > LMI>  you get when you `C-g' when it hangs like this?
> >
> > I did it many times, but can't get the backtrace at all.

> Darn.  Do you have a recipe to reproduce the problem, starting from
> "emacs -Q"?

Ofcource, I did it, but no avil.

Regards,

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Three young men died for Rationalization.
           Yet, Margaret Bloody Thatcher LIVES!"
                                            'Brassed Off'





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#49955: 28.0.50; Emacs got quasi freeze
  2021-08-09  9:12 bug#49955: 28.0.50; Emacs got quasi freeze Masaru Nomiya
  2021-08-09 12:50 ` Lars Ingebrigtsen
@ 2021-10-10 23:40 ` Masaru Nomiya
  2021-10-11  7:19   ` martin rudalics
  1 sibling, 1 reply; 7+ messages in thread
From: Masaru Nomiya @ 2021-10-10 23:40 UTC (permalink / raw)
  To: 49955

Hello,

In the Message; 

  Subject    : bug#49955: 28.0.50; Emacs got quasi freeze
  Message-ID : <87pmunvv19.wl-nomiya@galaxy.dti.ne.jp>
  Date & Time: Mon, 09 Aug 2021 18:12:32 +0900

[MN] == Masaru Nomiya <nomiya@galaxy.dti.ne.jp> has written:

MN> Hello.

MN> With this pacth;

MN> commit 483c5e953c12a95382bef4a3b6769a680c32fe86
MN> Author: Martin Rudalics <rudalics@gmx.at>
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 --





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#49955: 28.0.50; Emacs got quasi freeze
  2021-10-10 23:40 ` Masaru Nomiya
@ 2021-10-11  7:19   ` martin rudalics
  0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2021-10-11  7:19 UTC (permalink / raw)
  To: m.nomiya, 49955

 > 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

I suppose this means that Bug#49959 is fixed too.  Do you have any
explanation why and how these bugs are related to Eggert's fix?

Thanks, martin







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-11  7:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09  9:12 bug#49955: 28.0.50; Emacs got quasi freeze Masaru Nomiya
2021-08-09 12:50 ` Lars Ingebrigtsen
2021-08-09 22:19   ` Masaru Nomiya
2021-08-10 13:41     ` Lars Ingebrigtsen
2021-08-10 14:33       ` Masaru Nomiya
2021-10-10 23:40 ` Masaru Nomiya
2021-10-11  7:19   ` martin rudalics

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).