GNU bug report logs - #11769
24.1; Startup crash in bidi init

Previous Next

Package: emacs;

Reported by: Devon Sean McCullough <emacs-hacker2012 <at> jovi.net>

Date: Sun, 24 Jun 2012 04:34:02 UTC

Severity: normal

Merged with 11634, 11668

Found in version 24.1

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11769 in the body.
You can then email your comments to 11769 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11769; Package emacs. (Sun, 24 Jun 2012 04:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Devon Sean McCullough <emacs-hacker2012 <at> jovi.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 24 Jun 2012 04:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Devon Sean McCullough <emacs-hacker2012 <at> jovi.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1; Startup crash in bidi init
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?
Coredump goes to Apple Crash Reporter
where reload gets a running Emacs.

Maybe it finally started up because during crash report I also turned off
Apple Menu > System Preferences... > Language & Text > Input Sources > Chinese - Simplified
but now that Emacs has started once it seems to start every time
even with Chinese turned back on.

		Peace
			--Devon

P.S. MacOS 10.6.8

uname -a
Darwin RA.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

Xcode Version 3.2.3 (1688)
64-bit 
Component versions
Xcode IDE: 1688.0
Xcode Core: 1691.0
ToolSupport: 1591.0

In GNU Emacs 24.1.1 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36)
 of 2012-06-22 on RA.local
Windowing system distributor `Apple', version 10.3.1038
Configured using:
 `configure '--with-ns' 'CC=gcc''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Message

Minor modes in effect:
  mml-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Features:
(shadow debug gnus-util mail-extr emacsbug message format-spec rfc822
mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail pcmpl-unix server grep compile help-mode
view dired-aux jka-compr hi-lock baal vt-mouse rmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time ange-ftp slime-pale
slime-fancy slime-fontifying-fu slime-package-fu warnings
slime-references slime-xref-browser tree-widget wid-edit slime-scratch
slime-presentations slime-highlight-edits slime-fuzzy
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-parse slime-repl slime byte-opt bytecomp byte-compile cconv
macroexp derived apropos edmacro kmacro easy-mmode hideshow pp hyperspec
thingatpt browse-url which-func imenu ude-autoload bmacs-gnu-emacs bmacs
lzx new cl-compat rect shell pcomplete comint ansi-color sort etags ring
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs paren sgml-mode
dired advice help-fns advice-preload info-look info easymenu hy-test
regexp-opt desktop cl time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11769; Package emacs. (Sun, 24 Jun 2012 15:54:01 GMT) Full text and rfc822 format available.

Message #8 received at 11769 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Devon Sean McCullough <emacs-hacker2012 <at> jovi.net>
Cc: 11769 <at> debbugs.gnu.org
Subject: Re: bug#11769: 24.1; Startup crash in bidi init
Date: Sun, 24 Jun 2012 18:49:40 +0300
> From: Devon Sean McCullough <emacs-hacker2012 <at> jovi.net>
> 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.




Forcibly Merged 11634 11668 11769. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 24 Jun 2012 18:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 23 Jul 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.