From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13864: 24.3.50; emacsclient -t loops when connected to emacs server running in X11 Date: Wed, 06 Mar 2013 19:07:36 +0200 Message-ID: <83txoo1mp3.fsf@gnu.org> References: <86y5e4xpd8.fsf@chateau.d.if> <83ehfvt5pp.fsf@gnu.org> <86mwujou60.fsf@chateau.d.if> <83y5e2synt.fsf@gnu.org> <86ip56adz3.fsf@chateau.d.if> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1362589727 21363 80.91.229.3 (6 Mar 2013 17:08:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Mar 2013 17:08:47 +0000 (UTC) Cc: 13864@debbugs.gnu.org To: ashish.is@lostca.se (Ashish SHUKLA) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 18:09:08 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 1UDHpz-0005ok-MN for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 18:09:07 +0100 Original-Received: from localhost ([::1]:57768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDHpd-0007ec-UX for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 12:08:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDHpX-0007XT-EY for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 12:08:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDHpT-0004Pz-9P for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 12:08:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDHpT-0004Pu-5u for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 12:08:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UDHpt-0003KS-I5 for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 12:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2013 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13864-submit@debbugs.gnu.org id=B13864.136258970512745 (code B ref 13864); Wed, 06 Mar 2013 17:09:01 +0000 Original-Received: (at 13864) by debbugs.gnu.org; 6 Mar 2013 17:08:25 +0000 Original-Received: from localhost ([127.0.0.1]:34505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDHpE-0003JR-Re for submit@debbugs.gnu.org; Wed, 06 Mar 2013 12:08:25 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:62098) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDHp8-0003J8-7R for 13864@debbugs.gnu.org; Wed, 06 Mar 2013 12:08:18 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MJ900E000SQ7600@a-mtaout20.012.net.il> for 13864@debbugs.gnu.org; Wed, 06 Mar 2013 19:07:37 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJ900C0D0WPWYQ0@a-mtaout20.012.net.il>; Wed, 06 Mar 2013 19:07:37 +0200 (IST) In-reply-to: <86ip56adz3.fsf@chateau.d.if> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:72162 Archived-At: > From: ashish.is@lostca.se (Ashish SHUKLA) > Cc: 13864@debbugs.gnu.org > Date: Tue, 05 Mar 2013 05:56:40 +0530 > > I tried r1110803, r110921, r111026, r111253, r111312, and r111607, they were > good. Then, I tried r111818, and it has this. > > No problem with Emacs 23.4. So this is a recent regression. Thanks, this narrows down the set of culprits quite a bit, but still not enough to see the root cause. Could you please attach a debugger to Emacs, after starting the server, but before opening the TTY frame with emacsclient, and set a breakpoint like this: (gdb) break update_frame_1 (gdb) commands > p force_p > p inhibit_id_p > continue > end (gdb) Then re-create the problem and see whether update_frame_1 is called very frequently, and if so, what are the values of the 2 arguments printed by the breakpoint commands above. (I don't know what is your level of proficiency with GDB, so let me know if you need more detailed instructions.) Don't forget to invoke GDB from the src directory, and make sure that it reads the .gdbinit file there, and does not reject it due to security considerations. If update_frame_1 indeed gets called at high frequency when the xterm frame flickers, then please do the same when Emacs is started with -nw (in which case I understand that there's no flickering), and see if there's any difference in the frequency of calls to update_frame_1 and in the values of the above 2 arguments. TIA