all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#11769: 24.1; Startup crash in bidi init
@ 2012-06-24  4:29 Devon Sean McCullough
  2012-06-24 15:49 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Devon Sean McCullough @ 2012-06-24  4:29 UTC (permalink / raw)
  To: 11769

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)






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#11769: 24.1; Startup crash in bidi init
  2012-06-24  4:29 bug#11769: 24.1; Startup crash in bidi init Devon Sean McCullough
@ 2012-06-24 15:49 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2012-06-24 15:49 UTC (permalink / raw)
  To: Devon Sean McCullough; +Cc: 11769

> From: Devon Sean McCullough <emacs-hacker2012@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-24 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-24  4:29 bug#11769: 24.1; Startup crash in bidi init Devon Sean McCullough
2012-06-24 15:49 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.