From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1105: marked as done (Looping in redisplay due to font problem) Date: Thu, 9 Oct 2008 09:50:05 -0700 Message-ID: References: <873aj5lnt2.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1223571005-25424-10" X-Trace: ger.gmane.org 1223572275 12597 80.91.229.12 (9 Oct 2008 17:11:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 17:11:15 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 19:12:12 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Knz3X-0004zc-G4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 19:12:08 +0200 Original-Received: from localhost ([127.0.0.1]:44305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knz2T-0004TH-Ce for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 13:11:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Knz1c-0003cy-Lj for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:10:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Knz1X-0003ZW-Ve for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:10:05 -0400 Original-Received: from [199.232.76.173] (port=48941 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knz1V-0003YN-Oy for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:10:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56865) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Knz1V-0000Ne-3l for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:10:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99H9wmT030952; Thu, 9 Oct 2008 10:09:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m99Go5jU025639; Thu, 9 Oct 2008 09:50:05 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1105 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21340 Archived-At: This is a multi-part message in MIME format... ------------=_1223571005-25424-10 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 09 Oct 2008 12:45:45 -0400 with message-id <873aj5lnt2.fsf@cyd.mit.edu> and subject line Re: Looping in redisplay due to font problem has caused the Emacs bug report #1070, regarding Looping in redisplay due to font problem to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1070: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1070 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1223571005-25424-10 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.1 required=4.0 tests=AWL,BAYES_00,FOURLA, IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 11:26:15 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97BQB76003556 for ; Tue, 7 Oct 2008 04:26:13 -0700 Received: from mx10.gnu.org ([199.232.76.166]:33670) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KnAfN-0007Mc-MX for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 07:23:49 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KnAhc-00068S-Ve for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 07:26:09 -0400 Received: from mx1.aist.go.jp ([150.29.246.133]:64257) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnAhc-00067H-AH for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 07:26:08 -0400 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m97BQ2gD011310; Tue, 7 Oct 2008 20:26:03 +0900 (JST) env-from (handa@m17n.org) Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m97BQ29N012101; Tue, 7 Oct 2008 20:26:02 +0900 (JST) env-from (handa@m17n.org) Received: by smtp1.aist.go.jp with ESMTP id m97BQ2G5015990; Tue, 7 Oct 2008 20:26:02 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KnAhV-0007aZ-Vn; Tue, 07 Oct 2008 20:26:01 +0900 From: Kenichi Handa To: Chong Yidong CC: emacs-pretest-bug@gnu.org In-reply-to: <87y711r87e.fsf@cyd.mit.edu> (message from Chong Yidong on Mon, 06 Oct 2008 12:37:09 -0400) Subject: Re: Looping in redisplay due to font problem References: <878wt6a7aq.fsf@cyd.mit.edu> <87vdw91wl1.fsf@cyd.mit.edu> <87y711r87e.fsf@cyd.mit.edu> User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Message-Id: Date: Tue, 07 Oct 2008 20:26:01 +0900 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 In article <87y711r87e.fsf@cyd.mit.edu>, Chong Yidong writes: > Yes, it always seems to stop at this place. Here's `bt full' and a > debugging session. I don't see anything wrong OTOH, and am unsure about > what to look for. Stepping forward in gdb doesn't work because the > program is stopped inside `select'. Any suggestions? > #0 0x00007f6dd0fe5433 in select () from /lib/libc.so.6 > #1 0x00007f6dcf0422b6 in ?? () from /usr/lib/libxcb.so.1 > #2 0x00007f6dcf0428eb in ?? () from /usr/lib/libxcb.so.1 > #3 0x00007f6dcf043050 in xcb_send_request () from /usr/lib/libxcb.so.1 > #4 0x00007f6dd1943f1a in _XPutXCBBuffer () from /usr/lib/libX11.so.6 > #5 0x00007f6dd1944267 in ?? () from /usr/lib/libX11.so.6 > #6 0x00007f6dd19370bd in XSetClipMask () from /usr/lib/libX11.so.6 > #7 0x00000000004e426d in x_draw_glyph_string (s=0x7fffdd7a95e0) > at xterm.c:2883 > relief_drawn_p = 0 > #8 0x00000000004617cc in draw_glyphs (w=0x1cd5ad0, x=72, row=0x1f727d0, > area=TEXT_AREA, start=7, end=8, hl=DRAW_NORMAL_TEXT, overlaps=0) > at xdisp.c:20504 Please try to comment out all calls of XSetClipMask in x_draw_glyph_string, and check if Emacs loops in redisplay. --- Kenichi Handa handa@ni.aist.go.jp ------------=_1223571005-25424-10 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1070-done) by emacsbugs.donarmstrong.com; 9 Oct 2008 16:44:01 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99Ghw62024125 for <1070-done@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 09:43:59 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 725A257E14E; Thu, 9 Oct 2008 12:45:45 -0400 (EDT) From: Chong Yidong To: Kenichi Handa Cc: 1070-done@emacsbugs.donarmstrong.com Subject: Re: Looping in redisplay due to font problem Date: Thu, 09 Oct 2008 12:45:45 -0400 Message-ID: <873aj5lnt2.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I found the bug: it's an infloop in update_text_area which can happen when the pixel width of the current glyph is smaller than the lbearing of the next glyph. I'm not sure why the bug was triggered only under the situation I described; maybe, only that exact geometry and font produced the numbers leading to the infloop. I've checked in a fix. ------------=_1223571005-25424-10--