From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Darren Hoo Newsgroups: gmane.emacs.bugs Subject: bug#16127: 24.3.50; emacs crashes with macfont_free_entity Date: Fri, 13 Dec 2013 10:46:26 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386902904 23977 80.91.229.3 (13 Dec 2013 02:48:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2013 02:48:24 +0000 (UTC) To: 16127@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 13 03:48:29 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VrInh-00046p-EE for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 03:48:25 +0100 Original-Received: from localhost ([::1]:39684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrInh-0004S4-1y for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2013 21:48:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrInU-0004Rt-3y for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 21:48:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrInK-0001ws-Kp for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 21:48:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrInK-0001wo-H8 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 21:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VrInK-0008PQ-8M for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 21:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Darren Hoo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2013 02:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138690285132279 (code B ref -1); Fri, 13 Dec 2013 02:48:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2013 02:47:31 +0000 Original-Received: from localhost ([127.0.0.1]:46371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrImo-0008OX-81 for submit@debbugs.gnu.org; Thu, 12 Dec 2013 21:47:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43069) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrIml-0008OO-OL for submit@debbugs.gnu.org; Thu, 12 Dec 2013 21:47:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrImb-0001Ut-Mo for submit@debbugs.gnu.org; Thu, 12 Dec 2013 21:47:27 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrImb-0001Up-K7 for submit@debbugs.gnu.org; Thu, 12 Dec 2013 21:47:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrImU-0004Pi-1d for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 21:47:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrImM-0001Sy-MG for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 21:47:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:46501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrImM-0001St-Bp for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2013 21:47:02 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VrImF-00032z-Ow for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 03:46:55 +0100 Original-Received: from 123.122.106.148 ([123.122.106.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Dec 2013 03:46:55 +0100 Original-Received: from darren.hoo by 123.122.106.148 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Dec 2013 03:46:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 95 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.122.106.148 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) Cancel-Lock: sha1:zscT26V5H8+3A1fAFBO53kpEPh8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81849 Archived-At: Bzr revno: 115489 brings this crash: lldb src/emacs Current executable set to 'src/emacs' (x86_64). (lldb) run Process 17619 launched: '/Volumes/disk/emacs/src/emacs' (x86_64) Process 17619 stopped * thread #1: tid = 0x1f0644, 0x00000001001ac8cb emacs`macfont_free_entity [inlined] XCDR(c=9053142519906304, obj=9053142519906304, n=0) + 4 at lisp.h:2007, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00000001001ac8cb emacs`macfont_free_entity [inlined] XCDR(c=9053142519906304, obj=9053142519906304, n=0) + 4 at lisp.h:2007 2004 XSAVE_POINTER (Lisp_Object obj, int n) 2005 { 2006 eassert (save_type (XSAVE_VALUE (obj), n) == SAVE_POINTER); -> 2007 return XSAVE_VALUE (obj)->data[n].pointer; 2008 } 2009 INLINE void 2010 set_save_pointer (Lisp_Object obj, int n, void *val) (lldb) bt all * thread #1: tid = 0x1f0644, 0x00000001001ac8cb emacs`macfont_free_entity [inlined] XCDR(c=9053142519906304, obj=9053142519906304, n=0) + 4 at lisp.h:2007, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00000001001ac8cb emacs`macfont_free_entity [inlined] XCDR(c=9053142519906304, obj=9053142519906304, n=0) + 4 at lisp.h:2007 frame #1: 0x00000001001ac8c7 emacs`macfont_free_entity(entity=4353797322) + 23 at macfont.m:2438 frame #2: 0x000000010010910e emacs`Fgarbage_collect [inlined] cleanup_vector + 84 at alloc.c:2889 frame #3: 0x00000001001090ba emacs`Fgarbage_collect [inlined] sweep_vectors + 168 at alloc.c:2929 frame #4: 0x0000000100109012 emacs`Fgarbage_collect [inlined] gc_sweep + 243 at alloc.c:6631 frame #5: 0x0000000100108f1f emacs`Fgarbage_collect + 6015 at alloc.c:5554 frame #6: 0x000000010015a5e5 emacs`exec_byte_code [inlined] maybe_gc + 1189 at lisp.h:4476 frame #7: 0x000000010015a59b emacs`exec_byte_code(bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) + 1115 at bytecode.c:753 frame #8: 0x000000010012529f emacs`funcall_lambda(fun=, nargs=, arg_vector=0x00007fff5fbff1f0) + 831 at eval.c:3041 frame #9: 0x0000000100124617 emacs`Ffuncall(nargs=, args=) + 631 at eval.c:2854 frame #10: 0x000000010015a9b9 emacs`exec_byte_code(bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) + 2169 at bytecode.c:919 frame #11: 0x000000010012529f emacs`funcall_lambda(fun=, nargs=, arg_vector=0x00007fff5fbff370) + 831 at eval.c:3041 frame #12: 0x0000000100124617 emacs`Ffuncall(nargs=, args=) + 631 at eval.c:2854 frame #13: 0x000000010015a9b9 emacs`exec_byte_code(bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) + 2169 at bytecode.c:919 frame #14: 0x000000010012529f emacs`funcall_lambda(fun=, nargs=, arg_vector=0x00007fff5fbff510) + 831 at eval.c:3041 frame #15: 0x0000000100124617 emacs`Ffuncall(nargs=, args=) + 631 at eval.c:2854 frame #16: 0x000000010015a9b9 emacs`exec_byte_code(bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) + 2169 at bytecode.c:919 frame #17: 0x0000000100124617 emacs`Ffuncall(nargs=, args=) + 631 at eval.c:2854 frame #18: 0x000000010015a9b9 emacs`exec_byte_code(bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) + 2169 at bytecode.c:919 frame #19: 0x0000000100123fd2 emacs`apply_lambda(fun=4297629933, args=) + 290 at eval.c:2914 frame #20: 0x0000000100120c31 emacs`eval_sub(form=) + 865 at eval.c:2220 frame #21: 0x0000000100123d5a emacs`Feval(form=4353822790, lexical=) + 106 at eval.c:1993 frame #22: 0x0000000100122f63 emacs`internal_condition_case(bfun=0x00000001000bfbd0, handlers=, hfun=) + 243 at eval.c:1344 frame #23: 0x00000001000bfbb2 emacs`top_level_1(ignore=) + 82 at keyboard.c:1187 frame #24: 0x0000000100122920 emacs`internal_catch(tag=, func=0x00000001000bfb60, arg=4320145466) + 240 at eval.c:1108 frame #25: 0x00000001000ae63f emacs`recursive_edit_1 [inlined] command_loop + 50 at keyboard.c:1148 frame #26: 0x00000001000ae60d emacs`recursive_edit_1 + 269 at keyboard.c:777 frame #27: 0x00000001000ae79a emacs`Frecursive_edit + 250 at keyboard.c:841 frame #28: 0x00000001000ad514 emacs`main(argc=0, argv=) + 5524 at emacs.c:1634 frame #29: 0x00007fff8d21d5fd libdyld.dylib`start + 1 frame #30: 0x00007fff8d21d5fd libdyld.dylib`start + 1 thread #2: tid = 0x1f065e, 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #0: 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff93c7cf08 libsystem_pthread.dylib`_pthread_wqthread + 330 frame #2: 0x00007fff93c7ffb9 libsystem_pthread.dylib`start_wqthread + 13 thread #3: tid = 0x1f065f, 0x00007fff96ae8662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager frame #0: 0x00007fff96ae8662 libsystem_kernel.dylib`kevent64 + 10 frame #1: 0x00007fff9915043d libdispatch.dylib`_dispatch_mgr_invoke + 239 frame #2: 0x00007fff99150152 libdispatch.dylib`_dispatch_mgr_thread + 52 thread #4: tid = 0x1f0660, 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #0: 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff93c7cf08 libsystem_pthread.dylib`_pthread_wqthread + 330 frame #2: 0x00007fff93c7ffb9 libsystem_pthread.dylib`start_wqthread + 13 thread #5: tid = 0x1f0674, 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #0: 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff93c7cf08 libsystem_pthread.dylib`_pthread_wqthread + 330 frame #2: 0x00007fff93c7ffb9 libsystem_pthread.dylib`start_wqthread + 13 thread #6: tid = 0x1f0675, 0x00007fff96ae79aa libsystem_kernel.dylib`select$DARWIN_EXTSN + 10 frame #0: 0x00007fff96ae79aa libsystem_kernel.dylib`select$DARWIN_EXTSN + 10 frame #1: 0x000000010018f08e emacs`-[EmacsApp fd_handler:](self=, _cmd=, unused=) + 270 at nsterm.m:4807 frame #2: 0x00007fff90c4870b Foundation`__NSThread__main__ + 1318 frame #3: 0x00007fff93c7b899 libsystem_pthread.dylib`_pthread_body + 138 frame #4: 0x00007fff93c7b72a libsystem_pthread.dylib`_pthread_start + 137 frame #5: 0x00007fff93c7ffc9 libsystem_pthread.dylib`thread_start + 13 thread #7: tid = 0x1f067e, 0x00007fff96ae3a1a libsystem_kernel.dylib`mach_msg_trap + 10 frame #0: 0x00007fff96ae3a1a libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff96ae2d18 libsystem_kernel.dylib`mach_msg + 64 frame #2: 0x00007fff91d5c315 CoreFoundation`__CFRunLoopServiceMachPort + 181 frame #3: 0x00007fff91d5b939 CoreFoundation`__CFRunLoopRun + 1161 frame #4: 0x00007fff91d5b275 CoreFoundation`CFRunLoopRunSpecific + 309 frame #5: 0x00007fff9228c1ce AppKit`_NSEventThread + 144 frame #6: 0x00007fff93c7b899 libsystem_pthread.dylib`_pthread_body + 138 frame #7: 0x00007fff93c7b72a libsystem_pthread.dylib`_pthread_start + 137 frame #8: 0x00007fff93c7ffc9 libsystem_pthread.dylib`thread_start + 13 thread #8: tid = 0x1f0686, 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #0: 0x00007fff96ae7e6a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff93c7cf08 libsystem_pthread.dylib`_pthread_wqthread + 330 frame #2: 0x00007fff93c7ffb9 libsystem_pthread.dylib`start_wqthread + 13 (lldb)