From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 04 23:55:43 2014 Received: (at submit) by debbugs.gnu.org; 5 Dec 2014 04:55:43 +0000 Received: from localhost ([127.0.0.1]:54214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xwkvf-0005Br-1f for submit@debbugs.gnu.org; Thu, 04 Dec 2014 23:55:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53519) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xwkvc-0005Bh-2c for submit@debbugs.gnu.org; Thu, 04 Dec 2014 23:55:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xwkva-0007WY-4E for submit@debbugs.gnu.org; Thu, 04 Dec 2014 23:55:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwkva-0007WP-11 for submit@debbugs.gnu.org; Thu, 04 Dec 2014 23:55:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwkvY-0006qq-3Q for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 23:55:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwkvW-0007Uj-Bl for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 23:55:35 -0500 Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:34333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwkvV-0007U3-OP for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 23:55:34 -0500 Received: by mail-wg0-f54.google.com with SMTP id l2so24550407wgh.27 for ; Thu, 04 Dec 2014 20:55:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=jD5tipgm4JR8KoWr5FJsBRol3iIA1+9m/tJ9RudRJFA=; b=NyjNoOBAWLp3s5YHzg3pfC3Ps8Zu794WJUI4qDBJIxBPISwaiZL60rEXqeV7eh6QTa fL3TUYL6xVZsKw0z4Gqkks1tJlIz6PKAOeTLVcbiCHzWPLT910K8ZGaLJ15Ps+/Ks0Td 3bH0wJu80KeVTu/JAMxKJ+Tb/PGgX5g6Aork5XPwpdZR6VhdxhAy5cXimxtmF2g7l8pQ 9yJNlFRWz1WTvfOeSpabQtG+hh9xfJHVwk02MtKGnG9BYpvCcaEuotUmdeWi2hr6vPnT 6Fkyp4A8Mr68FHysPvdnHNUXOwPlr623VxH0gf/wSXKPpPJoKlBGz4YWNTEZ25sSCpN+ 0aNQ== MIME-Version: 1.0 X-Received: by 10.180.88.33 with SMTP id bd1mr1217221wib.10.1417755332346; Thu, 04 Dec 2014 20:55:32 -0800 (PST) Received: by 10.27.87.87 with HTTP; Thu, 4 Dec 2014 20:55:32 -0800 (PST) Date: Thu, 4 Dec 2014 23:55:32 -0500 Message-ID: Subject: 25.0.50; Crash on startup on OS X with -Q From: Kirill Ignatiev To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 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: -4.0 (----) 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: -4.0 (----) Emacs invoked with "-Q" (git development version) crashes on startup. This happens sometimes, not always. I already posted a bug related to this, but that was for version 24.4. To reproduce: run emacs with "-Q" repeatedly until it crashes. This might take some tries, but on my computer it eventually crashes with the stack trace below. (lldb) run -Q Process 42532 launched: '/Applications/Emacs.app/Contents/MacOS/Emacs' (x86_64) Process 42532 stopped * thread #1: tid = 0x34dc3, 0x00007fff8f1a762a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 454, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10) frame #0: 0x00007fff8f1a762a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 454 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 454: -> 0x7fff8f1a762a: movq 0x10(%rsi), %rax 0x7fff8f1a762e: leaq 0x38(%rsi), %rcx 0x7fff8f1a7632: cmpq %rcx, %rax 0x7fff8f1a7635: je 0x7fff8f1a760a ; (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 422 (lldb) bt * thread #1: tid = 0x34dc3, 0x00007fff8f1a762a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 454, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10) * frame #0: 0x00007fff8f1a762a libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 454 frame #1: 0x00007fff8d9e6932 CoreFoundation`_CFAutoreleasePoolPop + 50 frame #2: 0x00007fff8f36d54c Foundation`-[NSAutoreleasePool release] + 140 frame #3: 0x00000001001b3907 Emacs`-[EmacsApp run](self=, _cmd=) + 311 at nsterm.m:4560 frame #4: 0x00000001001b3690 Emacs`ns_term_init(display_name=) + 3536 at nsterm.m:4470 frame #5: 0x00000001001c64d7 Emacs`Fx_open_connection(display=4308817369, resource_string=, must_succeed=4328534122) + 39 at nsfns.m:1862 frame #6: 0x0000000100143e1e Emacs`Ffuncall(nargs=, args=) + 1214 at eval.c:2722 frame #7: 0x000000010017e062 Emacs`exec_byte_code(bytestr=, vector=4298874653, maxdepth=, args_template=, nargs=, args=) + 2338 at bytecode.c:920 frame #8: 0x0000000100143bf9 Emacs`Ffuncall(nargs=, args=) + 665 at eval.c:2764 frame #9: 0x000000010017e062 Emacs`exec_byte_code(bytestr=, vector=4298345445, maxdepth=, args_template=, nargs=, args=) + 2338 at bytecode.c:920 frame #10: 0x0000000100143bf9 Emacs`Ffuncall(nargs=, args=) + 665 at eval.c:2764 frame #11: 0x000000010017e062 Emacs`exec_byte_code(bytestr=, vector=4298342429, maxdepth=, args_template=, nargs=, args=) + 2338 at bytecode.c:920 frame #12: 0x0000000100143550 Emacs`apply_lambda(fun=4298342349, args=, count=) + 304 at eval.c:2823 frame #13: 0x0000000100140146 Emacs`eval_sub(form=) + 886 at eval.c:2224 frame #14: 0x00000001001433ba Emacs`Feval(form=4337766246, lexical=) + 106 at eval.c:1994 frame #15: 0x000000010014256b Emacs`internal_condition_case(bfun=0x00000001000d47c0, handlers=, hfun=) + 251 at eval.c:1345 frame #16: 0x00000001000d47a2 Emacs`top_level_1(ignore=) + 82 at keyboard.c:1214 frame #17: 0x0000000100141ee3 Emacs`internal_catch(tag=, func=0x00000001000d4750, arg=4328534074) + 243 at eval.c:1106 frame #18: 0x00000001000c1c3f Emacs`command_loop + 223 at keyboard.c:1175 frame #19: 0x00000001000c1b03 Emacs`recursive_edit_1 + 131 at keyboard.c:786 frame #20: 0x00000001000c1d82 Emacs`Frecursive_edit + 242 at keyboard.c:857 frame #21: 0x00000001000c0964 Emacs`main(argc=0, argv=) + 5924 at emacs.c:1623 (lldb) kill Process 42532 exited with status = 9 (0x00000009) In GNU Emacs 25.0.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F34)) of 2014-12-04 on user221-57.wireless.utoronto.ca Repository revision: d08f4f8fc5219324ac352c6d89f0db5c6a18ce32 Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib' Configured features: ACL LIBXML2 ZLIB Important settings: value of $LANG: en_IE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 77940 6297) (symbols 48 18853 1) (miscs 40 38 135) (strings 32 13681 4795) (string-bytes 1 323628) (vectors 16 9491) (vector-slots 8 382017 11889) (floats 8 60 67) (intervals 56 172 0) (buffers 976 11)) From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 07:46:46 2015 Received: (at 19276) by debbugs.gnu.org; 30 Oct 2015 11:46:46 +0000 Received: from localhost ([127.0.0.1]:45399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zs88r-00039O-QM for submit@debbugs.gnu.org; Fri, 30 Oct 2015 07:46:46 -0400 Received: from mail-vk0-f43.google.com ([209.85.213.43]:32808) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zs88X-00038x-6V for 19276@debbugs.gnu.org; Fri, 30 Oct 2015 07:46:43 -0400 Received: by vkgy127 with SMTP id y127so45700456vkg.0 for <19276@debbugs.gnu.org>; Fri, 30 Oct 2015 04:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tDnjA+2dsxNxghxTO/Peswa5B4Ls5e3rDgS9nMImxwE=; b=Hu5oeeAYvYjeLJoXWWh9bE335h7JYGg8/x5SELkfp2ahwABSF0T03NohngvWnFbwtn RXvVlm/8+W2xsLnMpYiae7bmaASVKV+J70i89YqmU2p1w6ezX3KUnkIpwqV8Q4trU2gx /Dlawf4fOwEEUfX7s8O1ntFOME5nIpm/Po8i88gvKRFXh5IWdObnA0MMTSE8eapxZXNN I3qkxW5kJfW/U/ovfg63lEolDYxzDPpzxMOP4KqQnHKznuQPyv0DLuzAQGmUKZxiyURx BoljggwYTulPdzYqqqRoYHXoaC6xHsXMwskgw8W1Eo3RqaAwF/mXrhR1usxnhgh6hY5w jfgw== MIME-Version: 1.0 X-Received: by 10.31.179.194 with SMTP id c185mr5057804vkf.68.1446205584655; Fri, 30 Oct 2015 04:46:24 -0700 (PDT) Received: by 10.31.210.133 with HTTP; Fri, 30 Oct 2015 04:46:24 -0700 (PDT) Date: Fri, 30 Oct 2015 12:46:24 +0100 Message-ID: Subject: 25.0.50; Crash on startup on OS X with -Q From: Anders Lindgren To: 19276@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a1143ac62254d5c052350fabc X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19276 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: -0.7 (/) --001a1143ac62254d5c052350fabc Content-Type: text/plain; charset=UTF-8 Hi, I think I have found and fixed this problem. It was caused by input events arriving to Emacs before the init code had been fully executed. It was fixed by using block_ and unblock_input() in ns_term_init. http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=0392e241b844487261d4dfcccc9a442793e0a868 -- Anders Lindgren --001a1143ac62254d5c052350fabc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I think I have found and fixed this= problem. It was caused by input events arriving to Emacs before the init c= ode had been fully executed. It was fixed by using block_ and unblock_input= () in ns_term_init.


=C2=A0 =C2=A0 --= Anders Lindgren

--001a1143ac62254d5c052350fabc-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 24 17:15:09 2015 Received: (at 19276-done) by debbugs.gnu.org; 24 Nov 2015 22:15:09 +0000 Received: from localhost ([127.0.0.1]:51751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Lrh-0002zD-85 for submit@debbugs.gnu.org; Tue, 24 Nov 2015 17:15:09 -0500 Received: from mail-vk0-f66.google.com ([209.85.213.66]:36508) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Lre-0002yr-OO; Tue, 24 Nov 2015 17:15:07 -0500 Received: by vkay187 with SMTP id y187so1874261vka.3; Tue, 24 Nov 2015 14:15:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/HzmxvIaURJVuwpZBaerGbFcjz9v40MEsioqlBeDzbc=; b=NB40kHHa+n8p1JhNno1K91tF671CDmC15vorRiZNueH81fxEOtjWLe5YYTMKJD6+JF CYkOQZYHmg+m3TU6Qv94lzEWqzzVxcVTnPXq0I5uthsHVXJA2OQw8EQe/3HZrYWIPURD LnQ54JkFaXHMfsAWtKvKH68ZtpY864/M9XcdYvUX+/8Yy80/Bkb0hZpqODvMEa541hl6 4Lw8Ffse6FkQYcGkFQS/3aSuMycXBOLcTocSDwhMZ0nji5C+PAb63r+WZ0RBjFNliHVh rrDRMIdfwWw2CpYuONFM7EqNz53i+tqPJgAkxPxKCYi3CUEnwtpBSZoITPDpmvBBcQOy wjFw== MIME-Version: 1.0 X-Received: by 10.31.6.193 with SMTP id 184mr29377369vkg.105.1448403306161; Tue, 24 Nov 2015 14:15:06 -0800 (PST) Received: by 10.31.210.133 with HTTP; Tue, 24 Nov 2015 14:15:06 -0800 (PST) Date: Tue, 24 Nov 2015 23:15:06 +0100 Message-ID: Subject: From: Anders Lindgren To: 18849-done@debbugs.gnu.org, 19265-done@debbugs.gnu.org, 19276-done@debbugs.gnu.org, 19879-done@debbugs.gnu.org, 20228-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a1143d6f68e2af9052550ac44 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, I fixed this a few weeks ago. It was caused by inputs events arriving before the init code had finished. When the system was heavily loaded, when memory was low, when the a disk needed to spin up etc. this became more prominent. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andlind[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.66 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 2.0 BLANK_SUBJECT Subject is present but empty 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 19276-done 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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, I fixed this a few weeks ago. It was caused by inputs events arriving before the init code had finished. When the system was heavily loaded, when memory was low, when the a disk needed to spin up etc. this became more prominent. [...] 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 [209.85.213.66 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andlind[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 2.0 BLANK_SUBJECT Subject is present but empty 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid --001a1143d6f68e2af9052550ac44 Content-Type: text/plain; charset=UTF-8 Hi, I fixed this a few weeks ago. It was caused by inputs events arriving before the init code had finished. When the system was heavily loaded, when memory was low, when the a disk needed to spin up etc. this became more prominent. This was fixed by block input in the init function, see http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=0392e241b844487261d4dfcccc9a442793e0a868 for details. Sincerely, Anders Lindgren --001a1143d6f68e2af9052550ac44 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I fixed this a few weeks= ago. It was caused by inputs events arriving before the init code had fini= shed. When the system was heavily loaded, when memory was low, when the a d= isk needed to spin up etc. this became more prominent.

=

Sincerely,
=C2=A0 =C2= =A0 Anders Lindgren

--001a1143d6f68e2af9052550ac44-- From unknown Mon Jun 23 18:30:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Dec 2015 12: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