From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Genovese Newsgroups: gmane.emacs.bugs Subject: bug#14375: 24.3; Many, Random Crashes, on Mac OS X Date: Mon, 13 May 2013 14:12:48 -0400 Message-ID: References: <132ACD64-393F-478F-AD97-1BDAF16FD3E2@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3071c7ce187bb504dc9d783c X-Trace: ger.gmane.org 1368468826 18045 80.91.229.3 (13 May 2013 18:13:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 18:13:46 +0000 (UTC) Cc: 14375@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 13 20:13:45 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 1UbxFo-0003de-Ea for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2013 20:13:44 +0200 Original-Received: from localhost ([::1]:60020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbxFn-00078B-VX for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2013 14:13:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbxFh-000770-Dn for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 14:13:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbxFe-0002Y6-3s for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 14:13:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbxFd-0002XI-U5 for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 14:13:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UbxG5-0005Ob-OI for bug-gnu-emacs@gnu.org; Mon, 13 May 2013 14:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Genovese Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2013 18:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14375 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 14375-submit@debbugs.gnu.org id=B14375.136846882220678 (code B ref 14375); Mon, 13 May 2013 18:14:01 +0000 Original-Received: (at 14375) by debbugs.gnu.org; 13 May 2013 18:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:38935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbxFl-0005NS-EL for submit@debbugs.gnu.org; Mon, 13 May 2013 14:13:42 -0400 Original-Received: from mail-vb0-f50.google.com ([209.85.212.50]:60269) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbxFi-0005ND-GG for 14375@debbugs.gnu.org; Mon, 13 May 2013 14:13:39 -0400 Original-Received: by mail-vb0-f50.google.com with SMTP id w16so5479591vbb.9 for <14375@debbugs.gnu.org>; Mon, 13 May 2013 11:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=j7NAvAZb6huLh+WyJUiwM6qWDWjCg4PBcDxE1r0ACeE=; b=D58tGRPKgAJ64e+p8fTHbN2J1g+Ad+EfPwz9BfvxEaTh0/ZOW5IeOTB8EIbR8Dh8xp sXQ5xCq+9diVJEgFrstGEpRhj8cl7AvBcAIPxCzMx/ehVRvYw+10G0JzaMxFKo5QC+l4 DASdyOYfLH1Dar0QdFmz1nLgCzYRpZlYQK6wDtvY2wUu7SWw9bO4QbD3gFrzHfwq8eJl 0LamXTm3b28a8NHuNjdeB683+A02sWW9OdOvi+68kPW9j7xKxQs4ZiNtDUtjlibzkk8r FJV+RpaEBG1iUw9kGUsVC9EfobSK28GmFZqNefAPCgNrZhYmO8ZFGQ9BrLbQv1zfyWUS tCZQ== X-Received: by 10.52.95.103 with SMTP id dj7mr16227896vdb.25.1368468789687; Mon, 13 May 2013 11:13:09 -0700 (PDT) Original-Received: by 10.52.34.229 with HTTP; Mon, 13 May 2013 11:12:48 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 2S9H2ntro_k8KBzGIwwmvuK4Qyc X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:74213 Archived-At: --20cf3071c7ce187bb504dc9d783c Content-Type: text/plain; charset=ISO-8859-1 With NSZombieEnabled set to YES as instructed, I got the following on the most recent crash 2013-05-13 13:17:12.964 Emacs[66253:1307] *** -[CTFontDescriptor objectForKey:]: message sent to deallocated instance 0x1336d9920 Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007fff8ddf6d57 in ___forwarding___ () (gdb) That's it. Emacs disappeared at that point and hung around; eventually I had to Force Quit. This seems to support the Zombie Hypothesis. What should I do about it? I've put the backtrace below. (bt full gave no symbol table information, and xbacktrace does not appear to be available on my gdb.) The previous crash happened shortly after our correspondence before I changed the environment setting. I've included the top (for brevity) of that backtrace below. It seems to be a null pointer access. Again, nsfont_open is showing up in both. Thanks for your help, Chris Stack trace for Zombie Enabled Crash: #0 0x00007fff8ddf6d57 in ___forwarding___ () #1 0x00007fff8ddf6c38 in __forwarding_prep_0___ () #2 0x00000001001703d5 in ns_attribute_fvalue () #3 0x000000010016e733 in nsfont_open () #4 0x0000000100108be0 in font_open_entity () #5 0x0000000100108d3c in font_load_for_lface () #6 0x0000000100088db5 in realize_face () #7 0x0000000100089c65 in lookup_face () #8 0x000000010008b6c0 in face_at_buffer_position () #9 0x0000000100043178 in handle_face_prop () #10 0x0000000100042750 in handle_stop () #11 0x0000000100041bc4 in next_element_from_buffer () #12 0x0000000100014be0 in get_next_display_element () #13 0x000000010002125a in display_line () #14 0x0000000100020bd6 in try_window () #15 0x000000010003b20d in redisplay_window () #16 0x00000001000407b2 in redisplay_window_0 () #17 0x00000001000f82e3 in internal_condition_case_1 () #18 0x0000000100038119 in redisplay_windows () #19 0x000000010001db42 in redisplay_internal () #20 0x00000001000204c8 in redisplay_preserve_echo_area () #21 0x000000010000621b in Fredisplay () #22 0x00000001000f9930 in Ffuncall () #23 0x000000010012a305 in exec_byte_code () #24 0x00000001000f66ca in eval_sub () #25 0x00000001000f8013 in internal_lisp_condition_case () #26 0x000000010012af11 in exec_byte_code () #27 0x00000001000fa20b in funcall_lambda () #28 0x00000001000f97ce in Ffuncall () #29 0x00000001000f9d71 in call0 () #30 0x00000001000f8193 in internal_condition_case () #31 0x0000000100093b06 in safe_run_hook_funcall () #32 0x00000001000f9c15 in run_hook_with_args () #33 0x0000000100091586 in safe_run_hooks () #34 0x00000001000b9903 in run_exit_minibuf_hook () #35 0x00000001000f5fc1 in unbind_to () #36 0x00000001000b7584 in read_minibuf () #37 0x00000001000b6aee in Fread_from_minibuffer () #38 0x00000001000f67b9 in eval_sub () #39 0x00000001000f6922 in Fprogn () #40 0x00000001000fa1d6 in funcall_lambda () #41 0x00000001000f97ce in Ffuncall () #42 0x000000010012a305 in exec_byte_code () #43 0x00000001000fa20b in funcall_lambda () #44 0x00000001000f97ce in Ffuncall () #45 0x000000010012a305 in exec_byte_code () #46 0x00000001000f66ca in eval_sub () #47 0x00000001000f7c82 in internal_catch () #48 0x000000010012aea8 in exec_byte_code () #49 0x00000001000fa20b in funcall_lambda () #50 0x00000001000f97ce in Ffuncall () #51 0x000000010012a305 in exec_byte_code () #52 0x00000001000fa20b in funcall_lambda () #53 0x00000001000f97ce in Ffuncall () #54 0x000000010012a305 in exec_byte_code () #55 0x00000001000fa20b in funcall_lambda () #56 0x00000001000f97ce in Ffuncall () #57 0x00000001000f521d in Fcall_interactively () #58 0x00000001000f9954 in Ffuncall () #59 0x00000001000f9dee in call3 () #60 0x000000010009061d in command_loop_1 () #61 0x00000001000f8193 in internal_condition_case () #62 0x000000010009fb15 in command_loop_2 () #63 0x00000001000f7c82 in internal_catch () #64 0x000000010008f9e5 in recursive_edit_1 () #65 0x000000010008fb29 in Frecursive_edit () #66 0x000000010008ea80 in main () Top of the Stack trace for previous crash: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x00007fff83fc0210 in objc_msgSend_vtable8 () #0 0x00007fff83fc0210 in objc_msgSend_vtable8 () #1 0x00000001001703d5 in ns_attribute_fvalue () #2 0x000000010016e733 in nsfont_open () #3 0x0000000100108be0 in font_open_entity () #4 0x0000000100108d3c in font_load_for_lface () #5 0x0000000100088db5 in realize_face () #6 0x0000000100089c65 in lookup_face () #7 0x000000010008b6c0 in face_at_buffer_position () #8 0x0000000100043178 in handle_face_prop () #9 0x0000000100042750 in handle_stop () #10 0x00000001000143cd in start_display () #11 0x0000000100020b9d in try_window () #12 0x000000010003b20d in redisplay_window () #13 0x00000001000407b2 in redisplay_window_0 () #14 0x00000001000f82e3 in internal_condition_case_1 () #15 0x0000000100038119 in redisplay_windows () #16 0x0000000100038120 in redisplay_windows () #17 0x0000000100038120 in redisplay_windows () #18 0x000000010001db42 in redisplay_internal () #19 0x0000000100094795 in read_char () #20 0x0000000100091cd0 in read_key_sequence () #21 0x0000000100091357 in command_loop_1 () --20cf3071c7ce187bb504dc9d783c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
With NSZombieEnabled set to YES as instruct= ed, I got the following on the most
recent crash

2013-05-13 13:17= :12.964 Emacs[66253:1307] *** -[CTFontDescriptor objectForKey:]: message se= nt to deallocated instance 0x1336d9920

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fff8d= df6d57 in ___forwarding___ ()
(gdb)

That's it. Em= acs disappeared at that point and hung around; eventually I had
to Force= Quit.=A0

This seems to support the Zombie Hypothesis. What should I do about it?=

I've put the backtrace below. (bt full gave no symbol table
= information, and xbacktrace does not appear to be available on my gdb.)

The previous crash happened shortly after our correspo= ndence before
I changed the environment setting.=A0 I've inclu= ded the top (for brevity)
of that backtrace below. It seems to be a null= pointer access.
Again, nsfont_open is showing up in both.

Thanks for your help,

=A0=A0 Chris

Stack trace for Zombie Enabled Crash:

#0=A0 0x00007fff8ddf6d57 in= ___forwarding___ ()
#1=A0 0x00007fff8ddf6c38 in __forwarding_prep_0___ ()
#2=A0 0x0000000100= 1703d5 in ns_attribute_fvalue ()
#3=A0 0x000000010016e733 in nsfont_open= ()
#4=A0 0x0000000100108be0 in font_open_entity ()
#5=A0 0x000000010= 0108d3c in font_load_for_lface ()
#6=A0 0x0000000100088db5 in realize_face ()
#7=A0 0x0000000100089c65 in = lookup_face ()
#8=A0 0x000000010008b6c0 in face_at_buffer_position ()#9=A0 0x0000000100043178 in handle_face_prop ()
#10 0x0000000100042750 = in handle_stop ()
#11 0x0000000100041bc4 in next_element_from_buffer ()
#12 0x000000010001= 4be0 in get_next_display_element ()
#13 0x000000010002125a in display_li= ne ()
#14 0x0000000100020bd6 in try_window ()
#15 0x000000010003b20d = in redisplay_window ()
#16 0x00000001000407b2 in redisplay_window_0 ()
#17 0x00000001000f82e3 i= n internal_condition_case_1 ()
#18 0x0000000100038119 in redisplay_windo= ws ()
#19 0x000000010001db42 in redisplay_internal ()
#20 0x000000010= 00204c8 in redisplay_preserve_echo_area ()
#21 0x000000010000621b in Fredisplay ()
#22 0x00000001000f9930 in Ffunca= ll ()
#23 0x000000010012a305 in exec_byte_code ()
#24 0x00000001000f6= 6ca in eval_sub ()
#25 0x00000001000f8013 in internal_lisp_condition_cas= e ()
#26 0x000000010012af11 in exec_byte_code ()
#27 0x00000001000fa20b in fu= ncall_lambda ()
#28 0x00000001000f97ce in Ffuncall ()
#29 0x000000010= 00f9d71 in call0 ()
#30 0x00000001000f8193 in internal_condition_case ()=
#31 0x0000000100093b06 in safe_run_hook_funcall ()
#32 0x00000001000f9c1= 5 in run_hook_with_args ()
#33 0x0000000100091586 in safe_run_hooks ()#34 0x00000001000b9903 in run_exit_minibuf_hook ()
#35 0x00000001000f5= fc1 in unbind_to ()
#36 0x00000001000b7584 in read_minibuf ()
#37 0x00000001000b6aee in Frea= d_from_minibuffer ()
#38 0x00000001000f67b9 in eval_sub ()
#39 0x0000= 0001000f6922 in Fprogn ()
#40 0x00000001000fa1d6 in funcall_lambda () #41 0x00000001000f97ce in Ffuncall ()
#42 0x000000010012a305 in exec_byt= e_code ()
#43 0x00000001000fa20b in funcall_lambda ()
#44 0x000000010= 00f97ce in Ffuncall ()
#45 0x000000010012a305 in exec_byte_code ()
#46 0x00000001000f66ca in eval_sub ()
#47 0x00000001000f7c82 in internal= _catch ()
#48 0x000000010012aea8 in exec_byte_code ()
#49 0x000000010= 00fa20b in funcall_lambda ()
#50 0x00000001000f97ce in Ffuncall ()
#51 0x000000010012a305 in exec_byte_code ()
#52 0x00000001000fa20b in fu= ncall_lambda ()
#53 0x00000001000f97ce in Ffuncall ()
#54 0x000000010= 012a305 in exec_byte_code ()
#55 0x00000001000fa20b in funcall_lambda ()=
#56 0x00000001000f97ce in Ffuncall ()
#57 0x00000001000f521d in Fcall_in= teractively ()
#58 0x00000001000f9954 in Ffuncall ()
#59 0x0000000100= 0f9dee in call3 ()
#60 0x000000010009061d in command_loop_1 ()
#61 0x= 00000001000f8193 in internal_condition_case ()
#62 0x000000010009fb15 in command_loop_2 ()
#63 0x00000001000f7c82 in in= ternal_catch ()
#64 0x000000010008f9e5 in recursive_edit_1 ()
#65 0x0= 00000010008fb29 in Frecursive_edit ()
#66 0x000000010008ea80 in main ()<= br>

Top of the Stack trace for previous crash:

Progra= m received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at= address: 0x0000000000000000
0x00007fff83fc0210 in objc_msgSend_vtable8 = ()

#0=A0 0x00007fff83fc0210 in objc_msgSend_vtable8 ()
#1=A0 0x00000001= 001703d5 in ns_attribute_fvalue ()
#2=A0 0x000000010016e733 in nsfont_op= en ()
#3=A0 0x0000000100108be0 in font_open_entity ()
#4=A0 0x0000000= 100108d3c in font_load_for_lface ()
#5=A0 0x0000000100088db5 in realize_face ()
#6=A0 0x0000000100089c65 in = lookup_face ()
#7=A0 0x000000010008b6c0 in face_at_buffer_position ()#8=A0 0x0000000100043178 in handle_face_prop ()
#9=A0 0x000000010004275= 0 in handle_stop ()
#10 0x00000001000143cd in start_display ()
#11 0x0000000100020b9d in try= _window ()
#12 0x000000010003b20d in redisplay_window ()
#13 0x000000= 01000407b2 in redisplay_window_0 ()
#14 0x00000001000f82e3 in internal_c= ondition_case_1 ()
#15 0x0000000100038119 in redisplay_windows ()
#16 0x0000000100038120 in= redisplay_windows ()
#17 0x0000000100038120 in redisplay_windows ()
= #18 0x000000010001db42 in redisplay_internal ()
#19 0x0000000100094795 i= n read_char ()
#20 0x0000000100091cd0 in read_key_sequence ()
#21 0x0000000100091357 in= command_loop_1 ()


--20cf3071c7ce187bb504dc9d783c--