unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24119@debbugs.gnu.org
Subject: bug#24119: 25.1; suspend-frame "freezes" Emacs under i3-wm
Date: Sun, 31 Jul 2016 20:00:32 +0200	[thread overview]
Message-ID: <877fc17kn3.fsf@justinian.turtle-trading.net> (raw)
In-Reply-To: <8360rlpxrb.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 31 Jul 2016 19:39:52 +0300")

Eli Zaretskii writes:
> In case it wasn't clear, I meant to look at the threads while Emacs is
> left to its own devices, before attaching GDB.  IOW, press C-z, and
> then use some system tool to display what each thread does.

Are you looking for something particular?  This is what "ps -fL" says:

  UID        PID  PPID   LWP  C NLWP STIME TTY      STAT   TIME CMD
  benny     7989  3441  7989  0    4 16:52 pts/1    Sl     0:06 ./emacs -Q
  benny     7989  3441  8004  0    4 16:52 pts/1    Sl     0:00 ./emacs -Q
  benny     7989  3441  8016  0    4 16:52 pts/1    Sl     0:00 ./emacs -Q
  benny     7989  3441  8017  0    4 16:52 pts/1    Sl     0:00 ./emacs -Q

The first of these is the main thread, its TIME goes up when I type.
When I press C-z not much happens.  In HTOP tool, which I also tried,
the columns RES and SHR temporarily go up when I press C-z, but that is
hardly surprising.

> This looks like Emacs is just waiting for input.

Yeah.

C-z boils down to iconify-frame, and calling that directly does indeed
show the same behaviour.

To speculate, I would guess that Emacs just disables some stuff inside
iconify-frame, because it expects its request for iconification to be
honored by the WM.  I will try to trace that further.






  reply	other threads:[~2016-07-31 18:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-31 14:03 bug#24119: 25.1; suspend-frame "freezes" Emacs under i3-wm Benjamin Riefenstahl
2016-07-31 14:22 ` Noam Postavsky
2016-07-31 14:35 ` Eli Zaretskii
2016-07-31 14:57   ` Benjamin Riefenstahl
2016-07-31 16:21     ` Eli Zaretskii
2016-07-31 16:39       ` Eli Zaretskii
2016-07-31 18:00         ` Benjamin Riefenstahl [this message]
2016-07-31 19:32           ` Benjamin Riefenstahl

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=877fc17kn3.fsf@justinian.turtle-trading.net \
    --to=b.riefenstahl@turtle-trading.net \
    --cc=24119@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).