all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cocoa port: nsfont_escape_name error
@ 2008-07-18  4:54 Seiji Zenitani
  2008-07-19  0:05 ` Seiji Zenitani
  0 siblings, 1 reply; 3+ messages in thread
From: Seiji Zenitani @ 2008-07-18  4:54 UTC (permalink / raw)
  To: emacs-devel

Hi,

Cocoa Emacs works fine in Mac OSX English environment.
However, it (the same executable binary) immediately
crashes in Japanese language environment.
It looks like font-related initialization problem.
Any hints?

In English environment, you can try the following test.

$ build/Emacs.app/Contents/MacOS/Emacs
  ==> OK

$ __CF_USER_TEXT_ENCODING=0x1F6:1:14 build/Emacs.app/Contents/MacOS/ 
Emacs
$ __CF_USER_TEXT_ENCODING=0x1F6:1:14 gdb build/Emacs.app/Contents/ 
MacOS/Emacs
  ==> Emacs crashes.  Gdb info is as follows.

> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x911e903c
> 0x001fd67d in nsfont_escape_name (name=0x911e9034 "Hiragino Kaku  
> Gothic ProN") at nsfont.m:7272	      name[i] = '_';


P.S.
The environment variable __CF_USER_TEXT_ENCODING
is a good indicator of Mac OSX language environment.
*:0:0 is english, *:1:14 is Japanese.

Seiji




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

end of thread, other threads:[~2008-07-19 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18  4:54 Cocoa port: nsfont_escape_name error Seiji Zenitani
2008-07-19  0:05 ` Seiji Zenitani
2008-07-19 17:15   ` Adrian Robert

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.