From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vagn Johansen Newsgroups: gmane.emacs.devel Subject: Re: Abort on Mac OS X 10.4.11/ppc Date: Sun, 02 Aug 2009 13:42:45 +0200 Message-ID: References: <20090731.022844.193693926.yyamano@kt.rim.or.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249213405 19494 80.91.229.12 (2 Aug 2009 11:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Aug 2009 11:43:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 02 13:43:17 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MXZTA-00007R-BW for ged-emacs-devel@m.gmane.org; Sun, 02 Aug 2009 13:43:17 +0200 Original-Received: from localhost ([127.0.0.1]:55677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXZT9-0005dc-O3 for ged-emacs-devel@m.gmane.org; Sun, 02 Aug 2009 07:43:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXZT4-0005dT-1Z for emacs-devel@gnu.org; Sun, 02 Aug 2009 07:43:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXZSx-0005d7-U8 for emacs-devel@gnu.org; Sun, 02 Aug 2009 07:43:08 -0400 Original-Received: from [199.232.76.173] (port=37711 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXZSx-0005d4-Rx for emacs-devel@gnu.org; Sun, 02 Aug 2009 07:43:03 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:50497 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXZSx-0004rE-6p for emacs-devel@gnu.org; Sun, 02 Aug 2009 07:43:03 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MXZSs-0001ZS-Se for emacs-devel@gnu.org; Sun, 02 Aug 2009 11:42:58 +0000 Original-Received: from 1503027101.dong.dbnet.dk ([89.150.95.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 11:42:58 +0000 Original-Received: from gonz808 by 1503027101.dong.dbnet.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 11:42:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 106 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1503027101.dong.dbnet.dk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) Cancel-Lock: sha1:Lx4HqRhGJp9NdswJ6ZR3q91mcgE= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113545 Archived-At: Yuji Yamano 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 , handlers=41983689, hfun=0x9d996 ) at eval.c:1512 #29 0x00096cb8 in top_level_1 () at keyboard.c:1376 #30 0x00104e96 in internal_catch (tag=41979809, func=0x96c76 , 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