From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#9963: ./temacs -Q -nw abort in bidi_initialize Date: Sun, 06 Nov 2011 18:10:23 -0500 Message-ID: References: <837h3dkigu.fsf@gnu.org> <831utljeai.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1320621085 28836 80.91.229.12 (6 Nov 2011 23:11:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2011 23:11:25 +0000 (UTC) Cc: 9963-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 07 00:11:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RNBry-000212-M3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2011 00:11:18 +0100 Original-Received: from localhost ([::1]:36516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNBry-00016H-4d for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Nov 2011 18:11:18 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNBrw-00015y-1e for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 18:11:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNBru-0007i2-6J for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 18:11:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNBru-0007hp-4U for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 18:11:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RNBuc-00021X-7X for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2011 18:14:02 -0500 Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2011 23:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 9963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 9963@debbugs.gnu.org, dann@gnu.org Original-Received: via spool by 9963-done@debbugs.gnu.org id=D9963.13206211947713 (code D ref 9963); Sun, 06 Nov 2011 23:14:02 +0000 Original-Received: (at 9963-done) by debbugs.gnu.org; 6 Nov 2011 23:13:14 +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 1RNBtq-00020M-1y for submit@debbugs.gnu.org; Sun, 06 Nov 2011 18:13:14 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNBto-00020F-EV for 9963-done@debbugs.gnu.org; Sun, 06 Nov 2011 18:13:13 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RNBr5-00078j-GX; Sun, 06 Nov 2011 18:10:23 -0500 In-Reply-To: <831utljeai.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Nov 2011 20:28:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 06 Nov 2011 18:14:02 -0500 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:53629 Archived-At: Eli Zaretskii writes: >> Date: Sun, 06 Nov 2011 02:24:43 -0500 >> From: Eli Zaretskii >> Cc: 9963@debbugs.gnu.org >> >> > > This abort means you somehow have a problem loading uni-bidi.el, or >> > > didn't load it at all, or perhaps load a wrong uni-bidi.el (e.g., from >> > > Emacs 23). It is strange that it works without -nw, though. >> > >> > It looks this happens when printing the first "Loading" message at >> > startup to load loadup.el. >> >> That figures: Emacs needs uni-bidi for display, and `message' enters >> redisplay. >> >> > Is uni-bidi.el loaded before that? >> >> Evidently, it isn't. I think it is pulled in when charprop is loaded, >> but that's half-way down loadup.el. >> >> We need to find a way of loading uni-bidi and uni-mirrored before >> loading loadup.el. I will get to that later today, if no one beats me >> to it. > > I think I fixed this (revision 106305 on the trunk), please check. Thanks for the quick fix, it looks like everything works fine. > For the record: I decided that loading uni-bidi in advance is not a > good idea, as proper functioning of character property tables needed > by bidi.c depends on many other *.el files that are normally loaded > before uni-bidi. There be dragons there. So instead, I disabled bidi > reordering for as long as purify-flag is non-nil; I hope this is TRT > for all supported configurations, including CANNOT_DUMP. Agreed.