From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jarek Czekalski Newsgroups: gmane.emacs.bugs Subject: bug#15801: 24.3.50; bar scrolling freezes gtk emacs Date: Thu, 05 Dec 2013 18:08:10 +0100 Message-ID: <52A0B2FA.70606@poczta.onet.pl> References: <5277EA95.4070001@poczta.onet.pl> <529F9076.5040309@poczta.onet.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386263291 1412 80.91.229.3 (5 Dec 2013 17:08:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2013 17:08:11 +0000 (UTC) To: 15801@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 05 18:08:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VocPQ-0007o7-V2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 18:08:17 +0100 Original-Received: from localhost ([::1]:54741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VocPQ-0004q8-E8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 12:08:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VocPI-0004kf-85 for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 12:08:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VocPD-0006Sc-8S for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 12:08:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VocPC-0006SX-Rj for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 12:08:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VocPC-0001CN-8M for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 12:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jarek Czekalski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2013 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15801-submit@debbugs.gnu.org id=B15801.13862632404548 (code B ref 15801); Thu, 05 Dec 2013 17:08:02 +0000 Original-Received: (at 15801) by debbugs.gnu.org; 5 Dec 2013 17:07:20 +0000 Original-Received: from localhost ([127.0.0.1]:60101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VocOV-0001BH-Gt for submit@debbugs.gnu.org; Thu, 05 Dec 2013 12:07:19 -0500 Original-Received: from smtpo56.poczta.onet.pl ([213.180.142.187]:51085) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VocOS-0001B8-8W for 15801@debbugs.gnu.org; Thu, 05 Dec 2013 12:07:18 -0500 Original-Received: from [192.168.17.5] (cj.e-siemianowice.pl [95.215.234.30]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jarekczek@poczta.onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3db3JM0zh1zYpJ8B for <15801@debbugs.gnu.org>; Thu, 5 Dec 2013 18:07:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poczta.onet.pl; s=2011; t=1386263235; bh=GzdW42a/xdUiINaoSx775ROIhR+GKq3w+qC10vNtVPQ=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=gc7TeZFadKJliS1VmWJ+el7mnmmM6+4gecGZ920rsKckRYBXOqfiLzhgMbkxMKIXi z2It4f7q26DlGyTxKa4+sXy1BAObVfXRvVvQ6IZ5x+b2wXh2t6jCr5WvOp61oIf9b/ BVwp4uVh0glgkalaBXI/7g+MkkVjAlA1/0pkoZDU= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <529F9076.5040309@poczta.onet.pl> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81441 Archived-At: I founded a way to freeze Emacs without using any syntax, that could be considered incorrect from the glib/gtk point of view. At least nothing incorrect stays in xgselect. This is practically whole xg_select function, that still makes Emacs freeze: context = g_main_context_default (); while (g_main_context_iteration(context, 0)); // 0 = no wait return 1; So this makes context_query call free of any charges. I'm sorry for blaming it for the problems. But it's so tempting when you see something theoretically incorrect, to blame it for all the problems. I'll try to locate the place in gtk that starts the problem. So far I only know that the commit from gtk 3.7.10 introducing motion compression is not yet making it freeze. Although that sounded promising. So I'm starting binary search with gtk 3.7.10 being safe, and 3.8.4 failing. I hope to help with fixing it, because gtk 3.8.4 is going to be used in next stable Debian, jessie, which is currently described as testing. Motion compression commit: https://git.gnome.org/browse/gtk+/commit/gdk/gdkwindow.c?id=a69285da08a2a61d5fd817ee8ccb88a6b6deaef6 If someone is still listening, please help me gather statistics about this bug. If you have: 1. libgtk-3 >=3.7.10 2. emacs built with gtk3 Please report through priv whether you reproduce or not. Tell me even if you don't reproduce and send the output of /proc/cpuinfo. Mine is "Intel Celeron 3.2G". My email: jarekczek # poczta.onet.pl. Remember to make sure which gtk is actually used, for example using "strace emacs -Q 2>&1 | grep libgtk" Jarek