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#16043: 24.3.50; emacs crash while scrolling through *Characters List* buffer with C-v Date: Wed, 04 Dec 2013 19:09:08 +0200 Message-ID: <834n6o4k7f.fsf@gnu.org> References: <87k3flwewo.fsf@yagnesh.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1386177033 7280 80.91.229.3 (4 Dec 2013 17:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2013 17:10:33 +0000 (UTC) Cc: 16043@debbugs.gnu.org To: Yagnesh Raghava Yakkala Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 04 18:10:37 2013 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 1VoFxq-0000h7-70 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Dec 2013 18:10:18 +0100 Original-Received: from localhost ([::1]:49479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoFxp-0007hB-Fe for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Dec 2013 12:10:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoFxg-0007cR-9z for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2013 12:10:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoFxa-0003s2-23 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2013 12:10:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoFxZ-0003rT-Vc for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2013 12:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VoFxZ-0003Vo-Kw for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2013 12:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2013 17:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16043-submit@debbugs.gnu.org id=B16043.138617695513433 (code B ref 16043); Wed, 04 Dec 2013 17:10:01 +0000 Original-Received: (at 16043) by debbugs.gnu.org; 4 Dec 2013 17:09:15 +0000 Original-Received: from localhost ([127.0.0.1]:58238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoFwp-0003Ub-Bt for submit@debbugs.gnu.org; Wed, 04 Dec 2013 12:09:15 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:61356) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoFwm-0003UN-AJ for 16043@debbugs.gnu.org; Wed, 04 Dec 2013 12:09:14 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MXA00600KY55400@a-mtaout23.012.net.il> for 16043@debbugs.gnu.org; Wed, 04 Dec 2013 19:09:10 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXA006QAKZA4430@a-mtaout23.012.net.il>; Wed, 04 Dec 2013 19:09:10 +0200 (IST) In-reply-to: <87k3flwewo.fsf@yagnesh.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:81375 Archived-At: > From: Yagnesh Raghava Yakkala > Date: Wed, 04 Dec 2013 11:03:51 +0900 > > This may be a related to fonts installed on my system. It isn't, see below. > If I scroll through **Charecter List** buffer (M-x > list-charset-chars RET unicode-bmp RET) emacs (built yesterday from > trunk) is getting crashed. I am able easily reproduce with emacs -Q. > > backtrace is attached. Thanks. For the record, this bug is much more easily and quickly reproduced with this recipe: emacs -Q C-x 8 RET 2066 RET This happens because we simple-mindedly imported the Unicode database from Unicode v6.3, without analyzing its impact. The new database introduced several new bidirectional classes, which neither dispextern.h nor bidi.c know about, and a few characters which have these new class properties. Emacs hits an assertion violation in bidi.c trying to display any of these characters. It turns out unidata-gen.el silently intern's new values that are not in unidata-prop-alist, and thus the bidi-class char-table was no longer in sync with dispextern.h and bidi.c, as it must be. So, in addition to fixing the assertion violation (trunk revision 115376), I also added code to unidata-gen.el to emit warnings if it ever encounters new bidi-class values. There's a comment in unidata-gen.el that explains what to do when such a warning appears.