[OS X Emacs] Emacs 24 restart infloop

Carsten Bormann cabo at tzi.org
Sat Dec 21 07:59:03 EST 2013


On 21 Dec 2013, at 13:27, Peter West <lists at pbw.id.au> wrote:

> The only regular problem I have is that if I restart OS X when Aqmac has open buffers, Aqmac hangs in some sort of infloop and has to be force quit.)

That is actually a problem plain upstream GNU emacs has as well.

Grüße, Carsten

PS.: I haven’t reported this bug yet, but the salient information is below.
I don’t understand the way auto release pools are being used here, so I don’t know where to begin looking.

0x00007fff9927f5fd in (anonymous namespace)::AutoreleasePoolPage::pop ()
(gdb) where
#0  0x00007fff9927f5fd in (anonymous namespace)::AutoreleasePoolPage::pop ()
#1  0x00007fff9308cd72 in _CFAutoreleasePoolPop ()
#2  0x00007fff98230e4c in -[NSAutoreleasePool release] ()
#3  0x000000010018de6d in ns_read_socket ()
#4  0x00000001000afbbf in gobble_input ()
#5  0x00000001000b0185 in totally_unblock_input ()
#6  0x00000001000a44bf in terminate_due_to_signal ()
#7  0x00000001000c16b6 in deliver_fatal_thread_signal ()
#8  <signal handler called>
#9  0x00007fff9927f62a in (anonymous namespace)::AutoreleasePoolPage::pop ()
#10 0x00007fff9308cd72 in _CFAutoreleasePoolPop ()
#11 0x00007fff98230e4c in -[NSAutoreleasePool release] ()
#12 0x0000000100194f85 in ns_term_init ()
#13 0x000000010019a922 in Fx_open_connection ()
#14 0x000000010011cd53 in Ffuncall ()
#15 0x00000001001533c0 in exec_byte_code ()
#16 0x000000010011ce17 in Ffuncall ()
#17 0x00000001001533c0 in exec_byte_code ()
#18 0x000000010011ce17 in Ffuncall ()
#19 0x000000010011fb1e in eval_sub ()
#20 0x000000010012097b in internal_lisp_condition_case ()
#21 0x0000000100154481 in exec_byte_code ()
#22 0x000000010011ce17 in Ffuncall ()
#23 0x00000001001533c0 in exec_byte_code ()
#24 0x000000010011ffd3 in apply_lambda ()
#25 0x000000010011fd1b in eval_sub ()
#26 0x000000010011c5d4 in Feval ()
#27 0x000000010011ea91 in internal_condition_case ()
#28 0x00000001000b8c2b in top_level_1 ()
#29 0x000000010011ebc5 in internal_catch ()
#30 0x00000001000b8ef2 in recursive_edit_1 ()
#31 0x00000001000a9fdd in Frecursive_edit ()
#32 0x00000001000a655a in main ()
(gdb) 


0x0000000100194f79 <ns_term_init+3321>:	mov    0x89ba8(%rip),%rsi        # 0x10021eb28
0x0000000100194f80 <ns_term_init+3328>:	callq  0x1001bb848 <dyld_stub_objc_msgSend>
0x0000000100194f85 <ns_term_init+3333>:	movb   $0x1,0x41d92c(%rip)        # 0x1005b28b8 <ns_do_open_file.b>
0x0000000100194f8c <ns_term_init+3340>:	mov    0x85215(%rip),%rax        # 0x10021a1a8

So we are here (nsterm.m, line 4330):

    [NSApp activateIgnoringOtherApps:YES];

->  [NSApp run];
    ns_do_open_file = YES;




More information about the MacOSX-Emacs mailing list