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#11417: 24.0.96; infinite looping in xdisp.c Date: Mon, 07 May 2012 20:25:05 +0300 Message-ID: <83havr3nv2.fsf@gnu.org> References: <83havt4716.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1336411696 22896 80.91.229.3 (7 May 2012 17:28:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 May 2012 17:28:16 +0000 (UTC) Cc: 11417@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 07 19:28:15 2012 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 1SRRjJ-0001CL-WA for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 May 2012 19:28:14 +0200 Original-Received: from localhost ([::1]:33550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRRjJ-0000Kn-BL for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 May 2012 13:28:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRRjB-0000KJ-Pd for bug-gnu-emacs@gnu.org; Mon, 07 May 2012 13:28:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRRj6-00055F-Uc for bug-gnu-emacs@gnu.org; Mon, 07 May 2012 13:28:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRRj6-000559-QW for bug-gnu-emacs@gnu.org; Mon, 07 May 2012 13:28:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SRRl4-0006rB-7K for bug-gnu-emacs@gnu.org; Mon, 07 May 2012 13:30:02 -0400 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: Mon, 07 May 2012 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11417 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11417-submit@debbugs.gnu.org id=B11417.133641175226195 (code B ref 11417); Mon, 07 May 2012 17:30:02 +0000 Original-Received: (at 11417) by debbugs.gnu.org; 7 May 2012 17:29:12 +0000 Original-Received: from localhost ([127.0.0.1]:39781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SRRkG-0006oR-9v for submit@debbugs.gnu.org; Mon, 07 May 2012 13:29:12 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57404) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SRRkD-0006oE-Bd for 11417@debbugs.gnu.org; Mon, 07 May 2012 13:29:10 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M3N00M00XRTH700@a-mtaout22.012.net.il> for 11417@debbugs.gnu.org; Mon, 07 May 2012 20:27:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3N00LHZXSZU6E0@a-mtaout22.012.net.il>; Mon, 07 May 2012 20:27:00 +0300 (IDT) In-reply-to: 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 (newer, 2) 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:59843 Archived-At: > From: Leo > Cc: 11417@debbugs.gnu.org > Date: Tue, 08 May 2012 00:17:14 +0800 > > I run gdb in emacs/src and attach to the process that is hanging. Then > source .gdbinit and I got: > > DISPLAY = /tmp/launch-VtT4mU/org.x:0 > TERM = xterm-color > [0] cancel > [1] all > > Non-debugging symbols: > [2] -[CIContext abort] > [3] -[CIContextImpl abort] > [4] abort > > Argument required (one or more choice numbers). You should type 1 or 4 at this point. If that doesn't help, simply delete the offending line, viz. break abort > So commands such as xbt, xtype and pgrowx not working properly. Too bad, I really need to see the glyph row that corresponds to the problematic screen line, and perhaps the one before and after it (that's what the pgrowx command does). Please see if you can provide that information, after you succeed in reading .gdbinit. > The rest is as attached. The portion of the line from it2.current > should show: > > from distutils.core import setup, Extension Which part(s) of this come from an overlay string? This info: > (gdb) p it2.current > $7 = { > pos = { > charpos = 411, > bytepos = 411 > }, > overlay_string_index = 0, > string_pos = { > charpos = 1, > bytepos = 1 > }, > dpvec_index = -1 > } > (gdb) p it2.method > $9 = GET_FROM_STRING indicates that it2 bumped into a string while iterating over the buffer. Once the x* commands work for you, you can display that string as follows: (gdb) p it2.string (gdb) xstring I need to know at which buffer positions there are overlay strings in the offending line and in its neighbors. Thanks.