From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) Newsgroups: gmane.emacs.devel Subject: Re: EXC_BAD_ACCESS on Mac Date: Tue, 18 Jun 2013 11:27:19 +0900 (JST) Message-ID: <20130618.112719.2252126271017151770.kazu@iij.ad.jp> References: <20130618.044405.1130378281292486125.kazu@iij.ad.jp> <51BF90EE.90908@cs.ucla.edu> <20130618.092933.35336000126336498.kazu@iij.ad.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1371522489 26065 80.91.229.3 (18 Jun 2013 02:28:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2013 02:28:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 18 04:28:10 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UoleU-0001E3-Bu for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2013 04:28:10 +0200 Original-Received: from localhost ([::1]:46205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoleT-0005fs-Ji for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 22:28:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoleO-0005fj-RN for emacs-devel@gnu.org; Mon, 17 Jun 2013 22:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoleL-0001D0-2I for emacs-devel@gnu.org; Mon, 17 Jun 2013 22:28:04 -0400 Original-Received: from mo30.iij.ad.jp ([202.232.30.71]:45777 helo=omgo.iij.ad.jp) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoleK-0001CY-CT for emacs-devel@gnu.org; Mon, 17 Jun 2013 22:28:00 -0400 DKIM-Signature: v=1;a=rsa-sha256;c=relaxed/simple;d=iij.ad.jp;h=Date: Message-Id:To:Subject:From:In-Reply-To:References:Mime-Version:Content-Type: Content-Transfer-Encoding; i=kazu@iij.ad.jp; s=omgo1; t=1371522478; x=1372732078; bh=gPSrw0nTTH6G0elDb1qZXhze31fRtz4JdPp1hkBQXj0=; b=ku5Uc33MQw1fCW8GKKvBZwDh3wM d1OQ49nZDDNgk60V219i0jzeAQRmJTGzeUhlHD/GFoXpzsvJXtKYLERjvvOjJZ8wGb45nvmOcy7zq 1HLJ+Wic9iPFakivfLqPTrKMFl2o3LGvFUlY+IcRU3+nZuoQwE1zLWsiK62OOBOo51k=; Original-Received: by omgo.iij.ad.jp (mo30) id r5I2RvLJ007675; Tue, 18 Jun 2013 11:27:58 +0900 In-Reply-To: <20130618.092933.35336000126336498.kazu@iij.ad.jp> X-Mailer: Mew version 6.5 on Emacs 24.3.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 202.232.30.71 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160547 Archived-At: >> What happens if you apply the following patch and compile >> with -DENABLE_CHECKING? > > Thanks you for the patch. I compiled Emacs with: > ./configure --with-ns --enable-checking > > Let me see what will happen. Emacs receives SIGABRT quite often. Two stack traces are attached. --Kazu #0 0x00007fff93243d46 in __kill () #1 0x00000001000c5a49 in terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:350 #2 0x00000001000e6d23 in emacs_abort () at sysdep.c:2148 #3 0x00000001001d921d in ns_term_shutdown (sig=) at nsterm.m:4388 #4 0x00000001000c60fe in shut_down_emacs (sig=6, stuff=8345) at emacs.c:1951 #5 0x00000001000c5a0b in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:334 #6 0x000000010012c2e3 in die (msg=, file=, line=) at alloc.c:6520 #7 0x00000001001cc329 in -[EmacsScroller dealloc] (self=, _cmd=0x6) at lisp.h:800 #8 0x00007fff9074f230 in (anonymous namespace)::AutoreleasePoolPage::pop () #9 0x00007fff8891fd72 in _CFAutoreleasePoolPop () #10 0x00007fff8ed37fbd in -[NSAutoreleasePool release] () #11 0x00000001001dbc01 in ns_read_socket (terminal=0x2099, hold_quit=0x7fff5fbfee60) at nsterm.m:3497 #12 0x00000001000d382f in gobble_input () at keyboard.c:6850 #13 0x00000001000d3d95 in swallow_events (do_display=true) at keyboard.c:6771 #14 0x00000001000050ea in sit_for (timeout=120, display_option=1, reading=true) at dispnew.c:5756 #15 0x00000001000d82ca in read_char (commandflag=1606414736, map=140734799802768, prev_event=0, used_mouse_menu=0x7fff5fbff190, end_time=0x7fff5fbff190) at keyboard.c:2809 #16 0x00000001000db792 in read_key_sequence () at keyboard.c:2852 #17 0x00000001000dd5f4 in command_loop_1 () at keyboard.c:1449 #18 0x000000010015143b in internal_condition_case (bfun=0x1000dbf70 , handlers=4328600218, hfun=0x1000dd800 ) at eval.c:1277 #19 0x00000001000dbf4e in NILP [inlined] () at /Users/kazu/work/emacs/src/lisp.h:1164 #20 0x00000001000dbf4e in command_loop_2 (ignore=140734799803240) at keyboard.c:1165 #21 0x0000000100151527 in internal_catch (tag=140734799803240, func=0x1000dbf10 , arg=140734799803240) at eval.c:1051 #22 0x00000001000dddc0 in command_loop [inlined] () at /Users/kazu/work/emacs/src/keyboard.c:1143 #23 0x00000001000dddc0 in recursive_edit_1 () at keyboard.c:776 #24 0x00000001000cb4f9 in Frecursive_edit () at keyboard.c:840 #25 0x00000001000c7f5f in main (argc=6844736, argv=0x7fff5fbff910) at emacs.c:1550 (gdb) #0 0x00007fff93243d46 in __kill () #1 0x00000001000c5a49 in terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:350 #2 0x00000001000e6d23 in emacs_abort () at sysdep.c:2148 #3 0x00000001001d921d in ns_term_shutdown (sig=) at nsterm.m:4388 #4 0x00000001000c60fe in shut_down_emacs (sig=6, stuff=8345) at emacs.c:1951 #5 0x00000001000c5a0b in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:334 #6 0x000000010012c2e3 in die (msg=, file=, line=) at alloc.c:6520 #7 0x00000001001cc329 in -[EmacsScroller dealloc] (self=, _cmd=0x6) at lisp.h:800 #8 0x00007fff9074f230 in (anonymous namespace)::AutoreleasePoolPage::pop () #9 0x00007fff8891fd72 in _CFAutoreleasePoolPop () #10 0x00007fff8ed37fbd in -[NSAutoreleasePool release] () #11 0x00000001001dbc01 in ns_read_socket (terminal=0x2099, hold_quit=0x7fff5fbfee60) at nsterm.m:3497 #12 0x00000001000d382f in gobble_input () at keyboard.c:6850 #13 0x00000001000d3d95 in swallow_events (do_display=true) at keyboard.c:6771 #14 0x00000001000050ea in sit_for (timeout=120, display_option=1, reading=true) at dispnew.c:5756 #15 0x00000001000d82ca in read_char (commandflag=1606414736, map=140734799802768, prev_event=0, used_mouse_menu=0x7fff5fbff190, end_time=0x7fff5fbff190) at keyboard.c:2809 #16 0x00000001000db792 in read_key_sequence () at keyboard.c:2852 #17 0x00000001000dd5f4 in command_loop_1 () at keyboard.c:1449 #18 0x000000010015143b in internal_condition_case (bfun=0x1000dbf70 , handlers=4328600218, hfun=0x1000dd800 ) at eval.c:1277 #19 0x00000001000dbf4e in NILP [inlined] () at /Users/kazu/work/emacs/src/lisp.h:1164 #20 0x00000001000dbf4e in command_loop_2 (ignore=140734799803240) at keyboard.c:1165 #21 0x0000000100151527 in internal_catch (tag=140734799803240, func=0x1000dbf10 , arg=140734799803240) at eval.c:1051 #22 0x00000001000dddc0 in command_loop [inlined] () at /Users/kazu/work/emacs/src/keyboard.c:1143 #23 0x00000001000dddc0 in recursive_edit_1 () at keyboard.c:776 #24 0x00000001000cb4f9 in Frecursive_edit () at keyboard.c:840 #25 0x00000001000c7f5f in main (argc=6844736, argv=0x7fff5fbff910) at emacs.c:1550