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#5973: Crash in get_next_display_element Date: Tue, 20 Apr 2010 12:56:09 +0300 Message-ID: <83d3xu5txi.fsf@gnu.org> References: <35658001-BB7B-4741-9C95-76E6CB17AB0B@gmail.com> <83aaszbbl7.fsf@gnu.org> <4085AF16-E1CB-4A6D-A39C-82E520790237@gmail.com> <834oj7b8nk.fsf@gnu.org> <83iq7m5y8n.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1271757603 684 80.91.229.12 (20 Apr 2010 10:00:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2010 10:00:03 +0000 (UTC) Cc: david.reitter@gmail.com, 5973@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 20 12:00:02 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O4AFN-0002s7-LD for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Apr 2010 12:00:01 +0200 Original-Received: from localhost ([127.0.0.1]:60857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4AFM-0003GL-Op for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Apr 2010 06:00:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4AEk-00034o-Iy for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 05:59:22 -0400 Original-Received: from [140.186.70.92] (port=44576 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4AEi-00033g-KL for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 05:59:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4AEf-0000S7-77 for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 05:59:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51514) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4AEe-0000Rk-3I for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 05:59:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O4ADR-0003E0-OB; Tue, 20 Apr 2010 05:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5973-submit@debbugs.gnu.org id=B5973.127175743312384 (code B ref 5973); Tue, 20 Apr 2010 09:58:01 +0000 Original-Received: (at 5973) by debbugs.gnu.org; 20 Apr 2010 09:57:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ACe-0003Dh-Mx for submit@debbugs.gnu.org; Tue, 20 Apr 2010 05:57:13 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ACb-0003Db-Kh for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 05:57:10 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L160070064PE000@a-mtaout20.012.net.il> for 5973@debbugs.gnu.org; Tue, 20 Apr 2010 12:56:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.69.249]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L16002L269DUKD0@a-mtaout20.012.net.il>; Tue, 20 Apr 2010 12:56:02 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 20 Apr 2010 05:58:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:36346 Archived-At: > From: Juanma Barranquero > Date: Tue, 20 Apr 2010 11:19:44 +0200 > Cc: Eli Zaretskii , david.reitter@gmail.com, 5973@deb= bugs.gnu.org >=20 > I was debugging a simple defadvice to narrow-to-region. The "text" = of > the message is edebug trying to display END (the argument to n-t-r)= . I > can reproduce the bug with just this advice: >=20 > (defadvice narrow-to-region (before heisenbug activate) > end) >=20 > I instrument it with C-u C-M-x Instrument what? the defadvice, or something else? > then C-h N to show NEWS, select a few lines and C-x n n. Which lines did you select? I think this is important, because when a form is evaluated, Edebug displays in the echo area a message showing the result of the evaluation, and if the result is a number, it tries to display it as a character. So the end of the region you select determines what character will Edebug try to display. > I get a message "Loading c:/emacs/lisp/international/uni-category.e= l > (source)...done" and then the crash. I don't see this message, perhaps because I used a different region. I see all kinds of characters displayed, depending on what region I select, but no crash. Here's one example Result: 784 (#o1420, #x310, ?=CC=90) I'm guessing that the crash is somehow related to display of composit= e characters (hint: try "C-u C-x =3D" on the weirdo question mark above= ), which the bidi display does not handle correctly yet.