GNU bug report logs - #49955
28.0.50; Emacs got quasi freeze

Previous Next

Package: emacs;

Reported by: m.nomiya <at> gmail.com

Date: Mon, 9 Aug 2021 09:34:02 UTC

Severity: normal

Tags: moreinfo

Merged with 49959

Found in version 28.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49955 in the body.
You can then email your comments to 49955 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49955; Package emacs. (Mon, 09 Aug 2021 09:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to m.nomiya <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 09 Aug 2021 09:34:02 GMT) Full text and rfc822 format available.

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

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Emacs got quasi freeze
Date: Mon, 09 Aug 2021 18:12:32 +0900
Hello.

With this pacth;

commit 483c5e953c12a95382bef4a3b6769a680c32fe86
Author: Martin Rudalics <rudalics <at> 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'





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49955; Package emacs. (Mon, 09 Aug 2021 12:51:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
Cc: m.nomiya <at> gmail.com, 49955 <at> debbugs.gnu.org
Subject: Re: bug#49955: 28.0.50; Emacs got quasi freeze
Date: Mon, 09 Aug 2021 14:50:16 +0200
Masaru Nomiya <nomiya <at> 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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 09 Aug 2021 12:51:02 GMT) Full text and rfc822 format available.

Forcibly Merged 49955 49959. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 09 Aug 2021 15:07:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49955; Package emacs. (Mon, 09 Aug 2021 22:21:02 GMT) Full text and rfc822 format available.

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

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: 49955 <at> debbugs.gnu.org
Subject: Re: bug#49955: 28.0.50; Emacs got quasi freeze
Date: Tue, 10 Aug 2021 07:19:57 +0900
Hello,

In the Message; 

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

[LMI] == Lars Ingebrigtsen <larsi <at> 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 --




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49955; Package emacs. (Tue, 10 Aug 2021 13:42:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
Cc: m.nomiya <at> gmail.com, 49955 <at> debbugs.gnu.org
Subject: Re: bug#49955: 28.0.50; Emacs got quasi freeze
Date: Tue, 10 Aug 2021 15:41:34 +0200
Masaru Nomiya <nomiya <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49955; Package emacs. (Tue, 10 Aug 2021 14:34:02 GMT) Full text and rfc822 format available.

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

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: 49955 <at> debbugs.gnu.org
Subject: Re: bug#49955: 28.0.50; Emacs got quasi freeze
Date: Tue, 10 Aug 2021 23:33:16 +0900
Hello,

In the Message; 

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

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

> Masaru Nomiya <nomiya <at> 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'




Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 01 Sep 2021 11:12:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49955; Package emacs. (Sun, 10 Oct 2021 23:41:01 GMT) Full text and rfc822 format available.

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

From: Masaru Nomiya <nomiya <at> galaxy.dti.ne.jp>
To: 49955 <at> debbugs.gnu.org
Subject: Re: bug#49955: 28.0.50; Emacs got quasi freeze
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 : <87pmunvv19.wl-nomiya <at> galaxy.dti.ne.jp>
  Date & Time: Mon, 09 Aug 2021 18:12:32 +0900

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

MN> Hello.

MN> With this pacth;

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49955; Package emacs. (Mon, 11 Oct 2021 07:20:01 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: m.nomiya <at> gmail.com, 49955 <at> debbugs.gnu.org
Subject: Re: bug#49955: 28.0.50; Emacs got quasi freeze
Date: Mon, 11 Oct 2021 09:19:13 +0200
> 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






Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 22 Aug 2022 12:01:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 49959 <at> debbugs.gnu.org and 野宮 賢 / NOMIYA Masaru <m.nomiya <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 19 Sep 2022 19:20:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Oct 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 191 days ago.

Previous Next


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