From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 05 17:22:32 2014 Received: (at submit) by debbugs.gnu.org; 5 Jan 2014 22:22:32 +0000 Received: from localhost ([127.0.0.1]:36990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vzw5X-0002fp-1o for submit@debbugs.gnu.org; Sun, 05 Jan 2014 17:22:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40485) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vzw5T-0002fe-O2 for submit@debbugs.gnu.org; Sun, 05 Jan 2014 17:22:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzw5L-00016l-7h for submit@debbugs.gnu.org; Sun, 05 Jan 2014 17:22:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_50,FREEMAIL_FROM, FUZZY_AMBIEN,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzw5L-00016h-3w for submit@debbugs.gnu.org; Sun, 05 Jan 2014 17:22:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzw5C-00062C-K6 for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 17:22:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzw54-00014D-3X for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 17:22:10 -0500 Received: from mail-qc0-x22a.google.com ([2607:f8b0:400d:c01::22a]:35714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzw53-00013r-SU for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 17:22:02 -0500 Received: by mail-qc0-f170.google.com with SMTP id x13so16897613qcv.15 for ; Sun, 05 Jan 2014 14:22:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=84NqJr10NI+vOTK5B1fk2WpbIyHJMj65WfbU+QbXQGU=; b=Sgv4ztguMSl6u1JBSLxVCo5TG4PDOr4gNstSFq7fUT6G83tEDy2KEJxLmLNbNd4Gle VxOhWcNfK2CJlFhbtmPfXS086LzzwretPZlyK33F5jgO2tvPs/2G9sQ0lhGT5/uGRUMr +0EtmraJ9KL17SKb1pGgQRAAr02lYyP4WQ6USZnyHTASVKFBH3QQuAmwu21TYW7Prbrx 2cbjVw6ayTSYzW6cDfqPVykeMfplfh+ymSDaAJxMVwGa3WODsXOiSW001CYyH7Kvs6df 1EZ9nERtIFS/AKSK4LFQ1kcTHBVuOb8z+52Ljt56rPTQM3UJL20j63o8fiuGvToZFwHv eYGw== X-Received: by 10.49.1.106 with SMTP id 10mr181067317qel.55.1388960521021; Sun, 05 Jan 2014 14:22:01 -0800 (PST) Received: from [10.0.2.128] (c-71-58-245-42.hsd1.pa.comcast.net. [71.58.245.42]) by mx.google.com with ESMTPSA id o5sm102141716qeg.2.2014.01.05.14.21.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 Jan 2014 14:21:59 -0800 (PST) From: David Reitter Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Crash/Hang when restoring via Mac "resume" [Mac/NS] Message-Id: Date: Sun, 5 Jan 2014 17:21:58 -0500 To: Bug-Gnu-Emacs Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.2 (--) If started manually from Finder (rather than automatically after logging in), Emacs hangs (1). Sometimes, after a successful reboot and resume of the application, it hangs when quitting (2). Usually, when restarting after a boot (with resume), Emacs hangs in ns_term_init (3). [Note that this is with a vanilla GNU Emacs = --with-ns, current HEAD, on OS X 10.9.] The problem is easily reproducible, and I have countless crash reports from users. It does not occur with an Emacs 23-based build. (2) and (3) are in a [autoreleasepool release]. If it is a retain/release issue, NSZombieEnabled=3DYES won't bring=20 up anything during normal runs, and=20 I haven't figured out how to do it during resume on 10.9 (without forking Emacs from within itself, which makes the error go away). Setting the NSWindow to "not restorable" does not help. ( [win setRestorable: NO] ). Any other suggestions on how to debug this? (1) (lldb) bt * thread #1: tid =3D 0x06bc, 0x00007fff8d996a1a = libsystem_kernel.dylib`mach_msg_trap + 10, queue =3D = 'com.apple.main-thread, stop reason =3D signal SIGSTOP frame #0: 0x00007fff8d996a1a libsystem_kernel.dylib`mach_msg_trap + = 10 frame #1: 0x00007fff8d995dd5 libsystem_kernel.dylib`mach_msg + 253 frame #2: 0x00007fff97036315 = CoreFoundation`__CFRunLoopServiceMachPort + 181 frame #3: 0x00007fff97035939 CoreFoundation`__CFRunLoopRun + 1161 frame #4: 0x00007fff97035275 CoreFoundation`CFRunLoopRunSpecific + = 309 frame #5: 0x00007fff95ee3f0d HIToolbox`RunCurrentEventLoopInMode + = 226 frame #6: 0x00007fff95ee3cb7 HIToolbox`ReceiveNextEventCommon + 479 frame #7: 0x00007fff95ee3abc = HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 65 frame #8: 0x00007fff8f71e28e AppKit`_DPSNextEvent + 1434 frame #9: 0x00007fff8f71d8db AppKit`-[NSApplication = nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 frame #10: 0x000000010029ba5c Aquamacs`-[EmacsApp = run](self=3D0x0000610000124f60, _cmd=3D0x00007fff90153296) + 300 at = nsterm.m:4597 frame #11: 0x0000000100299478 Aquamacs`ns_select(nfds=3D0, = readfds=3D0x00007fff5fbfeca0, writefds=3D0x00007fff5fbfec20, = exceptfds=3D0x0000000000000000, timeout=3D0x00007fff5fbfebf8, = sigmask=3D0x0000000000000000) + 1016 at nsterm.m:3769 frame #12: 0x0000000100252c2f = Aquamacs`wait_reading_process_output(time_limit=3D75, nsecs=3D0, = read_kbd=3D-1, do_display=3Dtrue, wait_for_cell=3D4328534074, = wait_proc=3D0x0000000000000000, just_wait_proc=3D0) + 3727 at = process.c:4579 frame #13: 0x00000001000087a5 Aquamacs`sit_for(timeout=3D300, = reading=3Dtrue, display_option=3D1) + 597 at dispnew.c:5766 frame #14: 0x000000010013243d Aquamacs`read_char(commandflag=3D1, = map=3D4339007302, prev_event=3D4328534074, = used_mouse_menu=3D0x00007fff5fbff54f, end_time=3D0x0000000000000000) + = 4301 at keyboard.c:2815 frame #15: 0x000000010012de7d = Aquamacs`read_key_sequence(keybuf=3D0x00007fff5fbff780, bufsize=3D30, = prompt=3D4328534074, dont_downcase_last=3Dfalse, = can_return_switch_frame=3Dtrue, fix_current_buffer=3Dtrue, = prevent_redisplay=3Dfalse) + 1757 at keyboard.c:9108 frame #16: 0x000000010012c9c8 Aquamacs`command_loop_1 + 1224 at = keyboard.c:1431 frame #17: 0x00000001001ea289 = Aquamacs`internal_condition_case(bfun=3D0x000000010012c500, = handlers=3D4328609626, hfun=3D0x0000000100146330) + 441 at eval.c:1331 frame #18: 0x0000000100146229 = Aquamacs`command_loop_2(ignore=3D4328534074) + 41 at keyboard.c:1158 frame #19: 0x00000001001e9871 = Aquamacs`internal_catch(tag=3D4328605818, func=3D0x0000000100146200, = arg=3D4328534074) + 401 at eval.c:1097 frame #20: 0x000000010012bacb Aquamacs`command_loop + 187 at = keyboard.c:1137 frame #21: 0x000000010012b994 Aquamacs`recursive_edit_1 + 132 at = keyboard.c:776 frame #22: 0x000000010012bc70 Aquamacs`Frecursive_edit + 320 at = keyboard.c:840 frame #23: 0x0000000100129d22 Aquamacs`main(argc=3D2, arg (lldb) f 11 frame #11: 0x0000000100299478 Aquamacs`ns_select(nfds=3D0, = readfds=3D0x00007fff5fbfeca0, writefds=3D0x00007fff5fbfec20, = exceptfds=3D0x0000000000000000, timeout=3D0x00007fff5fbfebf8, = sigmask=3D0x0000000000000000) + 1016 at nsterm.m:3769 3766 { 3767 emacs_abort (); 3768 } -> 3769 [NSApp run]; 3770 --apploopnr; 3771 emacs_event =3D NULL; 3772 if (nr > 0 && readfds) (lldb) fr v (int) nfds =3D 0 (fd_set *) readfds =3D 0x00007fff5fbfeca0 (fd_set *) writefds =3D 0x00007fff5fbfec20 (fd_set *) exceptfds =3D 0x0000000000000000 (const timespec *) timeout =3D 0x00007fff5fbfebf8 (const sigset_t *) sigmask =3D 0x0000000000000000 (int) result =3D 1 (int) t =3D 1273043 (int) k =3D 1 (int) nr =3D 0 (input_event) event =3D { kind =3D NO_EVENT code =3D 0 part =3D scroll_bar_above_handle modifiers =3D 0 x =3D 0 y =3D 0 timestamp =3D 0 frame_or_window =3D 0 arg =3D 0 } (char) c =3D '\0' (lldb) f 10 frame #10: 0x000000010029ba5c Aquamacs`-[EmacsApp = run](self=3D0x0000610000124f60, _cmd=3D0x00007fff90153296) + 300 at = nsterm.m:4597 4594 self->isFirst =3D YES; 4595 4596 return self; -> 4597 } 4598 4599 - (void)run 4600 { (lldb) fr v (EmacsApp *) self =3D 0x0000610000124f60 (SEL) _cmd =3D "run" (NSAutoreleasePool *) pool =3D 0x000060000005ca10 (NSEvent *) event =3D 0x00007fff5fbfe810 (lldb) po event [no Objective-C description available] (2) (lldb) bt * thread #1: tid =3D 0x0fe3, 0x00007fff8eb3f5fd = libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + = 409, queue =3D 'com.apple.main-thread, stop reason =3D EXC_BAD_ACCESS = (code=3D1, address=3D0x10) frame #0: 0x00007fff8eb3f5fd libobjc.A.dylib`(anonymous = namespace)::AutoreleasePoolPage::pop(void*) + 409 frame #1: 0x00007fff94dacd72 CoreFoundation`_CFAutoreleasePoolPop + = 50 frame #2: 0x00007fff8ed54e4c Foundation`-[NSAutoreleasePool release] = + 140 frame #3: 0x00000001002b1521 = Aquamacs`ns_read_socket(terminal=3D0x0000000105a22ba8, = hold_quit=3D0x00007fff5fbfc510) + 273 at nsterm.m:3632 frame #4: 0x0000000100130ccd Aquamacs`gobble_input + 173 at = keyboard.c:6865 frame #5: 0x0000000100138ebd Aquamacs`handle_async_input + 13 at = keyboard.c:7105 frame #6: 0x000000010012f973 Aquamacs`process_pending_signals + 19 = at keyboard.c:7119 frame #7: 0x0000000100138f2b Aquamacs`unblock_input_to(level=3D0) + = 75 at keyboard.c:7134 frame #8: 0x000000010012c31e Aquamacs`totally_unblock_input + 14 at = keyboard.c:7157 frame #9: 0x00000001001283dc = Aquamacs`terminate_due_to_signal(sig=3D11, backtrace_limit=3D40) + 44 at = emacs.c:351 frame #10: 0x0000000100156da8 Aquamacs`handle_fatal_signal(sig=3D11) = + 24 at sysdep.c:1624 frame #11: 0x0000000100156d7a Aquamacs`deliver_thread_signal(sig=3D11,= handler=3D0x0000000100156d90) + 154 at sysdep.c:1598 frame #12: 0x000000010015575a = Aquamacs`deliver_fatal_thread_signal(sig=3D11) + 26 at sysdep.c:1636 frame #13: 0x00007fff9616a5aa libsystem_platform.dylib`_sigtramp + = 26 frame #14: 0x00007fff8eb3f62b libobjc.A.dylib`(anonymous = namespace)::AutoreleasePoolPage::pop(void*) + 455 frame #15: 0x00007fff94dacd72 CoreFoundation`_CFAutoreleasePoolPop + = 50 frame #16: 0x00007fff8ed54e4c Foundation`-[NSAutoreleasePool = release] + 140 frame #17: 0x000000010029bab6 Aquamacs`-[EmacsApp = run](self=3D0x0000610000124380, _cmd=3D0x00007fff8df02296) + 390 at = nsterm.m:4602 frame #18: 0x000000010029b2cb = Aquamacs`ns_term_init(display_name=3D4367432889) + 6459 at nsterm.m:4530 frame #19: 0x00000001002bf9fb = Aquamacs`Fx_open_connection(display=3D4367432889, = resource_string=3D4328534074, must_succeed=3D4328534122) + 43 at = nsfns.m:2503 frame #20: 0x00000001001ec6cf Aquamacs`Ffuncall(nargs=3D4, = args=3D0x00007fff5fbfd6f0) + 1119 at eval.c:2796 frame #21: 0x00000001002450c7 = Aquamacs`exec_byte_code(bytestr=3D4300060001, vector=3D4300060037, = maxdepth=3D32, args_template=3D1024, nargs=3D0, args=3D0x00007fff5fbfde30)= + 3799 at bytecode.c:919 frame #22: 0x00000001001ed7c4 = Aquamacs`funcall_lambda(fun=3D4300059957, nargs=3D0, = arg_vector=3D0x00007fff5fbfde30) + 500 at eval.c:2959 frame #23: 0x00000001001ec8a1 Aquamacs`Ffuncall(nargs=3D1, = args=3D0x00007fff5fbfde28) + 1585 at eval.c:2838 frame #24: 0x00000001002450c7 = Aquamacs`exec_byte_code(bytestr=3D4298936897, vector=3D4298936933, = maxdepth=3D16, args_template=3D0, nargs=3D0, args=3D0x00007fff5fbfe548) = + 3799 at bytecode.c:919 frame #25: 0x00000001001ed7c4 = Aquamacs`funcall_lambda(fun=3D4298936853, nargs=3D0, = arg_vector=3D0x00007fff5fbfe548) + 500 at eval.c:2959 frame #26: 0x00000001001ec8a1 Aquamacs`Ffuncall(nargs=3D1, = args=3D0x00007fff5fbfe540) + 1585 at eval.c:2838 frame #27: 0x00000001001e7087 Aquamacs`eval_sub(form=3D4391690758) + = 1527 at eval.c:2131 frame #28: 0x00000001001ea07c = Aquamacs`internal_lisp_condition_case(var=3D4387480506, = bodyform=3D4391690758, handlers=3D4391690630) + 1340 at eval.c:1300 frame #29: 0x0000000100246832 = Aquamacs`exec_byte_code(bytestr=3D4298933505, vector=3D4298933541, = maxdepth=3D68, args_template=3D0, nargs=3D0, args=3D0x00007fff5fbfef58) = + 9794 at bytecode.c:1169 frame #30: 0x00000001001ed7c4 = Aquamacs`funcall_lambda(fun=3D4298933461, nargs=3D0, = arg_vector=3D0x00007fff5fbfef58) + 500 at eval.c:2959 frame #31: 0x00000001001ec8a1 Aquamacs`Ffuncall(nargs=3D1, = args=3D0x00007fff5fbfef50) + 1585 at eval.c:2838 frame #32: 0x00000001002450c7 = Aquamacs`exec_byte_code(bytestr=3D4298930305, vector=3D4298930341, = maxdepth=3D32, args_template=3D0, nargs=3D0, args=3D0x00007fff5fbff5e0) = + 3799 at bytecode.c:919 frame #33: 0x00000001001ed7c4 = Aquamacs`funcall_lambda(fun=3D4298930261, nargs=3D0, = arg_vector=3D0x00007fff5fbff5e0) + 500 at eval.c:2959 frame #34: 0x00000001001ebbb6 Aquamacs`apply_lambda(fun=3D4298930261, = args=3D4328534074) + 438 at eval.c:2898 frame #35: 0x00000001001e7403 Aquamacs`eval_sub(form=3D4387394246) + = 2419 at eval.c:2204 frame #36: 0x00000001001eb727 Aquamacs`Feval(form=3D4387394246, = lexical=3D4328534074) + 151 at eval.c:1977 frame #37: 0x0000000100146321 Aquamacs`top_level_2 + 33 at = keyboard.c:1167 frame #38: 0x00000001001ea289 = Aquamacs`internal_condition_case(bfun=3D0x0000000100146300, = handlers=3D4328609626, hfun=3D0x0000000100146330) + 441 at eval.c:1331 frame #39: 0x00000001001462a7 = Aquamacs`top_level_1(ignore=3D4328534074) + 71 at keyboard.c:1175 frame #40: 0x00000001001e9871 = Aquamacs`internal_catch(tag=3D4328605818, func=3D0x0000000100146260, = arg=3D4328534074) + 401 at eval.c:1097 frame #41: 0x000000010012baa7 Aquamacs`command_loop + 151 at = keyboard.c:1136 frame #42: 0x000000010012b994 Aquamacs`recursive_edit_1 + 132 at = keyboard.c:776 frame #43: 0x000000010012bc70 Aquamacs`Frecursive_edit + 320 at = keyboard.c:840 frame #44: 0x0000000100129d22 Aquamacs`main(argc=3D2, = argv=3D0x00007fff5fbffcb0) + 5394 at emacs.c:1581 frame #45: 0x00007fff9393a5fd libdyld.dylib`start + 1 (3) (lldb) attach 647 Process 647 stopped Executable module set to = "/Users/dr/em24.git/nextstep/Emacs.app/Contents/MacOS/Emacs". Architecture set to: x86_64-apple-macosx. (lldb) bt * thread #1: tid =3D 0x1d1d, 0x00007fff87fa35fd = libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + = 409, queue =3D 'com.apple.main-thread, stop reason =3D EXC_BAD_ACCESS = (code=3D1, address=3D0x10) frame #0: 0x00007fff87fa35fd libobjc.A.dylib`(anonymous = namespace)::AutoreleasePoolPage::pop(void*) + 409 frame #1: 0x00007fff8e210d72 CoreFoundation`_CFAutoreleasePoolPop + = 50 frame #2: 0x00007fff881b8e4c Foundation`-[NSAutoreleasePool release] = + 140 frame #3: 0x00000001002b07b1 = Emacs`ns_read_socket(terminal=3D0x0000000102213b68, = hold_quit=3D0x00007fff5fbfc690) + 273 at nsterm.m:3611 frame #4: 0x000000010013873d Emacs`gobble_input + 173 at = keyboard.c:6838 frame #5: 0x0000000100140aad Emacs`handle_async_input + 13 at = keyboard.c:7078 frame #6: 0x00000001001375c3 Emacs`process_pending_signals + 19 at = keyboard.c:7092 frame #7: 0x0000000100140b1b Emacs`unblock_input_to(level=3D0) + 75 = at keyboard.c:7107 frame #8: 0x00000001001341ae Emacs`totally_unblock_input + 14 at = keyboard.c:7130 frame #9: 0x00000001001300dc Emacs`terminate_due_to_signal(sig=3D11, = backtrace_limit=3D40) + 44 at emacs.c:352 frame #10: 0x000000010015e1c8 Emacs`handle_fatal_signal(sig=3D11) + = 24 at sysdep.c:1628 frame #11: 0x000000010015e19a Emacs`deliver_thread_signal(sig=3D11, = handler=3D0x000000010015e1b0) + 154 at sysdep.c:1602 frame #12: 0x000000010015cb7a = Emacs`deliver_fatal_thread_signal(sig=3D11) + 26 at sysdep.c:1640 frame #13: 0x00007fff8f5ce5aa libsystem_platform.dylib`_sigtramp + = 26 frame #14: 0x00007fff87fa362b libobjc.A.dylib`(anonymous = namespace)::AutoreleasePoolPage::pop(void*) + 455 frame #15: 0x00007fff8e210d72 CoreFoundation`_CFAutoreleasePoolPop + = 50 frame #16: 0x00007fff881b8e4c Foundation`-[NSAutoreleasePool = release] + 140 frame #17: 0x00000001002a0566 Emacs`-[EmacsApp = run](self=3D0x00006000001210e0, _cmd=3D0x00007fff87366296) + 390 at = nsterm.m:4503 frame #18: 0x000000010029fd7e = Emacs`ns_term_init(display_name=3D4317146553) + 4446 at nsterm.m:4424 frame #19: 0x00000001002bd25b = Emacs`Fx_open_connection(display=3D4317146553, = resource_string=3D4328534074, must_succeed=3D4328534122) + 43 at = nsfns.m:1816 frame #20: 0x00000001001f1c9f Emacs`Ffuncall(nargs=3D4, = args=3D0x00007fff5fbfd6d0) + 1119 at eval.c:2813 frame #21: 0x000000010024a907 = Emacs`exec_byte_code(bytestr=3D4300036977, vector=3D4300037013, = maxdepth=3D32, args_template=3D1024, nargs=3D0, args=3D0x00007fff5fbfde10)= + 3799 at bytecode.c:919 frame #22: 0x00000001001f2d94 Emacs`funcall_lambda(fun=3D4300036933, = nargs=3D0, arg_vector=3D0x00007fff5fbfde10) + 500 at eval.c:2976 frame #23: 0x00000001001f1e71 Emacs`Ffuncall(nargs=3D1, = args=3D0x00007fff5fbfde08) + 1585 at eval.c:2855 frame #24: 0x000000010024a907 = Emacs`exec_byte_code(bytestr=3D4298918657, vector=3D4298918693, = maxdepth=3D16, args_template=3D0, nargs=3D0, args=3D0x00007fff5fbfe528) = + 3799 at bytecode.c:919 frame #25: 0x00000001001f2d94 Emacs`funcall_lambda(fun=3D4298918613, = nargs=3D0, arg_vector=3D0x00007fff5fbfe528) + 500 at eval.c:2976 frame #26: 0x00000001001f1e71 Emacs`Ffuncall(nargs=3D1, = args=3D0x00007fff5fbfe520) + 1585 at eval.c:2855 frame #27: 0x00000001001ec777 Emacs`eval_sub(form=3D4387546438) + = 1527 at eval.c:2148 frame #28: 0x00000001001ef6ff = Emacs`internal_lisp_condition_case(var=3D4328801402, = bodyform=3D4387546438, handlers=3D4387545718) + 1295 at eval.c:1314 frame #29: 0x000000010024c045 = Emacs`exec_byte_code(bytestr=3D4298915401, vector=3D4298915437, = maxdepth=3D68, args_template=3D0, nargs=3D0, args=3D0x00007fff5fbfef38) = + 9749 at bytecode.c:1169 frame #30: 0x00000001001f2d94 Emacs`funcall_lambda(fun=3D4298915357, = nargs=3D0, arg_vector=3D0x00007fff5fbfef38) + 500 at eval.c:2976 frame #31: 0x00000001001f1e71 Emacs`Ffuncall(nargs=3D1, = args=3D0x00007fff5fbfef30) + 1585 at eval.c:2855 frame #32: 0x000000010024a907 = Emacs`exec_byte_code(bytestr=3D4298911841, vector=3D4298911877, = maxdepth=3D48, args_template=3D0, nargs=3D0, args=3D0x00007fff5fbff5e0) = + 3799 at bytecode.c:919 frame #33: 0x00000001001f2d94 Emacs`funcall_lambda(fun=3D4298911797, = nargs=3D0, arg_vector=3D0x00007fff5fbff5e0) + 500 at eval.c:2976 frame #34: 0x00000001001f1186 Emacs`apply_lambda(fun=3D4298911797, = args=3D4328534074) + 438 at eval.c:2915 frame #35: 0x00000001001ecaf3 Emacs`eval_sub(form=3D4387380470) + = 2419 at eval.c:2221 frame #36: 0x00000001001f0cf7 Emacs`Feval(form=3D4387380470, = lexical=3D4328534074) + 151 at eval.c:1994 frame #37: 0x000000010014e351 Emacs`top_level_2 + 33 at = keyboard.c:1179 frame #38: 0x00000001001ef8dc = Emacs`internal_condition_case(bfun=3D0x000000010014e330, = handlers=3D4328600602, hfun=3D0x000000010014e360) + 396 at eval.c:1345 frame #39: 0x000000010014e2d7 Emacs`top_level_1(ignore=3D4328534074) = + 71 at keyboard.c:1187 frame #40: 0x00000001001eef14 Emacs`internal_catch(tag=3D4328596794, = func=3D0x000000010014e290, arg=3D4328534074) + 356 at eval.c:1109 frame #41: 0x00000001001338e7 Emacs`command_loop + 151 at = keyboard.c:1148 frame #42: 0x00000001001337d4 Emacs`recursive_edit_1 + 132 at = keyboard.c:777 frame #43: 0x0000000100133ab0 Emacs`Frecursive_edit + 320 at = keyboard.c:841 frame #44: 0x0000000100131a96 Emacs`main(argc=3D2, = argv=3D0x00007fff5fbffcc0) + 5510 at emacs.c:1637 frame #45: 0x00007fff8cd9e5fd libdyld.dylib`start + 1 From debbugs-submit-bounces@debbugs.gnu.org Thu May 26 16:16:36 2016 Received: (at 16355) by debbugs.gnu.org; 26 May 2016 20:16:36 +0000 Received: from localhost ([127.0.0.1]:40889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b61hr-00006s-OQ for submit@debbugs.gnu.org; Thu, 26 May 2016 16:16:35 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b61hp-0008SU-P5 for 16355@debbugs.gnu.org; Thu, 26 May 2016 16:16:34 -0400 Received: by mail-wm0-f49.google.com with SMTP id n129so243311351wmn.1 for <16355@debbugs.gnu.org>; Thu, 26 May 2016 13:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6S1ICwL+BXhAkKaWZfcPAi2ceRWcZaXrHK49KlYaSfo=; b=xr2LIrkTQ5RuGfnVsoukkj8xyVXpE9fGSDedqtccAqTyFP3n9mCns7secNptTtpy+M SKeRCCwqIc9dUiWmvnxngtBF9J3Yh8RqEdsL3HsSytK2n5Q9mWFwzst/HkYagpAOOIzr OBmwgmg0jqinVX1+fRNlp6HxrfZLIEN4XGkBBjv80fdHiPcU/ZpK6y4uY2FYQDhFDJTP wcJryYwd7RlgalYIs03Qvi1TYU9gGo2JoSWfUoyk6LvIlJffs7qJO9b1/4WayLOM8xhI bQNNYAwdDsK1aVm0x4GawPoapKjREWswa6tEdqYNhi5AWuEaAO/urQjqDwktDAtFlYrn RWJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=6S1ICwL+BXhAkKaWZfcPAi2ceRWcZaXrHK49KlYaSfo=; b=jkb4S0HvguBUTuZPKx+u78srFOUDwRjhfs/Ep3LnvKOTxi+QHA8yUKaaN8PEwcNy7U ME5r8am3ffJwo5DEkD0bV32SfRHdPNeXATVSuqF2BwlLS//4eeCLmThOCBpTNgbarOem EEiIXp4lqnfsKgP3n9fHJob1mrR1KHL9qZONW/SWim+XYeikhwirJem8eyYBzhyh4O4a MPgTHZuP4cwnarH0ij3WuSIedPAnk1Pj7H8/lBSXn5vAfKHf0yShCTrkkETC0oSPUTz2 YIYj/36T+tacUO/pbjsFiFdlsu5R+Igje7Cdz9iNcQ0FuZzytxS6Aid4KV6pLj6MpAMZ KWsg== X-Gm-Message-State: ALyK8tLcrq0/q4z8KHZSN9OOfWuP6t43TfX+lUjADBr6pROClKaN307c2aC5/fY/BEiK1w== X-Received: by 10.28.152.136 with SMTP id a130mr4070730wme.60.1464293788158; Thu, 26 May 2016 13:16:28 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-7175-fea4-ded1-da32.holly.idiocy.org. [2001:8b0:3f8:8129:7175:fea4:ded1:da32]) by smtp.gmail.com with ESMTPSA id r123sm5137029wmg.20.2016.05.26.13.16.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 May 2016 13:16:27 -0700 (PDT) From: Alan Third To: David Reitter Subject: Re: bug#16355: Crash/Hang when restoring via Mac "resume" [Mac/NS] References: Date: Thu, 26 May 2016 21:16:28 +0100 In-Reply-To: (David Reitter's message of "Sun, 5 Jan 2014 17:21:58 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: David Reitter writes: > If started manually from Finder (rather than automatically after > logging in), Emacs hangs (1). > > Sometimes, after a successful reboot and resume of the application, it > hangs when quitting (2). > > Usually, when restarting after a boot (with resume), Emacs hangs in > ns_term_init (3). [Note that this is with a vanilla GNU Emacs --with-ns, > current HEAD, on OS X 10.9.] > > The problem is easily reproducible, and I have countless crash reports > from users. It does not occur with an Emacs 23-based build. > > (2) and (3) are in a [autoreleasepool release]. > > If it is a retain/release issue, NSZombieEnabled=YES won't bring > up anything during normal runs, and > I haven't figured out how to do it during resume on 10.9 (without > forking Emacs from within itself, which makes the error go away). [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (athird[at]googlemail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.9 FUZZY_AMBIEN BODY: Attempt to obfuscate words in spam -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.49 listed in wl.mailspike.net] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 16355 Cc: 16355@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: David Reitter writes: > If started manually from Finder (rather than automatically after > logging in), Emacs hangs (1). > > Sometimes, after a successful reboot and resume of the application, it > hangs when quitting (2). > > Usually, when restarting after a boot (with resume), Emacs hangs in > ns_term_init (3). [Note that this is with a vanilla GNU Emacs --with-ns, > current HEAD, on OS X 10.9.] > > The problem is easily reproducible, and I have countless crash reports > from users. It does not occur with an Emacs 23-based build. > > (2) and (3) are in a [autoreleasepool release]. > > If it is a retain/release issue, NSZombieEnabled=YES won't bring > up anything during normal runs, and > I haven't figured out how to do it during resume on 10.9 (without > forking Emacs from within itself, which makes the error go away). [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.49 listed in wl.mailspike.net] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (athird[at]googlemail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.9 FUZZY_AMBIEN BODY: Attempt to obfuscate words in spam 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid David Reitter writes: > If started manually from Finder (rather than automatically after > logging in), Emacs hangs (1). > > Sometimes, after a successful reboot and resume of the application, it > hangs when quitting (2). > > Usually, when restarting after a boot (with resume), Emacs hangs in > ns_term_init (3). [Note that this is with a vanilla GNU Emacs --with-ns, > current HEAD, on OS X 10.9.] > > The problem is easily reproducible, and I have countless crash reports > from users. It does not occur with an Emacs 23-based build. > > (2) and (3) are in a [autoreleasepool release]. > > If it is a retain/release issue, NSZombieEnabled=YES won't bring > up anything during normal runs, and > I haven't figured out how to do it during resume on 10.9 (without > forking Emacs from within itself, which makes the error go away). Hi David, I know that Anders fixed a bug some time ago where Emacs was crashing due to it trying to process input before it had properly started up. These stack traces look awfully like that may be the case here. Can you confirm whether these crashes are still happening? -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Thu May 26 16:19:37 2016 Received: (at 16355-done) by debbugs.gnu.org; 26 May 2016 20:19:37 +0000 Received: from localhost ([127.0.0.1]:40893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b61kn-0000aL-72 for submit@debbugs.gnu.org; Thu, 26 May 2016 16:19:37 -0400 Received: from mail-it0-f50.google.com ([209.85.214.50]:38708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b61kl-0000a7-JE for 16355-done@debbugs.gnu.org; Thu, 26 May 2016 16:19:35 -0400 Received: by mail-it0-f50.google.com with SMTP id l63so60746351ita.1 for <16355-done@debbugs.gnu.org>; Thu, 26 May 2016 13:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=e8LUNCBEJ/C0BWWoyDeNWSBbtGDWqYmfy/3bcRAVznc=; b=Yt93BzbQ/b7ww35BCFZP2TIP7H+m3QeH1XoMyLaes85U3RHAWcnsr8tTfPzN0psVov 652bVPT7Xs61Ga+o+A8s4TE8Wt3egWishdzR0fk1HAOLjjviFLmq5b8PoH1UE3U+7eho 1vJZ5K6dL+tSRMQz1RRvj4+LE13U+c+RNKR2IpEsSIfOLYjAmkM9WpdsFqkPADvA2P1R Uik8ZserKxAQVe6ZyK/1ywUaX2Nisw1B9RVPNa7I1tv9tjvEa9JQT2bmXzWFA8dHKzE7 YMVSLRqdKPNG8I9bj8ocf5aUgsNtfo9MX6hu0QCjCwoslQ1Eoh703j3YfJ1nQVZeYjhH c0IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=e8LUNCBEJ/C0BWWoyDeNWSBbtGDWqYmfy/3bcRAVznc=; b=RTdVHO2dI/pjqqmK0tl342vAFAglXaHf3T1932Yq+cn1AX/9H45D3OYq2Zjo2Ufi24 uw9Ij6tjJQfx6tp6RZD39BQ9urul5FmSTZS7EZtlQs7G2sg8j2X4jqXBjf6cKTFVB4xB Irt5BGnWhjavkSDOqy0tJRjg1VwUmLg9Nw0krTEK9UpS8n7MAO6/I//BukUKBSKx71XZ p1fXiq+gZ+m3g40c9WeItBylJvPzSDo9MspS/8m8wxamJ+tWDYa5eR1nSU+zBhrEDnuz R63qXIG1dZv739R8Rz9zePNwkxWDgm0TT1ojd2JW0889zu/KsV8MKHOBxsEur/SJAPp4 kJLg== X-Gm-Message-State: ALyK8tLsM0UYlPzgM5xiSLy7DYDm5eXySe4eqLPg8ARjlqWoqspx22WoCdeGDl/Ih377xw== X-Received: by 10.36.94.68 with SMTP id h65mr5036294itb.45.1464293969789; Thu, 26 May 2016 13:19:29 -0700 (PDT) Received: from [192.168.2.5] (cpe-74-130-125-220.kya.res.rr.com. [74.130.125.220]) by smtp.gmail.com with ESMTPSA id l2sm1571859igv.9.2016.05.26.13.19.28 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 May 2016 13:19:28 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: bug#16355: Crash/Hang when restoring via Mac "resume" [Mac/NS] From: David Reitter In-Reply-To: Date: Thu, 26 May 2016 16:19:28 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Alan Third X-Mailer: Apple Mail (2.3124) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16355-done Cc: 16355-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On May 26, 2016, at 4:16 PM, Alan Third wrote: > Can you confirm whether these crashes are still happening? The report was from beginning of 2014. I don=E2=80=99t recall seeing a = lot of these crashes more recently, so let=E2=80=99s close the bug. From unknown Tue Jun 17 20:42:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 24 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator