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#12745: crash in bidi_pop_it during (idle) redisplay Date: Wed, 31 Oct 2012 17:46:48 +0200 Message-ID: <83fw4u7ifr.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1351698467 26782 80.91.229.3 (31 Oct 2012 15:47:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 15:47:47 +0000 (UTC) Cc: alptekin.aker@gmail.com, 12745@debbugs.gnu.org To: Ami Fischman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 16:47:54 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 1TTaWC-0005jq-Ra for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 16:47:48 +0100 Original-Received: from localhost ([::1]:41009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTaW4-0006AY-7P for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 11:47:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTaVw-00069W-Pg for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 11:47:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTaVo-0004Wv-Ov for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 11:47:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTaVo-0004Wo-MD for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 11:47:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTaYM-00054P-3f for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 11:50: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: Wed, 31 Oct 2012 15:50: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.135169859319470 (code B ref 12745); Wed, 31 Oct 2012 15:50:02 +0000 Original-Received: (at 12745) by debbugs.gnu.org; 31 Oct 2012 15:49:53 +0000 Original-Received: from localhost ([127.0.0.1]:41663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTaYC-00053y-NV for submit@debbugs.gnu.org; Wed, 31 Oct 2012 11:49:52 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37657) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTaYA-00053q-Iw for 12745@debbugs.gnu.org; Wed, 31 Oct 2012 11:49:51 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MCR00I00L5E5D00@a-mtaout22.012.net.il> for 12745@debbugs.gnu.org; Wed, 31 Oct 2012 17:46:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MCR00IJ8L5K5400@a-mtaout22.012.net.il>; Wed, 31 Oct 2012 17:46:33 +0200 (IST) 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:66282 Archived-At: > Date: Tue, 30 Oct 2012 14:08:49 -0700 > From: Ami Fischman > Cc: alptekin.aker@gmail.com, 12745@debbugs.gnu.org > > > 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 As expected. I guess we need to wait for another crash, this time in the trunk code, and take it from there. I will meanwhile fix init_from_display_pos, because it's certainly looks broken, and could well be the root cause for this. Thanks.