From: Jarek Czekalski <jarekczek@poczta.onet.pl>
To: 15801@debbugs.gnu.org
Subject: bug#15801: 24.3.50; bar scrolling freezes gtk emacs
Date: Tue, 03 Dec 2013 23:27:45 +0100 [thread overview]
Message-ID: <529E5AE1.2030601@poczta.onet.pl> (raw)
In-Reply-To: <5277EA95.4070001@poczta.onet.pl>
It's not about sigio. Inside xg_select, which is called with high
frequency inside the freeze, the sigmask has not sigio set. Even if I
try to force the freeze calling unrequest_sigio (and sigmask indeed
changes), still the behaviour does not differ. Emacs is responsive until
I want to play scrolling bars with it.
What I discovered so far:
1. Inside the freeze xg_select always returns 1, due to active
descriptor 7 (in my case it's number 7). This is the descriptor received
from ConnectionNumber (x11) and inserted into input_wait_mask through
add_keyboard_wait_descriptor
2. gtk detects no events pending during the freeze
3. gdk event filter is not called
This contradiction (input from x11, but no gtk events) suggests to me
that something's wrong between gtk and x, in gdk x11 module. So gtk
version may be important. It is included in the initial report, 3.8.4.
No change in 3.8.6-1. When I compiled 3.11.2 (the hottest gtk tag),
emacs does not freeze, but displays white screen instead of the text
area, only momentarily showing traces of the true content.
I'll report again when I know something for sure. I'm not giving up yet :)
By the way: g_main_context_query call in xg_select is theoretically
illegal, because it should be wrapped inside g_main_context_acquire.
Also g_main_context_prepare is suggested before "query". Anyway adding
both these calls does not help the freeze.
Jarek
next prev parent reply other threads:[~2013-12-03 22:27 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-04 18:42 bug#15801: 24.3.50; bar scrolling freezes gtk emacs Jarek Czekalski
2013-11-05 12:57 ` bug#15801: 15801: commit identified Jarek Czekalski
2013-11-06 19:48 ` bug#15801: it's a different revision, 112892 Jarek Czekalski
2013-11-21 6:00 ` Jan Djärv
2013-11-21 7:25 ` bug#15801: 24.3.50; bar scrolling freezes gtk emacs Jarek Czekalski
2013-11-30 11:41 ` Jan Djärv
2013-11-30 11:54 ` Eli Zaretskii
2013-11-30 12:51 ` Jan Djärv
2013-11-30 13:55 ` Eli Zaretskii
2013-11-30 14:05 ` Jan Djärv
2013-11-30 18:11 ` Jarek Czekalski
2013-11-30 18:38 ` Eli Zaretskii
2013-11-30 17:04 ` Jarek Czekalski
2013-11-30 23:16 ` Jan Djärv
[not found] ` <529AF507.5080509@poczta.onet.pl>
[not found] ` <0440E2A5-37C6-4F29-9B5D-38A6AE88C3B5@swipnet.se>
[not found] ` <529B12DB.6020407@poczta.onet.pl>
2013-12-01 11:07 ` Jan Djärv
2013-12-01 11:38 ` Jarek Czekalski
2013-12-01 11:48 ` Jan Djärv
2013-11-30 17:10 ` bug#15801: 24.3.50; bar scrolling freezes gtk emacs - stdout warning Jarek Czekalski
2013-12-02 8:04 ` bug#15801: 24.3.50; bar scrolling freezes gtk emacs Jarek Czekalski
2013-12-02 8:18 ` Jarek Czekalski
2013-12-02 17:11 ` Jarek Czekalski
2013-12-03 22:27 ` Jarek Czekalski [this message]
2013-12-04 20:28 ` Jarek Czekalski
2013-12-05 17:08 ` Jarek Czekalski
2013-12-07 14:34 ` Jan Djärv
2013-12-08 16:14 ` Jarek Czekalski
2013-12-08 23:29 ` Jarek Czekalski
2013-12-11 19:52 ` Jan Djärv
2013-12-20 6:32 ` Jarek Czekalski
2013-12-20 8:58 ` Eli Zaretskii
2014-04-21 10:34 ` Jarek Czekalski
2014-04-21 15:56 ` Stefan Monnier
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=529E5AE1.2030601@poczta.onet.pl \
--to=jarekczek@poczta.onet.pl \
--cc=15801@debbugs.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).