emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abort on Mac OS X 10.4.11/ppc


From: Vagn Johansen
Subject: Re: Abort on Mac OS X 10.4.11/ppc
Date: Sun, 02 Aug 2009 13:42:45 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin)

Yuji Yamano <address@hidden> writes:

> Emacs building from the trunk on Mac OS X 10.4.11/ppc crashes 
> when I eval the following code. It is taken from 
> http://d.hatena.ne.jp/kazu-yamamoto/20090122/1232589385
>

> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
> 0x90002dc8 in strlen ()
> (gdb) bt
> #0  0x90002dc8 in strlen ()
> #1  0x90017918 in strdup ()
> #2  0x0017d404 in ns_descriptor_to_entity (desc=0xaced10, extra=41944073, 
> style=0x0) at nsfont.m:169
> #3  0x0011a9dc in font_matching_entity (f=0xa7f770, attrs=0x2800409,
> spec=8275280) at font.c:2946

There same happens to me on OSX 10.4 when (trying to) selecting with
the GUI or the command line


~/src/emacs-23.1>gdb nextstep/Emacs.app/Contents/MacOS/Emacs             vj-mac
GNU gdb 6.3.50-20050815 (Apple version gdb-563) (Wed Jul 19 05:10:58 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared 
libraries ..... done

(gdb) run -Q -fn dummy
Starting program: 
/Users/vagn/src/emacs-23.1/nextstep/Emacs.app/Contents/MacOS/Emacs -Q -fn dummy
Reading symbols for shared libraries 
....................................................................++ done
2009-08-02 13:35:19.101 Emacs[424] CFLog (0): CFMessagePort: 
bootstrap_register(): failed 1103 (0x44f), port = 0x2c03, name = 
'org.gnu.Emacs.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2009-08-02 13:35:19.109 Emacs[424] CFLog (99): CFMessagePortCreateLocal(): 
failed to name Mach port (org.gnu.Emacs.ServiceProvider)

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x90012f53 in strdup ()
(gdb) bt
#0  0x90012f53 in strdup ()
#1  0x0017bcf5 in ns_descriptor_to_entity (desc=0xadb290, extra=41944073, 
style=0x0) at nsfont.m:169
#2  0x0011a135 in font_matching_entity (f=0xa8dfb0, attrs=0xbfffea38, spec=1) 
at font.c:2910
#3  0x0011bb99 in font_load_for_lface (f=0xa8dfb0, attrs=0xbfffea38, 
spec=11216084) at font.c:3482
#4  0x0011bbf3 in font_open_by_spec (f=0xa8dfb0, spec=11216084) at font.c:3537
#5  0x0011e0a7 in font_open_by_name (f=0xa8dfb0, name=0x2a74148 "dummy") at 
font.c:3555
#6  0x00012583 in x_set_font (f=0xa8dfb0, arg=42504059, oldval=41944073) at 
frame.c:3388
#7  0x00011622 in x_set_frame_parameters (f=0xa8dfb0, alist=18943357) at 
frame.c:3017
#8  0x000136a4 in x_default_parameter (f=0xa8dfb0, alist=18943693, 
prop=42102857, deflt=44599147, xprop=0x18bc68 "font", xclass=0x1a1140 "Font", 
type=RES_TYPE_STRING) at frame.c:4130
#9  0x00172222 in Fx_create_frame (parms=18943733) at nsfns.m:1190
#10 0x00106e11 in Ffuncall (nargs=2, args=0xbfffed50) at eval.c:3051
#11 0x001405c3 in Fbyte_code (bytestr=1961451, vector=1961468, maxdepth=5) at 
bytecode.c:678
#12 0x0010671b in funcall_lambda (fun=1961404, nargs=1, arg_vector=0xbfffeee4) 
at eval.c:3232
#13 0x00106bfe in Ffuncall (nargs=2, args=0xbfffeee0) at eval.c:3102
#14 0x001405c3 in Fbyte_code (bytestr=2247731, vector=2247748, maxdepth=6) at 
bytecode.c:678
#15 0x0010671b in funcall_lambda (fun=2247684, nargs=1, arg_vector=0xbffff074) 
at eval.c:3232
#16 0x00106bfe in Ffuncall (nargs=2, args=0xbffff070) at eval.c:3102
#17 0x001405c3 in Fbyte_code (bytestr=2244995, vector=2245012, maxdepth=6) at 
bytecode.c:678
#18 0x0010671b in funcall_lambda (fun=2244964, nargs=0, arg_vector=0xbffff204) 
at eval.c:3232
#19 0x00106bfe in Ffuncall (nargs=1, args=0xbffff200) at eval.c:3102
#20 0x001405c3 in Fbyte_code (bytestr=1997467, vector=1997484, maxdepth=7) at 
bytecode.c:678
#21 0x0010671b in funcall_lambda (fun=1997444, nargs=0, arg_vector=0xbffff394) 
at eval.c:3232
#22 0x00106bfe in Ffuncall (nargs=1, args=0xbffff390) at eval.c:3102
#23 0x001405c3 in Fbyte_code (bytestr=1994091, vector=1994108, maxdepth=6) at 
bytecode.c:678
#24 0x0010671b in funcall_lambda (fun=1994068, nargs=0, arg_vector=0xbffff4b0) 
at eval.c:3232
#25 0x00106986 in apply_lambda (fun=1994068, args=41944073, eval_flag=1) at 
eval.c:3156
#26 0x001060d0 in Feval (form=8315189) at eval.c:2436
#27 0x00096c70 in top_level_2 () at keyboard.c:1368
#28 0x00104fa5 in internal_condition_case (bfun=0x96c54 <top_level_2>, 
handlers=41983689, hfun=0x9d996 <cmd_error>) at eval.c:1512
#29 0x00096cb8 in top_level_1 () at keyboard.c:1376
#30 0x00104e96 in internal_catch (tag=41979809, func=0x96c76 <top_level_1>, 
arg=41944073) at eval.c:1248
#31 0x000969d3 in command_loop () at keyboard.c:1331
#32 0x00096aa3 in recursive_edit_1 () at keyboard.c:953
#33 0x00096beb in Frecursive_edit () at keyboard.c:1015
#34 0x000955bc in main (argc=4, argv=0xbffff9d4) at emacs.c:1852
(gdb) The program is running.  Exit anyway? (y or n) y
error while killing target (killing anyway): assertion failure on line 274 of 
"/SourceCache/gdb/gdb-563/src/gdb/macosx/macosx-nat-inferior-util.c" in 
function "macosx_inferior_suspend_ptrace": status.value.sig == 
TARGET_SIGNAL_STOP

warning: error on line 1758 of 
"/SourceCache/gdb/gdb-563/src/gdb/macosx/macosx-nat-inferior.c" in function 
"macosx_kill_inferior_safe": (os/kern) failure (0x5x)
~/src/emacs-23.1>uname -a                                                vj-mac
Darwin vj-mac.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 
PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
~/src/emacs-23.1>                                                        vj-mac


When I run emacs -Q , call toggle-debug-on-error and then use the
mouse to do "Options" -> "Set Default Font..  I get

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  x-popup-menu((menu-bar) ("Font Menu" ("Misc" ("Default"
  "-apple-Monaco-medium-normal-normal-*-12-*-*-*-m-0-iso10646-1")
  ("fixed" "fixed") ("6x10"
  "-misc-fixed-medium-r-normal--10-*-*-*-c-60-iso8859-1" "6x10")

[...]

  ("14 bold slant"
  "-adobe-courier-bold-o-normal--*-140-*-*-m-*-iso8859-1") ("18 bold
  slant" "-adobe-courier-bold-o-normal--*-180-*-*-m-*-iso8859-1") ("24
  bold slant"
  "-adobe-courier-bold-o-normal--*-240-*-*-m-*-iso8859-1")) nil))
  mouse-select-font() menu-set-font() call-interactively(menu-set-font
  nil nil)

-- 
Vagn Johansen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]