Subject: Re: bug#11769: 24.1; Startup crash in bidi init

From: Eli Zaretskii <[email-masked]>
Date: Sun, 24 Jun 2012 18:49:40 +0300

> From: Devon Sean McCullough <[email-masked]>
> Date: Sun, 24 Jun 2012 12:29:31 +0800
> 
> Vexing startup crash, now mysteriously healed.
> Reporting it on the off chance a bidi maintainer
> should glance at this and know at once what to fix.
> 
> make distclean
> ./configure --with-ns
> make
> src/emacs
> ### works fine in tty ###
> 
> make install
> nextstep/Emacs.app
> ### coredumps (6 = Abort) ###
> 
> gdb nextstep/Emacs.app/Contents/MacOS/Emacs -Q
> bidi_initialize (void)
> ...
>   bidi_mirror_table = uniprop_table (intern ("mirroring"));
>   if (NILP (bidi_mirror_table))
>     abort ();
> 
> uniprop_table (Lisp_Object prop)
> ...
>       result = Fload (concat2 (build_string ("international/"), table),
> 		      Qt, Qt, Qt, Qt);
> ...
>       if (NILP (result))
> 	return Qnil;
> 
> Evidently bidi init fails to load "international/..."
> perhaps due to environment, cwd, phase of moon?

This is a duplicate of #11634.  The crashes are caused by loading
international/uni-mirrored.el from the wrong Lisp tree, one that
belongs to an older Emacs version.