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: Tue, 30 Oct 2012 14:08:49 -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> <834nld81sj.fsf@gnu.org> <83mwz37sq5.fsf@gnu.org> <83lien7k0b.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec50162334670b404cd4d3195 X-Trace: ger.gmane.org 1351631380 15514 80.91.229.3 (30 Oct 2012 21:09:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2012 21:09:40 +0000 (UTC) Cc: alptekin.aker@gmail.com, 12745@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 22:09:48 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 1TTJ4F-0007an-WA for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2012 22:09:48 +0100 Original-Received: from localhost ([::1]:44989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTJ47-00048H-Kc for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2012 17:09:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTJ44-00047d-O6 for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 17:09:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTJ3x-0007RU-Le for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 17:09:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTJ3x-0007RQ-JA for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 17:09:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTJ6Q-0002NH-RQ for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 17:12: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: Tue, 30 Oct 2012 21:12: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.13516314879080 (code B ref 12745); Tue, 30 Oct 2012 21:12:02 +0000 Original-Received: (at 12745) by debbugs.gnu.org; 30 Oct 2012 21:11:27 +0000 Original-Received: from localhost ([127.0.0.1]:40211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTJ5r-0002MO-EJ for submit@debbugs.gnu.org; Tue, 30 Oct 2012 17:11:27 -0400 Original-Received: from mail-vc0-f172.google.com ([209.85.220.172]:42356) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTJ5n-0002MF-ML for 12745@debbugs.gnu.org; Tue, 30 Oct 2012 17:11:25 -0400 Original-Received: by mail-vc0-f172.google.com with SMTP id fl11so931396vcb.3 for <12745@debbugs.gnu.org>; Tue, 30 Oct 2012 14:08:49 -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=jhm4k93KncBy28SXT4tl0b5AmD73RXJ0sV5qTgUCkIo=; b=gPhHGGr8g+HHztSeXT777gJfwHc+9b8Ayy92QnwQ+ElaQY2cAnAR3+ZL8TRYD/KLiL Tt5QA3K4RY21TvKYsm7ALBhBrIErmFo4sO/Jw3/4f5j0pseRFZxWcn4xVis5tKpTSwSo Aow+YcHmvZYbaVrScqJGSBx6nrGVUk447xT91k4wTuW6cSo5y9SL25DZ+4l7EsH6Aqaj IW1mEpP6QINac9Dg9wMwvVeErw3PtDL3DU6SK+rsk9rLm7ArzMgO6Sle7EMpax5n3Vpl 6BaRydFvalSWy2te05PdcANwYPkvMlMVshj376REn8OjzdlBxt7pw17598gCMkqU1sIM jNcg== Original-Received: by 10.52.76.103 with SMTP id j7mr44314977vdw.22.1351631329718; Tue, 30 Oct 2012 14:08:49 -0700 (PDT) Original-Received: by 10.58.205.212 with HTTP; Tue, 30 Oct 2012 14:08:49 -0700 (PDT) In-Reply-To: <83lien7k0b.fsf@gnu.org> X-Gm-Message-State: ALoCoQkN53a6+uFLqDvrsyYglaV6AAwis2LuZubbBZ5/tMEcqyhvpbgbTINyYHsCkQa12rF6dhbv 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:66254 Archived-At: --bcaec50162334670b404cd4d3195 Content-Type: text/plain; charset=ISO-8859-1 > > Is it correct that the character at buffer position 1295 is a newline? > Yes. > Also, what are the values of the following? > it->stack[0].current > (gdb) p it->stack[0].current $63 = { pos = { charpos = 1295, bytepos = 1295 }, overlay_string_index = 0, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 } it->stack[0].string > (gdb) p it->stack[0].string $66 = 9755602 (gdb) xtype Lisp_Symbol (gdb) xsymbol it->stack[0].string $67 = (struct Lisp_Symbol *) 0x94dbd0 "nil" it->stack[0].method > (gdb) p it->stack[0].method $68 = GET_FROM_BUFFER > it->method > (gdb) p it->method $69 = GET_FROM_BUFFER --bcaec50162334670b404cd4d3195 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Is it correct tha= t the character at buffer position 1295 is a newline?
=
Yes.
=A0
Also, wh= at are the values of the following?
=A0 it->stack[0].current
=A0
(= gdb) p =A0it->stack[0].current
$63 =3D {
=A0 pos =3D= {
=A0 =A0 charpos =3D 1295,=A0
=A0 =A0 bytepos =3D 129= 5
=A0 },=A0
=A0 overlay_string_index =3D 0,=A0
=A0 string_pos =3D {
=A0 =A0 charpos =3D -1,=A0
=A0 =A0 bytepos =3D -1
=A0 },=A0
=A0 dpvec_index =3D -1
}
=A0 it->stack[0].string

=A0(gdb) p = =A0 it->stack[0].string
$66 =3D 9755602
(gdb) xtype<= /div>
Lisp_Symbol
(gdb) xsymbol =A0it->stack[0].string
$67 =3D (struct Lisp_Symbol *) 0x94dbd0
=A0 "nil"
=

=A0 it->stack[0].method

(gdb) p =A0 = it->stack[0].method
$68 =3D GET_FROM_BUFFER
=A0
=A0 it->method

(gdb) p it->method=
$69 =3D GET_FROM_BUFFER

--bcaec50162334670b404cd4d3195--