From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ami Fischman Newsgroups: gmane.emacs.bugs Subject: bug#12745: crash in bidi_pop_it during (idle) redisplay Date: Mon, 29 Oct 2012 11:29:28 -0700 Message-ID: References: <508CA6FC.4070203@cs.ucla.edu> <508CE3B0.2030809@cs.ucla.edu> <83lieq8q91.fsf@gnu.org> <83fw4y8jgd.fsf@gnu.org> <838vap8aq8.fsf@gnu.org> <837gq987yv.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b16326d839f1f04cd36d9fd X-Trace: ger.gmane.org 1351535383 6103 80.91.229.3 (29 Oct 2012 18:29:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2012 18:29:43 +0000 (UTC) Cc: 12745@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 19:29:52 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 1TSu5v-0001Mt-AX for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 19:29:51 +0100 Original-Received: from localhost ([::1]:34604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSu5n-0001lb-5d for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 14:29:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSu5h-0001lR-6b for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:29:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSu5g-0004Fy-3j for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:29:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSu5f-0004Fo-WE for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:29:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TSu82-0001G3-CD for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 14:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ami Fischman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Oct 2012 18:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12745-submit@debbugs.gnu.org id=B12745.13515355184824 (code B ref 12745); Mon, 29 Oct 2012 18:32:02 +0000 Original-Received: (at 12745) by debbugs.gnu.org; 29 Oct 2012 18:31:58 +0000 Original-Received: from localhost ([127.0.0.1]:38506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSu7y-0001Fj-DZ for submit@debbugs.gnu.org; Mon, 29 Oct 2012 14:31:58 -0400 Original-Received: from mail-pa0-f44.google.com ([209.85.220.44]:37178) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSu7v-0001Fc-Sg for 12745@debbugs.gnu.org; Mon, 29 Oct 2012 14:31:58 -0400 Original-Received: by mail-pa0-f44.google.com with SMTP id fb11so3489306pad.3 for <12745@debbugs.gnu.org>; Mon, 29 Oct 2012 11:29:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=+cJkpvVKA/oEGzrLCEJ1FG9qln+9VGSJZwIY02ywQfQ=; b=Cl/GcrUr2f2Ar9qAH6fHlAL13RHh2vs2qKw7cpoiODZ3NaJht6RA7tAm1Wn9Ql7v// 4mC11L7wYSutmLBdD3gzaRI2sbOZmBfCVvJPq9ggJ9MBWh8AGc8RF48Se3iMzbVZO99U 27Cx5yIvXXMcd0R+xRRofsJ4seAozXWqJZIyLOhKxfpj1opSmRdT4NeUhiAwzA4ye8ZR L5N1KyKHJOIdSFgcjPUyaayhaeZWyTqVc6iNvPazHNH4544GomAKk0EIGe4qYYIpVJm/ bPLEP9+Rpc+BfOp3xn6TNMEOzLYd6KBSGt18T4SF+2rH9OyGkfqkBd9V7JAPyTNLA6e0 Tkzw== Original-Received: by 10.68.253.167 with SMTP id ab7mr26449624pbd.138.1351535368052; Mon, 29 Oct 2012 11:29:28 -0700 (PDT) Original-Received: by 10.68.47.73 with HTTP; Mon, 29 Oct 2012 11:29:28 -0700 (PDT) In-Reply-To: <837gq987yv.fsf@gnu.org> X-Gm-Message-State: ALoCoQkVyar51bsh/Irhmv1vSuSZ+tzWfhXtb4wUaqNZ8RDzFWsaqSoKoU+mwgbs5NIxAo00w0/t 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:66205 Archived-At: --047d7b16326d839f1f04cd36d9fd Content-Type: text/plain; charset=ISO-8859-1 On Mon, Oct 29, 2012 at 11:10 AM, Eli Zaretskii wrote: > Yes, and so is the STRETCH glyph. Can you figure out what is the > string before that, viz.: > > 20 144: CHAR[ ] str=61334f1[0] blev=0,btyp=L w=6 a+d=10+2 MB > This is a display string or an overlay string, but where does it come > from, and which mode puts it there? > I'm groping in the dark, but AFAICT it's a null str? (gdb) p/x (it->glyph_row->glyphs[1][20].object) $39 = 0x61334f1 (gdb) p *(it->glyph_row->glyphs[1][20].object) $40 = 0 I'm probably Doing It Wrong (tm), though. The only guess I have is that I had entered a trailing space after that comma, which would highlight it as trailing whitespace because of this snippet from my .emacs: (highlight-regexp "[ \t]+$" 'hi-blue) using hi-lock-mode. --047d7b16326d839f1f04cd36d9fd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Oct 29, 2012 at 11:10 AM, Eli Zaretskii <eliz@gnu.org> wr= ote:
Yes, and so is the STRETCH glyph. =A0Can you figure out wha= t is the
string before that, viz.:
> =A020 =A0144: CHAR[ ] str=3D61334f1[0] blev=3D0,btyp=3DL w=3D6 a+d=3D1= 0+2 MB
This is a display string or an overlay string, but where does it come=
from, and which mode puts it there?

I'= m groping in the dark, but AFAICT it's a null str?
(gdb) p/x (i= t->glyph_row->glyphs[1][20].object)
$39 =3D 0x61334f1
(gdb) p *(it->glyph_row->glyphs[1][20].object)
$40 =3D= 0
I'm probably Doing It Wrong (tm), though.
=
The only guess I have is that I had entered a trailing space= after that comma, which would highlight it as trailing whitespace because = of this snippet from my .emacs:
(highlight-regexp "[ \t]+$" 'hi-blue)
using hi= -lock-mode.
--047d7b16326d839f1f04cd36d9fd--