emacs-devel
[Top][All Lists]
Advanced

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

Re: EXC_BAD_ACCESS on Mac


From: 山本和彦
Subject: Re: EXC_BAD_ACCESS on Mac
Date: Tue, 18 Jun 2013 11:27:19 +0900 (JST)

>> 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=<value temporarily unavailable, 
due to optimizations>) 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=<value temporarily unavailable, due to 
optimizations>, file=<value temporarily unavailable, due to optimizations>, 
line=<value temporarily unavailable, due to optimizations>) at alloc.c:6520
#7  0x00000001001cc329 in -[EmacsScroller dealloc] (self=<value temporarily 
unavailable, due to optimizations>, _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 
<command_loop_1>, handlers=4328600218, hfun=0x1000dd800 <cmd_error>) 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 
<command_loop_2>, 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=<value temporarily unavailable, 
due to optimizations>) 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=<value temporarily unavailable, due to 
optimizations>, file=<value temporarily unavailable, due to optimizations>, 
line=<value temporarily unavailable, due to optimizations>) at alloc.c:6520
#7  0x00000001001cc329 in -[EmacsScroller dealloc] (self=<value temporarily 
unavailable, due to optimizations>, _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 
<command_loop_1>, handlers=4328600218, hfun=0x1000dd800 <cmd_error>) 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 
<command_loop_2>, 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





reply via email to

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