From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X Reply-To: William Farrington , 1107@debbugs.gnu.org Resent-From: William Farrington Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Oct 2008 13:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12233867853627 (code B ref -1); Tue, 07 Oct 2008 13:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 13:39:45 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97Ddfwi003621 for ; Tue, 7 Oct 2008 06:39:43 -0700 Received: from mx10.gnu.org ([199.232.76.166]:47729) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KnCkZ-0007uR-N1 for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 09:37:19 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KnCmn-0007JE-CA for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 09:39:39 -0400 Received: from deliverator6.ecc.gatech.edu ([130.207.185.176]:41117) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnCmm-0007In-VQ for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 09:39:37 -0400 Received: from deliverator6.ecc.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 45B7020C089 for ; Tue, 7 Oct 2008 09:39:35 -0400 (EDT) Received: from mailprx5.gatech.edu (mailprx5.prism.gatech.edu [130.207.171.19]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "Equifax" (verified OK)) by deliverator6.ecc.gatech.edu (Postfix) with ESMTP id E620C20C11C for ; Tue, 7 Oct 2008 09:39:34 -0400 (EDT) Received: from lawn-128-61-23-112.lawn.gatech.edu (lawn-128-61-23-112.lawn.gatech.edu [128.61.23.112]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=wfarrington3@mailprx5.gatech.edu, sender=n/a) by mailprx5.gatech.edu (Postfix) with ESMTP id 8C7922177 for ; Tue, 7 Oct 2008 09:39:34 -0400 (EDT) (envelope-from wfarr@gatech.edu) Message-Id: From: William Farrington To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 7 Oct 2008 09:39:30 -0400 X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Using HEAD compiled with --with-ns, emacsclient crashes the running instance of emacs if it was started with the --daemon flag. In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, *Step 9.0) of 2008-09-28 on Will-Farringtons-MacBook.local Windowing system distributor `Apple', version 49.46.48 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: rcirc Minor modes in effect: rcirc-track-minor-mode: t global-hl-line-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t use-hard-newlines: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r c i r c C-x b t * C-x b e m h m m i n e SPC j u s t SPC c r a s h e s SPC w h e n S-SPC I SPC t r y SPC t o SPC c o n n e c t SPC o t o SPC i t M-x b u s e n d - b u C-g M-x r e p o r t Recent messages: Starting new Ispell process [default] ... Enabling Flyspell mode gave an error Rcirc-Omit mode enabled Starting new Ispell process [default] ... Enabling Flyspell mode gave an error Rcirc-Omit mode enabled Making completion list... Quit Making completion list... 09:37:33 AM - abbe is calling your name in #emacs. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X Reply-To: Dan Nicolaescu , 1107@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Oct 2008 17:20:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122339969325574 (code B ref 1107); Tue, 07 Oct 2008 17:20:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.3 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 7 Oct 2008 17:14:53 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97HEl0f025567 for <1107@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 10:14:48 -0700 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m97HEbvU007033; Tue, 7 Oct 2008 10:14:37 -0700 (PDT) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m97HEaSd008042; Tue, 7 Oct 2008 10:14:36 -0700 (PDT) Date: Tue, 7 Oct 2008 10:14:36 -0700 (PDT) Message-Id: <200810071714.m97HEaSd008042@mothra.ics.uci.edu> From: Dan Nicolaescu To: William Farrington Cc: 1107@debbugs.gnu.org References: In-Reply-To: (William Farrington's message of "Tue, 7 Oct 2008 09:39:30 -0400") Lines: 31 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m97HEbvU007033 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu William Farrington writes: > Using HEAD compiled with --with-ns, emacsclient crashes the running > instance of emacs if it was started with the --daemon flag. > > > In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, *Step 9.0) > of 2008-09-28 on Will-Farringtons-MacBook.local > Windowing system distributor `Apple', version 49.46.48 > configured using `configure '--with-ns'' Can you please try to debug it? First try: emacs -Q --daemon and then try to see if emacsclient -t works. If it doesn't please try to debug it. If it does please try to debug why: emacsclient -c crashes emacs. If nobody looks at this, I will disable the --daemon code for the nextstep port before the release. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 04:00:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122758521025110 (code B ref 1107); Tue, 25 Nov 2008 04:00:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 03:53:30 +0000 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAP3rRa2025102 for <1107@emacsbugs.donarmstrong.com>; Mon, 24 Nov 2008 19:53:28 -0800 Received: by yw-out-2324.google.com with SMTP id 3so1016159ywj.31 for <1107@emacsbugs.donarmstrong.com>; Mon, 24 Nov 2008 19:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date:cc :x-mailer; bh=mUfZFXTXXvuJZIxRiCWMw8MWR/EBmT87rIx4mhrCYX4=; b=s7jB+f+2Y/sAhiprxmskz6BsgfdpUxu/cVqliFT2NX52ZmyamWNsTzEMKXh4aFuXRE q9v3QQAtp01J07qD4AvWfKnWMIf5FtaF72ZiX0gaeqEpYXY8Ay3QxtDULgk6tIEigxXm ji53BJFn3Uo3RmvzIHukPxgeKnxC6Tks6rqLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:cc:x-mailer; b=LKyqTnTu6e+cgslkFEhaQeLp/z94I4ot1iAPhPYOGIDvvCsihFfm2lXU6S7GB+HePs m/0WPFeosP53l1PvjichKzyqA2+QArwEkWKGpyW60wuUjNNSQBd3IVnZW+0+wl1IHhix fPMuumiZg5lxtrqhQCXR9x26ef3S6lE75hLrg= Received: by 10.90.97.18 with SMTP id u18mr2417515agb.72.1227584877537; Mon, 24 Nov 2008 19:47:57 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id 39sm5897105agb.23.2008.11.24.19.47.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Nov 2008 19:47:56 -0800 (PST) Message-Id: From: Adrian Robert To: 1107@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 24 Nov 2008 22:47:32 -0500 Cc: Dan Nicolaescu , William Farrington X-Mailer: Apple Mail (2.929.2) I just tried to replicate this locally and failed. No crash. However, it also doesn't work -- emacsclient just always says "can't find socket; have you started the server?". This is new. Emacsclient always worked before, up to and including multi-tty. Could something in the new daemon support have affected this? Was there anything in particular that changed as far as how the client and server communicate? gnuserv, which I use, still works. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 04:25:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122758670332124 (code B ref 1107); Tue, 25 Nov 2008 04:25:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 04:18:23 +0000 Received: from smtprelay.b.hostedemail.com (smtprelay0130.b.hostedemail.com [64.98.42.130]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAP4IKWR032118 for <1107@emacsbugs.donarmstrong.com>; Mon, 24 Nov 2008 20:18:21 -0800 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay03.b.hostedemail.com (Postfix) with SMTP id C1F2929552FA; Tue, 25 Nov 2008 04:18:19 +0000 (UTC) X-SpamScore: 1 Received: from [10.0.1.198] (unknown [72.169.150.82]) (Authenticated sender: arobert@hughes.net) by omf13.b.hostedemail.com (Postfix) with ESMTP; Tue, 25 Nov 2008 04:18:09 +0000 (UTC) Message-Id: From: Adrian Robert To: 1107@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 24 Nov 2008 23:17:42 -0500 Cc: Dan Nicolaescu , William Farrington X-Mailer: Apple Mail (2.929.2) X-session-marker: 61726F62657274406875676865732E6E6574 X-CrossAssassin-Score: 2 I just tried to replicate this locally and failed. No crash. However, it also doesn't work -- emacsclient just always says "can't find socket; have you started the server?". This is new. Emacsclient always worked before, up to and including multi-tty. Could something in the new daemon support have affected this? Was there anything in particular that changed as far as how the client and server communicate? gnuserv, which I use, still works. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Dan Nicolaescu , 1107@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 06:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122759407932422 (code B ref 1107); Tue, 25 Nov 2008 06:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00,GMAIL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 06:21:19 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAP6LGZQ032416 for <1107@emacsbugs.donarmstrong.com>; Mon, 24 Nov 2008 22:21:17 -0800 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mAP6Ksvo009809; Mon, 24 Nov 2008 22:20:54 -0800 (PST) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mAP6KrBx009202; Mon, 24 Nov 2008 22:20:53 -0800 (PST) Date: Mon, 24 Nov 2008 22:20:53 -0800 (PST) Message-Id: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> From: Dan Nicolaescu To: Adrian Robert Cc: 1107@debbugs.gnu.org, William Farrington References: In-Reply-To: (Adrian Robert's message of "Mon, 24 Nov 2008 23:17:42 -0500") Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mAP6Ksvo009809 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Adrian Robert writes: > I just tried to replicate this locally and failed. No crash. > However, it also doesn't work -- emacsclient just always says "can't > find socket; have you started the server?". > > This is new. Emacsclient always worked before, up to and including > multi-tty. Could something in the new daemon support have affected > this? Was there anything in particular that changed as far as how the > client and server communicate? > > gnuserv, which I use, still works. Can you please clarify, if you are doing emacs --daemon then you can connect with gnuclient, but cannot with emacsclient? Does that the same happen if you use emacs -Q --daemon ? From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 14:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.12276244461864 (code B ref 1107); Tue, 25 Nov 2008 14:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,FVGT_m_MULTI_ODD, GMAIL,IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 14:47:26 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAPElMcq001857 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 06:47:23 -0800 Received: by yx-out-2324.google.com with SMTP id 8so1096289yxg.31 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 06:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=tdeU9gNa4R6ipXEsV2BMXnpO14qNo9rX5zcfduu+SrQ=; b=fcGa4e6QA/xL8N9FmdLn2rpsKklfshNzq21VOcOojcV4wBDoTvziPFgRJY+JUoPIWh WLwOpcm5QCgHaTNAtOdKj8JrysQBAkZb7UDZq9VsOegCVpDBmZ0QcdO3Uawd8Z3sYUUP IRhmFP/gUgctkzRCxOuQMWXz6790sJdG0dFOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=RWS8/XKk4wpD3S3M5VRxnp9uQpUegrMnLvLhZh+tlKIrmvLlappIUiaP6OB7kybA92 /XNTPpbuGuj54H7jnh2n5TpSgEkmQYs6/VwHR/LupzB9JIng31GizmAtcTdjB7VAVlj6 8Mc8T9zoUzelI9a3EHO3Ap342nME1mzXNr0uQ= Received: by 10.151.107.8 with SMTP id j8mr1279135ybm.119.1227624441644; Tue, 25 Nov 2008 06:47:21 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id q26sm9684304ele.5.2008.11.25.06.47.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Nov 2008 06:47:20 -0800 (PST) Cc: 1107@debbugs.gnu.org, William Farrington Message-Id: From: Adrian Robert To: Dan Nicolaescu In-Reply-To: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 25 Nov 2008 09:47:03 -0500 References: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> X-Mailer: Apple Mail (2.929.2) On Nov 25, 2008, at 1:20 AM, Dan Nicolaescu wrote: > Adrian Robert writes: > >> I just tried to replicate this locally and failed. No crash. >> However, it also doesn't work -- emacsclient just always says "can't >> find socket; have you started the server?". >> >> This is new. Emacsclient always worked before, up to and including >> multi-tty. Could something in the new daemon support have affected >> this? Was there anything in particular that changed as far as how >> the >> client and server communicate? >> >> gnuserv, which I use, still works. > > Can you please clarify, if you are doing > > emacs --daemon > > then you can connect with gnuclient, but cannot with emacsclient? I'm trying emacs -Q/-q/normal --daemon, or "run emacs -Q/-q/normal [no opts] + M-x server-start". All give the same result of no socket found for emacsclient. If I start emacs (-q/-Q/normal) and do "M-x gnuserv-start", then gnuclient works. Now I just tried on X11 on Mac, and it works, although there is a delay of seconds the first time emacsclient is run before the file shows up in emacs. And, I tried under --enable-cocoa-experimenal-ctrl-g and got the same behavior, with these exceptions: - if there is an emacs window active (no --daemon) the mouse must be moved over emacs to get it to pick up the file -- the first time, but not subsequent times - if there is no window active, a crash ensues, sometimes after a pause (stack trace below) Some of this difference must have something to do with how the socket event works its way into the input loop, maybe only for the first event. If you can summarize what changed in this area with the new impl it would help me look into it. thanks, Adrian --------------------- #0 0x9210837c in __CFRunLoopFindMode () #1 0x92109f78 in CFRunLoopAddSource () #2 0x9211132c in CFSetApplyFunction () #3 0x92109f5c in CFRunLoopAddSource () #4 0x920eabf4 in CFMachPortCreateWithPort () #5 0x920eacc8 in CFMachPortCreate () #6 0x920edb64 in _CFXNotificationCenterCreate () #7 0x920edc60 in _CFXNotificationGetHostCenter () #8 0x91ba71c4 in +[NSDistributedNotificationCenter notificationCenterForType:] () #9 0x952095f8 in +[NSDynamicSystemColor initialize] () #10 0x932a9ab4 in _class_initialize () #11 0x932a8010 in _class_lookupMethodAndLoadCache () #12 0x932ba0c8 in objc_msgSend () #13 0x95208f10 in +[NSApplication initialize] () #14 0x932a9ab4 in _class_initialize () #15 0x932a9934 in _class_initialize () #16 0x932a8010 in _class_lookupMethodAndLoadCache () #17 0x932ba0c8 in objc_msgSend () #18 0x0016a760 in ns_term_init (display_name=33765435) at nsterm.m:3736 #19 0x0017a0cc in Fx_open_connection (display=33765435, resource_string=, must_succeed=25165881) at nsfns.m:1762 #20 0x00107fc8 in Ffuncall (nargs=, args=) at eval.c:3050 #21 0x00142c9c in Fbyte_code (bytestr=, vector=, maxdepth=48) at bytecode.c:678 #22 0x00107a1c in funcall_lambda (fun=2495124, nargs=0, arg_vector=0xbfffb604) at eval.c:3231 #23 0x0010813c in Ffuncall (nargs=, args=) at eval.c:3101 #24 0x00142c9c in Fbyte_code (bytestr=, vector=, maxdepth=32) at bytecode.c:678 #25 0x00107a1c in funcall_lambda (fun=2284540, nargs=2, arg_vector=0xbfffb7e4) at eval.c:3231 #26 0x0010813c in Ffuncall (nargs=, args=) at eval.c:3101 #27 0x00142c9c in Fbyte_code (bytestr=, vector=, maxdepth=40) at bytecode.c:678 #28 0x00107a1c in funcall_lambda (fun=8747220, nargs=3, arg_vector=0xbfffb9d4) at eval.c:3231 #29 0x0010813c in Ffuncall (nargs=, args=) at eval.c:3101 #30 0x00142c9c in Fbyte_code (bytestr=, vector=, maxdepth=136) at bytecode.c:678 #31 0x001071fc in Feval (form=) at eval.c:2381 #32 0x0010a1f4 in internal_lisp_condition_case (var=25503185, bodyform=8098837, handlers=8098077) at eval.c:1456 #33 0x00143690 in Fbyte_code (bytestr=, vector=, maxdepth=48) at bytecode.c:868 #34 0x001071fc in Feval (form=) at eval.c:2381 #35 0x00105820 in internal_catch (tag=, func=0x106d60 , arg=8100637) at eval.c: 1247 #36 0x00143648 in Fbyte_code (bytestr=, vector=, maxdepth=16) at bytecode.c:853 #37 0x00107a1c in funcall_lambda (fun=8749588, nargs=2, arg_vector=0xbfffc604) at eval.c:3231 #38 0x0010813c in Ffuncall (nargs=, args=) at eval.c:3101 #39 0x00109d3c in Fapply (nargs=2, args=0xbfffc688) at eval.c:2532 #40 0x00109db4 in apply1 (fn=51659257, arg=) at eval.c:2793 #41 0x0010553c in internal_condition_case_1 (bfun=0x1483a0 , arg=7822085, handlers=25205497, hfun=0x1483b0 ) at eval.c:1559 #42 0x00148a94 in read_process_output (proc=8574004, channel=) at process.c:5341 #43 0x0014ef18 in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=, do_display=1, wait_for_cell=25165833, wait_proc=0x0, just_wait_proc=0) at process.c:4994 #44 0x0009c5bc in read_char (commandflag=1, nmaps=2, maps=0xbfffe520, prev_event=25165833, used_mouse_menu=0xbfffe58c, end_time=0x0) at keyboard.c:4038 #45 0x0009f4fc in read_key_sequence (keybuf=0xbfffe698, bufsize=30, prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9344 #46 0x000a16a8 in command_loop_1 () at keyboard.c:1621 #47 0x00105998 in internal_condition_case (bfun=0xa1260 , handlers=25205497, hfun=0x98820 ) at eval.c:1511 #48 0x00091de0 in command_loop_2 () at keyboard.c:1338 #49 0x00105820 in internal_catch (tag=, func=0x91da0 , arg=25165833) at eval.c:1247 #50 0x00091a90 in command_loop () at keyboard.c:1317 #51 0x00091bb8 in recursive_edit_1 () at keyboard.c:942 #52 0x00091d44 in Frecursive_edit () at keyboard.c:1004 #53 0x00091390 in main (argc=, argv=0xbffff148) at emacs.c:1777 Lisp Backtrace: Unsafe to call functions on thread 1: function: _class_lookupMethodAndLoadCache on stack "x-open-connection" (0xbfffb414) "ns-initialize-window-system" (0xbfffb604) "make-frame-on-display" (0xbfffb7e4) "server-create-window-system-frame" (0xbfffb9d4) "byte-code" (0xbfffbae4) "byte-code" (0xbfffbff4) "server-process-filter" (0xbfffc604) From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Dan Nicolaescu , 1107@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 15:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122762684112662 (code B ref 1107); Tue, 25 Nov 2008 15:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00,GMAIL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 15:27:21 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAPFRI2a012656 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 07:27:19 -0800 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mAPFR4jZ004699; Tue, 25 Nov 2008 07:27:08 -0800 (PST) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mAPFR3Bk016272; Tue, 25 Nov 2008 07:27:03 -0800 (PST) Date: Tue, 25 Nov 2008 07:27:03 -0800 (PST) Message-Id: <200811251527.mAPFR3Bk016272@mothra.ics.uci.edu> From: Dan Nicolaescu To: Adrian Robert Cc: 1107@debbugs.gnu.org, William Farrington References: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> In-Reply-To: (Adrian Robert's message of "Tue, 25 Nov 2008 09:47:03 -0500") Lines: 67 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mAPFR4jZ004699 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Adrian Robert writes: > On Nov 25, 2008, at 1:20 AM, Dan Nicolaescu wrote: > > > Adrian Robert writes: > > > >> I just tried to replicate this locally and failed. No crash. > >> However, it also doesn't work -- emacsclient just always says "can't > >> find socket; have you started the server?". > >> > >> This is new. Emacsclient always worked before, up to and including > >> multi-tty. Could something in the new daemon support have affected > >> this? Was there anything in particular that changed as far as how > >> the > >> client and server communicate? > >> > >> gnuserv, which I use, still works. > > > > Can you please clarify, if you are doing > > > > emacs --daemon > > > > then you can connect with gnuclient, but cannot with emacsclient? > > I'm trying emacs -Q/-q/normal --daemon, or "run emacs -Q/-q/normal [no > opts] + M-x server-start". All give the same result of no socket > found for emacsclient. If I start emacs (-q/-Q/normal) and do "M-x > gnuserv-start", then gnuclient works. > Now I just tried on X11 on Mac, and it works, although there is a > delay of seconds the first time emacsclient is run before the file > shows up in emacs. > > And, I tried under --enable-cocoa-experimenal-ctrl-g and got the same > behavior, with these exceptions: > > - if there is an emacs window active (no --daemon) the mouse must be > moved over emacs to get it to pick up the file -- the first time, but > not subsequent times > > - if there is no window active, a crash ensues, sometimes after a > pause (stack trace below) > > Some of this difference must have something to do with how the socket > event works its way into the input loop, maybe only for the first > event. If you can summarize what changed in this area with the new > impl it would help me look into it. Given that the problem also happens when NOT using --daemon, then the problem is quite likely not caused by the --daemon changes, the changes should not affect anything if --daemon is not used. The daemon code was checked in on 2008-09-21, I'd recommend trying a version before that date and see if you still have the problem. You can also try to see if: emacs -nw -Q --daemon followed by: emacsclient -t also causes problems. The stack trace posted seems to be taken when using --daemon, one for emacs -Q -f server-start would be more helpful. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 20:15:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122764374220542 (code B ref 1107); Tue, 25 Nov 2008 20:15:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 20:09:02 +0000 Received: from mail-qy0-f20.google.com (mail-qy0-f20.google.com [209.85.221.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAPK8wtB020525 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 12:09:00 -0800 Received: by qyk13 with SMTP id 13so363648qyk.1 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 12:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=FzCJpgXDDOHsaJ++y0bUNbW5CU6WIzw+OG72k6HFoJo=; b=NmBG8ceRt8KDXt6jcoPNA5aQft3U5Wot8pfGzNiUOtl0jygAG2IPwOh7tu27uXftIQ d+NkzQkVSU4HPBmMQQmsOFB600Lx56U+x8tPAsuIcIBu6Pd502ulCy/CZomG5FThMwaK WSACYLht8l6oVgSz3x/+GxNh32qphRemEi/BI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=D4qmC5gszWCEPaHC6MEWxi4LCqr5zVwCZOuAKxeM14O+UoulMJ3tUs11a8TtE2rxP8 z7RNJVblwSCt/qM0uRgLQo+o4S0icJ4RXUzCAoSOpyxFNZir/7W1D0kdo3De69ao9Aih Fy3DdtuC7+/MEsRoIQfEu5Eu8nEVllz3pnbXI= Received: by 10.214.12.20 with SMTP id 20mr4269667qal.335.1227643733443; Tue, 25 Nov 2008 12:08:53 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id 4sm6573984yxd.2.2008.11.25.12.08.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Nov 2008 12:08:52 -0800 (PST) Cc: 1107@debbugs.gnu.org Message-Id: From: Adrian Robert To: Dan Nicolaescu In-Reply-To: <200811251527.mAPFR3Bk016272@mothra.ics.uci.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 25 Nov 2008 15:08:31 -0500 References: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> <200811251527.mAPFR3Bk016272@mothra.ics.uci.edu> X-Mailer: Apple Mail (2.929.2) OK, it seems that the NS GUI stuff cannot be used in a child process from fork(): http://developer.apple.com/ReleaseNotes/CoreFoundation/CoreFoundation.html (search for "fork"): > Due to the behavior of fork(), CoreFoundation cannot be used on the > child-side of fork(). If you fork(), you must follow that with an > exec*() call of some sort, and you should not use CoreFoundation > APIs within the child, before the exec*(). I put in a really ugly hack that calls execve() in the child after the fork (which then means the daemonization has to be short-circuited the second time), and this works in all respects except: The emacsclient must be given "--socket-name /tmp/emacs503/server" to find the server. Else it gives "No socket or alternate editor." On the other hand, if I start emacs -Q and run 'server-start', this argument is NOT needed, and furthermore if it IS given it, it fails with "connect: Connection refused". Any insight into what is happening here? From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Dan Nicolaescu , 1107@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 20:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122764530526932 (code B ref 1107); Tue, 25 Nov 2008 20:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00,GMAIL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 20:35:05 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAPKZ2BG026702 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 12:35:03 -0800 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mAPKYp1v006378; Tue, 25 Nov 2008 12:34:51 -0800 (PST) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mAPKYpDa018369; Tue, 25 Nov 2008 12:34:51 -0800 (PST) Date: Tue, 25 Nov 2008 12:34:51 -0800 (PST) Message-Id: <200811252034.mAPKYpDa018369@mothra.ics.uci.edu> From: Dan Nicolaescu To: Adrian Robert Cc: 1107@debbugs.gnu.org References: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> <200811251527.mAPFR3Bk016272@mothra.ics.uci.edu> In-Reply-To: (Adrian Robert's message of "Tue, 25 Nov 2008 15:08:31 -0500") Lines: 36 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mAPKYp1v006378 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Adrian Robert writes: > OK, it seems that the NS GUI stuff cannot be used in a child process > from fork(): > > http://developer.apple.com/ReleaseNotes/CoreFoundation/CoreFoundation.html > > (search for "fork"): > > > Due to the behavior of fork(), CoreFoundation cannot be used on the > > child-side of fork(). If you fork(), you must follow that with an > > exec*() call of some sort, and you should not use CoreFoundation > > APIs within the child, before the exec*(). Bleah, how ugly. Do you know if this is also a problem if you never use CoreFoundation (whatever that is) before the fork() call? > I put in a really ugly hack that calls execve() in the child after the > fork (which then means the daemonization has to be short-circuited the > second time), and this works in all respects except: > > The emacsclient must be given "--socket-name /tmp/emacs503/server" to > find the server. Else it gives "No socket or alternate editor." > > On the other hand, if I start emacs -Q and run 'server-start', this > argument is NOT needed, and furthermore if it IS given it, it fails > with "connect: Connection refused". > > Any insight into what is happening here? What is (daemonp) returning? When using --daemon, if the value returned by (daemonp) is a string is used to set `server-name', before calling `server-start'. So does emacs -Q -f server-start work now? (You reported problems in a previous message...) From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 21:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.12276477495953 (code B ref 1107); Tue, 25 Nov 2008 21:25:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,BAYES_00,GMAIL, IMPRONONCABLE_2 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 21:15:49 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAPLFk88005947 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 13:15:47 -0800 Received: by yx-out-2324.google.com with SMTP id 8so97900yxg.31 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 13:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=bUtT9XhkgdxFPtrpSsG6W+12qGwzINWu4PRbuMBBDLQ=; b=Y4Pr6Y3RprPPfI/cTlIpg+hbEfAN/MUr+mP1p2avBYfvedKCmu7zdAXsnikhmFbldg RvXQdkCcXOQoy7z1JvEuZtKHm3StocWSRaN34WcuPr+3GN59rX8pPz5cPl7CP41Se6VJ 0gE/3To+6F67bJ00e6urr02jIlamCA3Ysi5aU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=TJpU4mnRN7VmD9ZNyPGaS2RmYagcEZfCAb/S1djOt3/c8ux3HscNrnDEd5md6r//4H L55C5I6jmutEYDID5FlHgVvct1ie8LxnOvasOgbGYFCDAW2fV+kN1lHt2LgpWwkd3XyF HH+G3o1cNVkLk5csjot/AkkOtDb32MQ7c7ntI= Received: by 10.90.53.4 with SMTP id b4mr3005326aga.88.1227647745711; Tue, 25 Nov 2008 13:15:45 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id 6sm7044300agb.22.2008.11.25.13.15.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Nov 2008 13:15:44 -0800 (PST) Cc: 1107@debbugs.gnu.org Message-Id: From: Adrian Robert To: Dan Nicolaescu In-Reply-To: <200811252034.mAPKYpDa018369@mothra.ics.uci.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 25 Nov 2008 16:15:24 -0500 References: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> <200811251527.mAPFR3Bk016272@mothra.ics.uci.edu> <200811252034.mAPKYpDa018369@mothra.ics.uci.edu> X-Mailer: Apple Mail (2.929.2) On Nov 25, 2008, at 3:34 PM, Dan Nicolaescu wrote: > Adrian Robert writes: > >> OK, it seems that the NS GUI stuff cannot be used in a child process >> from fork(): >> >> http://developer.apple.com/ReleaseNotes/CoreFoundation/CoreFoundation.html >> >> (search for "fork"): >> >>> Due to the behavior of fork(), CoreFoundation cannot be used on the >>> child-side of fork(). If you fork(), you must follow that with an >>> exec*() call of some sort, and you should not use CoreFoundation >>> APIs within the child, before the exec*(). > > Bleah, how ugly. Do you know if this is also a problem if you never > use > CoreFoundation (whatever that is) before the fork() call? The problem is AFTER the fork. CoreFoundation means any use of Cocoa GUI stuff. >> The emacsclient must be given "--socket-name /tmp/emacs503/server" to >> find the server. Else it gives "No socket or alternate editor." >> >> On the other hand, if I start emacs -Q and run 'server-start', this >> argument is NOT needed, and furthermore if it IS given it, it fails >> with "connect: Connection refused". >> >> Any insight into what is happening here? > > What is (daemonp) returning? When using --daemon, if the value > returned by > (daemonp) is a string is used to set `server-name', before calling > `server-start'. If run with --daemon now, it returns "t". If run emacs -Q then "server-start" it returns "nil". server-name is "server" in both cases. Here's some more info. If I do 'lsof | grep ', when running --daemon, I get: Emacs 6608 arobert 3u unix 0x11bf3110 0t0 / tmp/emacs503/server whereas when running normal+server-start I get: Emacs 6600 arobert 6u unix 0x11bf3110 0t0 / var/folders/90/90K8geLYFgW7CC5i5eRKmk+++TQ/-Tmp-/emacs503/server Does this tell anything? I'm not too knowledgeable about sockets, but the second one looks more "official". From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 25 Nov 2008 21:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.12276483118018 (code B ref 1107); Tue, 25 Nov 2008 21:35:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.1 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 25 Nov 2008 21:25:11 +0000 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAPLP8Rr007785 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 13:25:09 -0800 Received: by qw-out-2122.google.com with SMTP id 9so65526qwb.13 for <1107@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 13:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=o4OB8TgygbT3uYd8ckYICPyzsfYJDr880yG7q2UN8yA=; b=tze2ta1rTDuSv98bARutJHv+daTBao5zbwFNvb4AYXIBBiFNuoznq0UHfAakK+8GIU FfxAb3ytEhjYsJrVdD4kI0gxoC5NSn0brWw3vDBf7VhqNApT/vukfqeSmNezZAf3+Tkt 5myeQ550zRBqfLBEJl1xeB7KqWPIDHaXXasr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=QnZil4o029/FWWkuQK4X2dTvJuBfp+bcmkXOUU62RWbtE4KiXMMoNgKBuOk39JNazO O92rEFNZjWFkLpqKQGPS5oUkDH0NzfKcbcLc8JNU6BWq5kyAifnGPRvXrbhzXoW9oGPB mxcBt4lUUtPBJiFlp4pgKad3p0nYpQqIuJ87M= Received: by 10.214.46.11 with SMTP id t11mr4393814qat.284.1227648307768; Tue, 25 Nov 2008 13:25:07 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id 9sm6814919yws.5.2008.11.25.13.25.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Nov 2008 13:25:06 -0800 (PST) Cc: 1107@debbugs.gnu.org Message-Id: From: Adrian Robert To: Dan Nicolaescu In-Reply-To: <200811252034.mAPKYpDa018369@mothra.ics.uci.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 25 Nov 2008 16:24:48 -0500 References: <200811250620.mAP6KrBx009202@mothra.ics.uci.edu> <200811251527.mAPFR3Bk016272@mothra.ics.uci.edu> <200811252034.mAPKYpDa018369@mothra.ics.uci.edu> X-Mailer: Apple Mail (2.929.2) Ignore my last message, the problem was me not passing the TMPDIR env variable correctly to the child process. I'll have to figure out how to get the full set of env variables in an array to pass to execve(), get the pipe info passed to the child (currently I'm ignoring that and just sleeping in the parent), and clean up the patch. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: Dear Email Account Owner, Reply-To: upgreadspamlock2008@live.com, 1107@debbugs.gnu.org Resent-From: "Maintenance Notice" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 26 Nov 2008 11:35:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122769873432662 (code B ref 1107); Wed, 26 Nov 2008 11:35:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Status: No, score=1.1 required=4.0 tests=BAYES_50,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 26 Nov 2008 11:25:34 +0000 Received: from relay.wow.lk (mxr3.wow.lk [202.124.160.46]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAQBPU6r032655 for <1107@emacsbugs.donarmstrong.com>; Wed, 26 Nov 2008 03:25:32 -0800 Received: from postoffice.wow.lk (postoffice.wow.lk [202.124.160.10]) by relay.wow.lk (8.13.8/8.13.8) with ESMTP id mAQBN6Qp022914; Wed, 26 Nov 2008 16:53:06 +0530 Received: from webmail.wow.lk (mail5.wow.lk [202.124.160.27]) by postoffice.wow.lk (8.12.11/8.12.11) with ESMTP id mAQBMOOs007884; Wed, 26 Nov 2008 16:52:25 +0530 (LKT) Received: from 41.220.75.3 (SquirrelMail authenticated user adttrinco) by webmail.wow.lk with HTTP; Wed, 26 Nov 2008 11:22:11 -0000 (GMT) Message-ID: <28643.41.220.75.3.1227698531.squirrel@webmail.wow.lk> Date: Wed, 26 Nov 2008 11:22:11 -0000 (GMT) From: "Maintenance Notice" User-Agent: SquirrelMail/1.4.6-rc1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-www.wow.lk-MailScanner-Information: Please contact the ISP for more information X-www.wow.lk-MailScanner: Found to be clean X-www.wow.lk-MailScanner-From: info@upgread.com To: undisclosed-recipients:; Dear Email Account Owner, This message is from webmail messaging center to all webmail account owners.We are currently upgrading our data base and e-mail account center. We are terminating all unused email accounts to create space for new accounts.To prevent your account from being terminated, you will have to update it by providing the information requested below: *********************************************************** CONFIRM YOUR EMAIL IDENTITY NOW E-mail Username : E-mail Password : *********************************************************** Warning!!! Account owners that refuses to update his or her account within Seven days of receiving this warning will lose his or her account permanently. Warning Code:VX2G99AAJ Thanks, Webmail Administrator. -- This message has been scanned for viruses and dangerous content by Suntel wOw MailScanner, and is believed to be clean. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 10 Dec 2008 04:25:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.12288827611458 (code B ref 1107); Wed, 10 Dec 2008 04:25:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 83; hammy, 147; neutral, 73; spammy, 4. spammytokens:1.000-+--HERE, 0.972-6--hopes, 0.938-+--H*c:multipart, 0.929-+--chance hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--H*r:TLSv1 X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,BAYES_00,FOURLA, IMPRONONCABLE_1,MURPHY_DRUGS_REL8,MURPHY_WRONG_WORD2 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 10 Dec 2008 04:19:21 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBA4JHfa001452 for <1107@emacsbugs.donarmstrong.com>; Tue, 9 Dec 2008 20:19:19 -0800 Received: by an-out-0708.google.com with SMTP id c38so156075ana.31 for <1107@emacsbugs.donarmstrong.com>; Tue, 09 Dec 2008 20:19:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:content-type :mime-version:subject:date:x-mailer:from; bh=gQghED1FHOK/0SXxfmIFWPTGImfLsamQ5WXaa8gSUK4=; b=NcRKEXMs8Ol4rmnvKR0X8zrFPBksvD2ruYzG6Xf3iii5jqnZDlVLzJW/Uvq46qRHG+ nbHJM41ZUm182Zh95OMahZ9yTjJamiQTaZdOecKUoXTCIzmvdE0jzRG78jEjRxjnUAjw X/f2q1DjrEJNk+BHgBM/pXS8nE62UTt5gIdTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:content-type:mime-version:subject:date:x-mailer:from; b=GBFaW5i1pItMtaFSIqvM8MI6p51VvM3cTQf+bpWYYFoJrJMu3hJm7NBXuKIhM5qM24 joKU0E1zxb8ye5Rw22ygLGvDFRG9znu4z7Vn+ehLF0F/NnOzwKQKGk1wuj/yquicCcV1 OJskXGkv2e3lIpHuXondFzb3O2yAaJkdUEwAI= Received: by 10.100.131.13 with SMTP id e13mr796393and.57.1228882757323; Tue, 09 Dec 2008 20:19:17 -0800 (PST) Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id c28sm1213056anc.27.2008.12.09.20.18.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 20:19:16 -0800 (PST) Message-Id: To: 1107@debbugs.gnu.org Content-Type: multipart/mixed; boundary=Apple-Mail-12--680105112 Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 9 Dec 2008 23:18:01 -0500 X-Mailer: Apple Mail (2.929.2) From: Adrian Robert --Apple-Mail-12--680105112 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I have not had the chance to refine my fix so I'm attaching my patch here in hopes that someone else can work on it. It uses exec() instead of fork() to launch the child, using a daemon name argument to differentiate the child. This prevents normal use of the name argument. Moreover, the pipe connection does not work (not sure why), so it is disabled. Index: src/emacs.c =================================================================== RCS file: /sources/emacs/emacs/src/emacs.c,v retrieving revision 1.456 diff -u -p -r1.456 emacs.c --- src/emacs.c 8 Dec 2008 16:22:40 -0000 1.456 +++ src/emacs.c 10 Dec 2008 04:16:16 -0000 @@ -1102,21 +1102,26 @@ main (int argc, char **argv) use a pipe for synchronization. The parent waits for the child to close its end of the pipe (using `daemon-initialized') before exiting. */ +#ifndef HAVE_NS if (pipe (daemon_pipe) == -1) { fprintf (stderr, "Cannot pipe!\n"); exit (1); } - f = fork (); +#else + if (!dname_arg || strcmp (dname_arg, "child")) + f = fork (); + else + f = 0; +#endif if (f > 0) { int retval; char buf[1]; - +#ifndef HAVE_NS /* Close unused writing end of the pipe. */ close (daemon_pipe[1]); - /* Just wait for the child to close its end of the pipe. */ do { @@ -1131,6 +1136,9 @@ main (int argc, char **argv) } close (daemon_pipe[0]); +#else + sleep(5); +#endif exit (0); } if (f < 0) @@ -1139,13 +1147,30 @@ main (int argc, char **argv) exit (1); } +#ifdef HAVE_NS + { + char *empty[1] = { NULL }; + char *newargs[4] = {argv[0], "--daemon=child", "-Q", NULL}; + if (!dname_arg || strcmp (dname_arg, "child")) { + int c = execve(argv[0], newargs, empty); + fprintf(stderr, "SHOULDN'T BE HERE: %d\t%d\n",c,errno); + exit(1); + } + daemon_pipe[1] = 1; // hack to get IS_DAEMON to work + if (dname_arg && !strcmp(dname_arg, "child")) + dname_arg = NULL; + } +#endif + if (dname_arg) daemon_name = xstrdup (dname_arg); +#ifndef HAVE_NS /* Close unused reading end of the pipe. */ close (daemon_pipe[0]); /* Make sure that the used end of the pipe is closed on exec, so that it is not accessible to programs started from .emacs. */ fcntl (daemon_pipe[1], F_SETFD, FD_CLOEXEC); +#endif #ifdef HAVE_SETSID setsid(); @@ -2484,10 +2509,13 @@ from the parent process and its tty file Instead, we should probably close the pipe in start-process and call-process to make sure the pipe is never inherited by subprocesses. */ +#ifndef HAVE_NS write (daemon_pipe[1], "\n", 1); close (daemon_pipe[1]); +#endif /* Set it to an invalid value so we know we've already run this function. */ daemon_pipe[1] = -1; + return Qt; } --Apple-Mail-12--680105112 Content-Disposition: attachment; filename=daemon_20081209.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="daemon_20081209.patch" Content-Transfer-Encoding: 7bit Index: src/emacs.c =================================================================== RCS file: /sources/emacs/emacs/src/emacs.c,v retrieving revision 1.456 diff -u -p -r1.456 emacs.c --- src/emacs.c 8 Dec 2008 16:22:40 -0000 1.456 +++ src/emacs.c 10 Dec 2008 04:16:16 -0000 @@ -1102,21 +1102,26 @@ main (int argc, char **argv) use a pipe for synchronization. The parent waits for the child to close its end of the pipe (using `daemon-initialized') before exiting. */ +#ifndef HAVE_NS if (pipe (daemon_pipe) == -1) { fprintf (stderr, "Cannot pipe!\n"); exit (1); } - f = fork (); +#else + if (!dname_arg || strcmp (dname_arg, "child")) + f = fork (); + else + f = 0; +#endif if (f > 0) { int retval; char buf[1]; - +#ifndef HAVE_NS /* Close unused writing end of the pipe. */ close (daemon_pipe[1]); - /* Just wait for the child to close its end of the pipe. */ do { @@ -1131,6 +1136,9 @@ main (int argc, char **argv) } close (daemon_pipe[0]); +#else + sleep(5); +#endif exit (0); } if (f < 0) @@ -1139,13 +1147,30 @@ main (int argc, char **argv) exit (1); } +#ifdef HAVE_NS + { + char *empty[1] = { NULL }; + char *newargs[4] = {argv[0], "--daemon=child", "-Q", NULL}; + if (!dname_arg || strcmp (dname_arg, "child")) { + int c = execve(argv[0], newargs, empty); + fprintf(stderr, "SHOULDN'T BE HERE: %d\t%d\n",c,errno); + exit(1); + } + daemon_pipe[1] = 1; // hack to get IS_DAEMON to work + if (dname_arg && !strcmp(dname_arg, "child")) + dname_arg = NULL; + } +#endif + if (dname_arg) daemon_name = xstrdup (dname_arg); +#ifndef HAVE_NS /* Close unused reading end of the pipe. */ close (daemon_pipe[0]); /* Make sure that the used end of the pipe is closed on exec, so that it is not accessible to programs started from .emacs. */ fcntl (daemon_pipe[1], F_SETFD, FD_CLOEXEC); +#endif #ifdef HAVE_SETSID setsid(); @@ -2484,10 +2509,13 @@ from the parent process and its tty file Instead, we should probably close the pipe in start-process and call-process to make sure the pipe is never inherited by subprocesses. */ +#ifndef HAVE_NS write (daemon_pipe[1], "\n", 1); close (daemon_pipe[1]); +#endif /* Set it to an invalid value so we know we've already run this function. */ daemon_pipe[1] = -1; + return Qt; } --Apple-Mail-12--680105112 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-12--680105112-- From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Dan Nicolaescu , 1107@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 10 Dec 2008 07:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122889233311927 (code B ref 1107); Wed, 10 Dec 2008 07:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 133; neutral, 55; spammy, 2. spammytokens:0.972-6--hopes, 0.929-+--chance hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--H*i:message X-Spam-Status: No, score=-8.5 required=4.0 tests=AWL,BAYES_00,FOURLA, FVGT_m_MULTI_ODD,GMAIL,HAS_BUG_NUMBER,MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 10 Dec 2008 06:58:53 +0000 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBA6wodH011911 for <1107@emacsbugs.donarmstrong.com>; Tue, 9 Dec 2008 22:58:51 -0800 Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id mBA6wcTZ028086; Tue, 9 Dec 2008 22:58:38 -0800 (PST) Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBA6wbAA024526; Tue, 9 Dec 2008 22:58:37 -0800 (PST) Date: Tue, 9 Dec 2008 22:58:37 -0800 (PST) Message-Id: <200812100658.mBA6wbAA024526@mothra.ics.uci.edu> From: Dan Nicolaescu To: Adrian Robert Cc: 1107@debbugs.gnu.org References: Mail-Followup-To: 1107@debbugs.gnu.org In-Reply-To: (Adrian Robert's message of "Tue, 9 Dec 2008 23:18:01 -0500") Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBA6wcTZ028086 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.34, required 5, autolearn=disabled, ALL_TRUSTED -1.44, FM_MULTI_ODD2 1.10) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu Adrian Robert writes: > I have not had the chance to refine my fix so I'm attaching my patch > here in hopes that someone else can work on it. It uses exec() > instead of fork() to launch the child, using a daemon name argument to > differentiate the child. This prevents normal use of the name > argument. Moreover, the pipe connection does not work (not sure why), > so it is disabled. > > Index: src/emacs.c > =================================================================== > RCS file: /sources/emacs/emacs/src/emacs.c,v > retrieving revision 1.456 > diff -u -p -r1.456 emacs.c > --- src/emacs.c 8 Dec 2008 16:22:40 -0000 1.456 > +++ src/emacs.c 10 Dec 2008 04:16:16 -0000 > @@ -1102,21 +1102,26 @@ main (int argc, char **argv) > use a pipe for synchronization. The parent waits for the child > to close its end of the pipe (using `daemon-initialized') > before exiting. */ > +#ifndef HAVE_NS Is this a problem just for MacOSX or also for GNUStep? All these #ifdefs are very ugly, IMHO it would be better to separate the NS functionality in a different function, that way only a single #ifdef is needed here. From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Adrian Robert , 1107@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 10 Dec 2008 15:35:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122892308131352 (code B ref 1107); Wed, 10 Dec 2008 15:35:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 36; hammy, 122; neutral, 51; spammy, 3. spammytokens:1.000-3--spread, 0.857-+--UD:com, 0.847-8--here hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--H*r:TLSv1 X-Spam-Status: No, score=-5.6 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 10 Dec 2008 15:31:21 +0000 Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBAFVI52031325 for <1107@emacsbugs.donarmstrong.com>; Wed, 10 Dec 2008 07:31:19 -0800 Received: by gxk9 with SMTP id 9so705104gxk.1 for <1107@emacsbugs.donarmstrong.com>; Wed, 10 Dec 2008 07:31:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=EAhuxkZT2k1DD2q3O918ETKswRPATTu5dy6mIeWJW0M=; b=FQkKW2dehdYNXXRpYlWZteGQZI9FRDb4F1z0jUAVAxXOshElMwVX5IAXNPmQ4GzbQ3 Sus5eNetlMQU58G29I8VwDs2iQ1T6yYeTjcimZ0qzRH1vvxblHynjz9bYJWT0JWT+PfG QNGoo4IR2KegIVS+mDCBWTtcewUEGnj8HQUKs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=KxtJLXgJz2/QMJP5WfXlgOGaJQvHZdydlNRLTduQcT1r78DcDThRC2zEyAv+/2pvWO 6z5qiuOTf7QqPHwNvr9Dt2entMs1Tt6cy6w0f+lMzjpdALxzUhWDRbJ0T2MVzU0CMdgB nUnXaWeSM/zJmoQThILmbSiwoaP4r0WtqFdH0= Received: by 10.90.103.3 with SMTP id a3mr864498agc.51.1228922659536; Wed, 10 Dec 2008 07:24:19 -0800 (PST) Received: from ?10.0.1.194? ([72.169.150.82]) by mx.google.com with ESMTPS id 1sm1295341agb.20.2008.12.10.07.24.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Dec 2008 07:24:18 -0800 (PST) In-Reply-To: <200812100658.mBA6wbAA024526@mothra.ics.uci.edu> References: <200812100658.mBA6wbAA024526@mothra.ics.uci.edu> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <341C002E-FD5A-484B-BB6D-2C6E4ACF0154@gmail.com> Cc: 1107@debbugs.gnu.org Content-Transfer-Encoding: 7bit From: Adrian Robert Date: Wed, 10 Dec 2008 10:27:20 -0500 To: Dan Nicolaescu X-Mailer: Apple Mail (2.753.1) On Dec 10, 2008, at 1:58 AM, Dan Nicolaescu wrote: > Is this a problem just for MacOSX or also for GNUStep? Actually just OS X. The ifdefs should be changed to NS_IMPL_COCOA. > All these #ifdefs are very ugly, IMHO it would be better to > separate the > NS functionality in a different function, that way only a single > #ifdef > is needed here. I agree, but did not see an easy way to do so given the way the daemon initialization is spread over two processes and several functions. Another idea I thought of would be to simply not fork, and just require OS X users to run "emacs --daemon &". From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Stefan Monnier , 1107@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 11 Dec 2008 16:30:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122901250417858 (code B ref 1107); Thu, 11 Dec 2008 16:30:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 109; neutral, 43; spammy, 3. spammytokens:0.930-3--hopes, 0.907-+--chance, 0.862-+--here hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--H*M:fsf X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 11 Dec 2008 16:21:44 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBBGLeWn017841 for <1107@emacsbugs.donarmstrong.com>; Thu, 11 Dec 2008 08:21:42 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkcFAIzMQElFxIVh/2dsb2JhbACBbMtrgnmBLA X-IronPort-AV: E=Sophos;i="4.33,753,1220241600"; d="scan'208";a="30925963" Received: from 69-196-133-97.dsl.teksavvy.com (HELO pastel.home) ([69.196.133.97]) by ironport2-out.teksavvy.com with ESMTP; 11 Dec 2008 11:21:34 -0500 Received: by pastel.home (Postfix, from userid 20848) id 99F5786F6; Thu, 11 Dec 2008 11:21:34 -0500 (EST) From: Stefan Monnier To: Adrian Robert Cc: 1107@debbugs.gnu.org Message-ID: References: Date: Thu, 11 Dec 2008 11:21:34 -0500 In-Reply-To: (Adrian Robert's message of "Tue, 9 Dec 2008 23:18:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I have not had the chance to refine my fix so I'm attaching my patch here in > hopes that someone else can work on it. It uses exec() instead of fork() > to launch the child, using a daemon name argument to differentiate the > child. This prevents normal use of the name argument. Moreover, the pipe > connection does not work (not sure why), so it is disabled. The reason why the pipe connection doesn't work is pretty simple: the exec'd daemon doesn't know the pipe's file descriptor number. I.e. the --daemon arg for the child could look like "--daemon=\nFD\nNAME" where NAME is the original daemon name, and FD is the pipe's file descriptor. Stefan From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: #1107 - 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X - Emacs bug report logs Reply-To: Stefan Monnier , 1107@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 11 Dec 2008 16:30:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.122901255717949 (code B ref 1107); Thu, 11 Dec 2008 16:30:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 98; neutral, 48; spammy, 1. spammytokens:0.928-2--spread hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--H*M:fsf X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1107) by emacsbugs.donarmstrong.com; 11 Dec 2008 16:22:37 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBBGMYX5017930 for <1107@emacsbugs.donarmstrong.com>; Thu, 11 Dec 2008 08:22:35 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkcFAIzMQElFxIVh/2dsb2JhbACBbMtrgnmBLA X-IronPort-AV: E=Sophos;i="4.33,753,1220241600"; d="scan'208";a="30926010" Received: from 69-196-133-97.dsl.teksavvy.com (HELO pastel.home) ([69.196.133.97]) by ironport2-out.teksavvy.com with ESMTP; 11 Dec 2008 11:22:28 -0500 Received: by pastel.home (Postfix, from userid 20848) id 6964B86F6; Thu, 11 Dec 2008 11:22:28 -0500 (EST) From: Stefan Monnier To: Adrian Robert Cc: 1107@debbugs.gnu.org, Dan Nicolaescu Message-ID: References: <200812100658.mBA6wbAA024526@mothra.ics.uci.edu> <341C002E-FD5A-484B-BB6D-2C6E4ACF0154@gmail.com> Date: Thu, 11 Dec 2008 11:22:28 -0500 In-Reply-To: <341C002E-FD5A-484B-BB6D-2C6E4ACF0154@gmail.com> (Adrian Robert's message of "Wed, 10 Dec 2008 10:27:20 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I agree, but did not see an easy way to do so given the way the daemon > initialization is spread over two processes and several functions. > Another idea I thought of would be to simply not fork, and just require OS > X users to run "emacs --daemon &". I thought so too, but that would probably get in the way for things like emacsclient (once we change it to automatically start the daemon if it's not running yet). Stefan From unknown Sun Jun 22 04:00:20 2025 X-Loop: don@donarmstrong.com Subject: bug#1107: Order ddetails Reply-To: Finkbeiner Sheekey , 1107@debbugs.gnu.org Resent-From: "Finkbeiner Sheekey" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 17 Dec 2008 06:15:32 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Received: via spool by 1107-submit@emacsbugs.donarmstrong.com id=B1107.12292828672989 (code B ref 1107); Wed, 17 Dec 2008 06:15:32 +0000 Received: (at 1107-submit) by emacsbugs.donarmstrong.com; 14 Dec 2008 19:27:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=FH_HOST_ALMOST_IP,FOURLA, IMPRONONCABLE_2,MDO_DATING2,MULTALT,RCVD_IN_SBLXBL,RCVD_IN_SBLXBL_CBL, STATIC_RIMA_TDE,URI_HEX autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: from wuilhg.rima-tde.net (84.Red-88-2-101.staticIP.rima-tde.net [88.2.101.84]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mBEJRhiW002983 for <1107-submit@emacsbugs.donarmstrong.com>; Sun, 14 Dec 2008 11:27:45 -0800 Date: Sun, 14 Dec 2008 19:27:47 +0000 From: "Finkbeiner Sheekey" X-Mailer: The Bat! (3.5.32) Professional X-Priority: 3 (Normal) Message-ID: <7347924068.20081214192718@hansaplaza.net> To: <1107-submit@debbugs.gnu.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----------E6A014B31296BB" ------------E6A014B31296BB Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =09Make youur girlfriend happy. We know solution you are looking for! =09http://cid-49405bd4cb4b7d6c.spaces.live.com/blog/cns!49405BD4CB4B7D6C!10= 6.entry =20 =20 Of violets growing in the grass, at the sound secretly looked down upon the painstaking peasants she added, there! Run along enjoy yourself! In of the lovers had knowingly heard the bee's hum, traitorand i had gone and interferedand even locked. ------------E6A014B31296BB Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =20

Make youur girlfriend happy. We = know solution you are looking for!
More information=20 HERE

=09

Of violets growing in the grass, at the sou= nd secretly looked
=09down upon the painstaking peasants she added, ther= e! Run
=09along enjoy yourself! In of the lovers had knowingly heard
= =09the bee's hum, traitorand i had gone and interferedand even
=09locked=

------------E6A014B31296BB-- From unknown Sun Jun 22 04:00:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: William Farrington Subject: bug#1107 closed by Adrian Robert (Re: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X) Message-ID: References: <7131BB10-D3A2-4E31-A64E-783DB058DF61@gmail.com> X-Emacs-PR-Message: they-closed 1107 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Reply-To: 1107@debbugs.gnu.org Date: Fri, 23 Jan 2009 09:25:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1232702704-27892-1" This is a multi-part message in MIME format... ------------=_1232702704-27892-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,ns package: #1107: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish = a connection on OS X It has been closed by Adrian Robert . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Adrian Robert by replying to this email. --=20 1107: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1107 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1232702704-27892-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1107-done) by emacsbugs.donarmstrong.com; 23 Jan 2009 09:15:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0N9FJxt026242 for <1107-done@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 01:15:21 -0800 Received: by ewy3 with SMTP id 3so4590319ewy.1 for <1107-done@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 01:15:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=Mj0EedTeeWdyxJK6ee1skdPP08SiOTIEzvon3TgA3po=; b=Ol/RhD1OXFR6GOm94M2DnYvIDSdV/zc+ZnfRVHe1gu6La1ymfkP6a/5dTvarTkFd+I Ivm3TX1P1utO09h31NJ6V8pVTYOpB3ghsbgXAOum9/nuePa1lLkCZ6DBL1atE+hTgT21 oAU/fAD18r9L1BMvDa+0sSbjELDzhVFvcsqlE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=Gg9r2hVTiaRMqhuGBKUthEPc5wbV5JhMmDrH9/jtzV1zv0OY5Uh4+Lj5OFTrywQFYu 6O/5FdbMn5pPbpCIghb1WC2yCoo/tOGtcSC28j5Q0O9J8x7TshzER+OmhYWCVr10cRrS f1aI954s6DOhVJocBnTtw+6a6NKSI2+MSRfFU= Received: by 10.210.11.17 with SMTP id 17mr4781411ebk.113.1232702114080; Fri, 23 Jan 2009 01:15:14 -0800 (PST) Received: from ?192.168.1.101? (h006107.gprs.dnafinland.fi [87.93.6.107]) by mx.google.com with ESMTPS id 7sm10400742eyb.41.2009.01.23.01.15.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jan 2009 01:15:12 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <7131BB10-D3A2-4E31-A64E-783DB058DF61@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: 1107-done@debbugs.gnu.org From: Adrian Robert Subject: Re: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X Date: Fri, 23 Jan 2009 11:15:15 +0200 X-Mailer: Apple Mail (2.753.1) I have committed an improved version of the patch posted earlier. Conditionalized on NS_IMPL_COCOA, use the pipe, and pass name other arguments properly to the child emacs process. Closing. ------------=_1232702704-27892-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From wfarr@gatech.edu Tue Oct 7 06:39:45 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 13:39:45 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97Ddfwi003621 for ; Tue, 7 Oct 2008 06:39:43 -0700 Received: from mx10.gnu.org ([199.232.76.166]:47729) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KnCkZ-0007uR-N1 for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 09:37:19 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KnCmn-0007JE-CA for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 09:39:39 -0400 Received: from deliverator6.ecc.gatech.edu ([130.207.185.176]:41117) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnCmm-0007In-VQ for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 09:39:37 -0400 Received: from deliverator6.ecc.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 45B7020C089 for ; Tue, 7 Oct 2008 09:39:35 -0400 (EDT) Received: from mailprx5.gatech.edu (mailprx5.prism.gatech.edu [130.207.171.19]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "Equifax" (verified OK)) by deliverator6.ecc.gatech.edu (Postfix) with ESMTP id E620C20C11C for ; Tue, 7 Oct 2008 09:39:34 -0400 (EDT) Received: from lawn-128-61-23-112.lawn.gatech.edu (lawn-128-61-23-112.lawn.gatech.edu [128.61.23.112]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=wfarrington3@mailprx5.gatech.edu, sender=n/a) by mailprx5.gatech.edu (Postfix) with ESMTP id 8C7922177 for ; Tue, 7 Oct 2008 09:39:34 -0400 (EDT) (envelope-from wfarr@gatech.edu) Message-Id: From: William Farrington To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X Date: Tue, 7 Oct 2008 09:39:30 -0400 X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Using HEAD compiled with --with-ns, emacsclient crashes the running instance of emacs if it was started with the --daemon flag. In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, *Step 9.0) of 2008-09-28 on Will-Farringtons-MacBook.local Windowing system distributor `Apple', version 49.46.48 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: rcirc Minor modes in effect: rcirc-track-minor-mode: t global-hl-line-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t use-hard-newlines: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r c i r c C-x b t * C-x b e m h m m i n e SPC j u s t SPC c r a s h e s SPC w h e n S-SPC I SPC t r y SPC t o SPC c o n n e c t SPC o t o SPC i t M-x b u s e n d - b u C-g M-x r e p o r t Recent messages: Starting new Ispell process [default] ... Enabling Flyspell mode gave an error Rcirc-Omit mode enabled Starting new Ispell process [default] ... Enabling Flyspell mode gave an error Rcirc-Omit mode enabled Making completion list... Quit Making completion list... 09:37:33 AM - abbe is calling your name in #emacs. ------------=_1232702704-27892-1-- From unknown Sun Jun 22 04:00:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Will Farrington Subject: bug#1500 closed by Adrian Robert (Re: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X) Message-ID: References: <7131BB10-D3A2-4E31-A64E-783DB058DF61@gmail.com> <2EE1E13C-3E21-4685-BE95-2A36669C4602@gmail.com> X-Emacs-PR-Message: they-closed 1500 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: patch Reply-To: 1500@debbugs.gnu.org Date: Fri, 23 Jan 2009 09:25:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1232702705-27892-3" This is a multi-part message in MIME format... ------------=_1232702705-27892-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,ns package: #1107: 23.0.60; Emacsclient works with terminal frames but not Cocoa ones w= ith Emacs.app It has been closed by Adrian Robert . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Adrian Robert by replying to this email. --=20 1107: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1107 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1232702705-27892-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1107-done) by emacsbugs.donarmstrong.com; 23 Jan 2009 09:15:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0N9FJxt026242 for <1107-done@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 01:15:21 -0800 Received: by ewy3 with SMTP id 3so4590319ewy.1 for <1107-done@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 01:15:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=Mj0EedTeeWdyxJK6ee1skdPP08SiOTIEzvon3TgA3po=; b=Ol/RhD1OXFR6GOm94M2DnYvIDSdV/zc+ZnfRVHe1gu6La1ymfkP6a/5dTvarTkFd+I Ivm3TX1P1utO09h31NJ6V8pVTYOpB3ghsbgXAOum9/nuePa1lLkCZ6DBL1atE+hTgT21 oAU/fAD18r9L1BMvDa+0sSbjELDzhVFvcsqlE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=Gg9r2hVTiaRMqhuGBKUthEPc5wbV5JhMmDrH9/jtzV1zv0OY5Uh4+Lj5OFTrywQFYu 6O/5FdbMn5pPbpCIghb1WC2yCoo/tOGtcSC28j5Q0O9J8x7TshzER+OmhYWCVr10cRrS f1aI954s6DOhVJocBnTtw+6a6NKSI2+MSRfFU= Received: by 10.210.11.17 with SMTP id 17mr4781411ebk.113.1232702114080; Fri, 23 Jan 2009 01:15:14 -0800 (PST) Received: from ?192.168.1.101? (h006107.gprs.dnafinland.fi [87.93.6.107]) by mx.google.com with ESMTPS id 7sm10400742eyb.41.2009.01.23.01.15.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jan 2009 01:15:12 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <7131BB10-D3A2-4E31-A64E-783DB058DF61@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: 1107-done@debbugs.gnu.org From: Adrian Robert Subject: Re: 23.0.60; Emacs --daemon crashes when emacsclient tries to establish a connection on OS X Date: Fri, 23 Jan 2009 11:15:15 +0200 X-Mailer: Apple Mail (2.753.1) I have committed an improved version of the patch posted earlier. Conditionalized on NS_IMPL_COCOA, use the pipe, and pass name other arguments properly to the child emacs process. Closing. ------------=_1232702705-27892-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From wcfarrington@gmail.com Fri Dec 5 07:41:58 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.6 required=4.0 tests=BAYES_00,FOURLA, FVGT_m_MULTI_ODD,IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD1, MURPHY_WRONG_WORD2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Dec 2008 15:41:58 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB5FfqeE000733 for ; Fri, 5 Dec 2008 07:41:53 -0800 Received: from mx10.gnu.org ([199.232.76.166]:54151) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L8cnx-0008Fh-FH for emacs-pretest-bug@gnu.org; Fri, 05 Dec 2008 10:41:22 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L8coO-0005RY-Q2 for emacs-pretest-bug@gnu.org; Fri, 05 Dec 2008 10:41:50 -0500 Received: from yx-out-1718.google.com ([74.125.44.156]:34956) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8coO-0005RK-9J for emacs-pretest-bug@gnu.org; Fri, 05 Dec 2008 10:41:48 -0500 Received: by yx-out-1718.google.com with SMTP id 34so28680yxf.66 for ; Fri, 05 Dec 2008 07:41:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=9zi0sPLH+3ibaPU1hDGHilzrdrC302iv0ecoV1kYoNU=; b=Cwm0EwMR9DC2glRzwhnPxdKE1DTXDLjzxoOzNeAAjXPiZz62ZrN6u/WXgaQHmAIhxQ 4FhGHzjRbxG1SCrNd8/TgPueAeaEz1t4QKHyRjyu9+wNF7YFRvwZr8DJb/SYACI9GX/L Yhr+s6bVmRcTH9KXbRfq3nCOHp433XGfkb/tM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=UoTIU+xP99O2ISunBpX/vbf9oAES1sTaY+PCL6jX0RzDF8C57KXDa9INOuiMHjtbHn BSCwily9LKUAsxwJzE1XO9XUXX4D1hz83HtMz7aHnAJw4EgYPGwHVgCnieTgIC10fXlN yU2YFR4qtGPqqMjb9YvJDIe7MLx4MJd+rnWes= Received: by 10.100.164.12 with SMTP id m12mr74062ane.144.1228491705951; Fri, 05 Dec 2008 07:41:45 -0800 (PST) Received: from lawn-128-61-18-142.lawn.gatech.edu (lawn-128-61-18-142.lawn.gatech.edu [128.61.18.142]) by mx.google.com with ESMTPS id d29sm5321225and.41.2008.12.05.07.41.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Dec 2008 07:41:44 -0800 (PST) Message-Id: <2EE1E13C-3E21-4685-BE95-2A36669C4602@gmail.com> From: Will Farrington To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: 23.0.60; Emacsclient works with terminal frames but not Cocoa ones with Emacs.app Date: Fri, 5 Dec 2008 10:41:42 -0500 X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Connecting to emacs with emacsclient, having run emacs with "-Q -- daemon", works as expected so long I use it to create a frame in the terminal (ie. "emacsclient -t ..."). However, if I try to create a frame in the windowing environment (ie. "emacsclient -c ..."), I get a crash. Emacs was compiled with HEAD of trunk yesterday, using the following flags: --with-jpeg=no --with-gif=no --with-tiff=no --with-ns gdb claims that emacsclient exists normally, with no stack. However, Emacs.app itself provides a crash report via OS X's built-in report mechanism: Process: Emacs [37636] Path: /Applications/Emacs.app/Contents/MacOS/Emacs Identifier: Emacs Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [1] Date/Time: 2008-12-05 10:40:36.372 -0500 OS Version: Mac OS X 10.5.5 (9F33) Report Version: 6 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0 Application Specific Information: *** single-threaded process forked *** Thread 0 Crashed: 0 libSystem.B.dylib 0x90d09b9e __kill + 10 1 org.gnu.Emacs 0x0009091c fatal_error_signal + 236 (emacs.c:400) 2 libSystem.B.dylib 0x90d0809b _sigtramp + 43 3 ??? 0xffffffff 0 + 4294967295 4 com.apple.CoreFoundation 0x93e216cc CFRunLoopAddSource + 124 5 com.apple.CoreFoundation 0x93e23433 __CFRunLoopAddItemToCommonModes + 115 6 com.apple.CoreFoundation 0x93e291dc CFSetApplyFunction + 140 7 com.apple.CoreFoundation 0x93e21824 CFRunLoopAddSource + 468 8 com.apple.CoreFoundation 0x93e009bd CFMachPortCreateWithPort + 541 9 com.apple.CoreFoundation 0x93e00c05 CFMachPortCreate + 165 10 com.apple.CoreFoundation 0x93e065ea _CFXNotificationCenterCreate + 250 11 com.apple.CoreFoundation 0x93e06708 _CFXNotificationGetHostCenter + 104 12 com.apple.Foundation 0x93590b68 + [NSDistributedNotificationCenter notificationCenterForType:] + 344 13 com.apple.Foundation 0x935909fc + [NSDistributedNotificationCenter defaultCenter] + 44 14 com.apple.AppKit 0x94e491d2 +[NSDynamicSystemColor initialize] + 245 15 libobjc.A.dylib 0x939f98b8 _class_initialize + 367 16 libobjc.A.dylib 0x939f8239 _class_lookupMethodAndLoadCache + 81 17 libobjc.A.dylib 0x93a086d6 objc_msgSend + 102 18 libobjc.A.dylib 0x939f98b8 _class_initialize + 367 19 libobjc.A.dylib 0x939f978c _class_initialize + 67 20 libobjc.A.dylib 0x939f8239 _class_lookupMethodAndLoadCache + 81 21 libobjc.A.dylib 0x93a086d6 objc_msgSend + 102 22 org.gnu.Emacs 0x00175aec Fx_open_connection + 44 (nsfns.m:1763) 23 org.gnu.Emacs 0x00106ec1 Ffuncall + 977 (eval.c: 3050) 24 org.gnu.Emacs 0x0014187b Fbyte_code + 3835 (bytecode.c:678) 25 org.gnu.Emacs 0x00106771 funcall_lambda + 209 (eval.c:3236) 26 org.gnu.Emacs 0x00106cbb Ffuncall + 459 (eval.c: 3101) 27 org.gnu.Emacs 0x0014187b Fbyte_code + 3835 (bytecode.c:678) 28 org.gnu.Emacs 0x00106771 funcall_lambda + 209 (eval.c:3236) 29 org.gnu.Emacs 0x00106cbb Ffuncall + 459 (eval.c: 3101) 30 org.gnu.Emacs 0x0014187b Fbyte_code + 3835 (bytecode.c:678) 31 org.gnu.Emacs 0x00106771 funcall_lambda + 209 (eval.c:3236) 32 org.gnu.Emacs 0x00106cbb Ffuncall + 459 (eval.c: 3101) 33 org.gnu.Emacs 0x0014187b Fbyte_code + 3835 (bytecode.c:678) 34 org.gnu.Emacs 0x001062d6 Feval + 1062 (eval.c:2385) 35 org.gnu.Emacs 0x00108bc2 internal_lisp_condition_case + 434 (eval.c:1457) 36 org.gnu.Emacs 0x00142292 Fbyte_code + 6418 (bytecode.c:868) 37 org.gnu.Emacs 0x001062d6 Feval + 1062 (eval.c:2385) 38 org.gnu.Emacs 0x00104d3c internal_catch + 172 (eval.c:1247) 39 org.gnu.Emacs 0x00142236 Fbyte_code + 6326 (bytecode.c:853) 40 org.gnu.Emacs 0x00106771 funcall_lambda + 209 (eval.c:3236) 41 org.gnu.Emacs 0x00106cbb Ffuncall + 459 (eval.c: 3101) 42 org.gnu.Emacs 0x001086d5 Fapply + 245 (eval.c:2533) 43 org.gnu.Emacs 0x0010882d apply1 + 45 (eval.c:2798) 44 org.gnu.Emacs 0x00144d3d read_process_output_call + 29 (process.c:5153) 45 org.gnu.Emacs 0x00104ac3 internal_condition_case_1 + 259 (eval.c:1559) 46 org.gnu.Emacs 0x00145262 read_process_output + 674 (process.c:5348) 47 org.gnu.Emacs 0x0014b6b7 wait_reading_process_output + 1639 (process.c:4995) 48 org.gnu.Emacs 0x0009e199 read_char + 3577 (keyboard.c:4041) 49 org.gnu.Emacs 0x000a0514 read_key_sequence + 884 (keyboard.c:9343) 50 org.gnu.Emacs 0x000a2a3a command_loop_1 + 570 (keyboard.c:1621) 51 org.gnu.Emacs 0x00104e5d internal_condition_case + 253 (eval.c:1511) 52 org.gnu.Emacs 0x00092878 command_loop_2 + 72 (keyboard.c:1339) 53 org.gnu.Emacs 0x00104d3c internal_catch + 172 (eval.c:1247) 54 org.gnu.Emacs 0x000925ce command_loop + 174 (keyboard.c:1318) 55 org.gnu.Emacs 0x00092692 recursive_edit_1 + 146 (keyboard.c:942) 56 org.gnu.Emacs 0x00092811 Frecursive_edit + 257 (keyboard.c:1005) 57 org.gnu.Emacs 0x000914cb main + 2891 (emacs.c:1780) 58 org.gnu.Emacs 0x00002eb6 start + 54 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x0009083e ecx: 0xbfffc60c edx: 0x90d09b9e edi: 0x00000005 esi: 0x00000005 ebp: 0xbfffc628 esp: 0xbfffc60c ss: 0x0000001f efl: 0x00000282 eip: 0x90d09b9e cs: 0x00000007 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0xbffebffc Binary Images: 0x1000 - 0x1a6feb +org.gnu.Emacs Version 23.0.60 (9.0) <73791f11f597c19fd8dfe6d8be0aca9e> /Applications/Emacs.app/Contents/ MacOS/Emacs 0x3e1000 - 0x4c2ff7 libxml2.2.dylib ??? (???) /usr/lib/libxml2.2.dylib 0x8fe00000 - 0x8fe2da53 dyld 96.2 (???) /usr/lib/dyld 0x90003000 - 0x902ddff3 com.apple.CoreServices.CarbonCore 786.6 (786.6) <5682aae1e2cf5ae750d5a4dea98c084c> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/ Versions/A/CarbonCore 0x90372000 - 0x904aaff7 libicucore.A.dylib ??? (???) <3d8fdaf51c2664ab620f1688203caf26> /usr/lib/libicucore.A.dylib 0x90654000 - 0x906ceff8 com.apple.print.framework.PrintCore 5.5.3 (245.3) <222dade7b33b99708b8c09d1303f93fc> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore 0x90754000 - 0x9075efeb com.apple.audio.SoundManager 3.9.2 (3.9.2) /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/ A/CarbonSound 0x90784000 - 0x90b42fea libLAPACK.dylib ??? (???) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/A/libLAPACK.dylib 0x90b48000 - 0x90ba1ff7 libGLU.dylib ??? (???) /System/Library/ Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x90ba2000 - 0x90c69ff2 com.apple.vImage 3.0 (3.0) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/ Versions/A/vImage 0x90c6a000 - 0x90c99fe3 com.apple.AE 402.2 (402.2) /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x90c9a000 - 0x90dfaff3 libSystem.B.dylib ??? (???) <3699b292cde73c2847f87c7e1510d87b> /usr/lib/libSystem.B.dylib 0x90dfb000 - 0x90dfbff8 com.apple.ApplicationServices 34 (34) /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/ApplicationServices 0x91fe9000 - 0x92090feb com.apple.QD 3.11.54 (???) /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/QD.framework/ Versions/A/QD 0x921bc000 - 0x921e0fff libxslt.1.dylib ??? (???) /usr/lib/libxslt.1.dylib 0x921e1000 - 0x9221bfe7 com.apple.coreui 1.2 (62) /System/Library/ PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x9221c000 - 0x92523fff com.apple.HIToolbox 1.5.4 (???) <5e2af960b53059c648af4adb99471032> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/ HIToolbox 0x92524000 - 0x9266aff7 com.apple.ImageIO.framework 2.0.4 (2.0.4) <6a6623d3d1a7292b5c3763dcd108b55f> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO 0x9270f000 - 0x9276cffb libstdc++.6.dylib ??? (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib 0x929d6000 - 0x93072fff com.apple.CoreGraphics 1.351.33 (???) <481a77e81d9e53589a05e80cfa90bbb5> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics 0x93073000 - 0x9307bfff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/ DiskArbitration.framework/Versions/A/DiskArbitration 0x9307c000 - 0x930c5fef com.apple.Metadata 10.5.2 (398.22) /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/Metadata.framework/ Versions/A/Metadata 0x93415000 - 0x93419fff libmathCommon.A.dylib ??? (???) /usr/lib/ system/libmathCommon.A.dylib 0x9341a000 - 0x9341affd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/ Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x9342d000 - 0x93551fe3 com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/ AudioToolbox 0x93589000 - 0x93804fe7 com.apple.Foundation 6.5.6 (677.21) <5cfa0aa8b9b43193955d601ba6c2591a> /System/Library/Frameworks/ Foundation.framework/Versions/C/Foundation 0x93805000 - 0x93823fff libresolv.9.dylib ??? (???) /usr/lib/libresolv.9.dylib 0x93824000 - 0x939f2fff com.apple.security 5.0.4 (34102) <3a178df3d2ee0bb65cdbfe570618acf4> /System/Library/Frameworks/ Security.framework/Versions/A/Security 0x939f3000 - 0x93ad3fff libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib 0x93ca7000 - 0x93d01ff7 com.apple.CoreText 2.0.3 (???) <1f1a97273753e6cfea86c810d6277680> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/ Versions/A/CoreText 0x93d20000 - 0x93da7ff7 libsqlite3.0.dylib ??? (???) <6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib 0x93db2000 - 0x93ee4fff com.apple.CoreFoundation 6.5.4 (476.15) /System/Library/Frameworks/ CoreFoundation.framework/Versions/A/CoreFoundation 0x93ef9000 - 0x93f06fe7 com.apple.opengl 1.5.7 (1.5.7) /System/Library/Frameworks/ OpenGL.framework/Versions/A/OpenGL 0x93f91000 - 0x9432efe7 com.apple.QuartzCore 1.5.5 (1.5.5) <82435993614a3fff1236be18f82188bf> /System/Library/Frameworks/ QuartzCore.framework/Versions/A/QuartzCore 0x9433b000 - 0x9433cffc libffi.dylib ??? (???) <596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib 0x9433d000 - 0x94349ffe libGL.dylib ??? (???) /System/Library/ Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x9434a000 - 0x94360fe7 com.apple.CoreVideo 1.5.1 (1.5.1) <80b173571cdb99a829e1b8ec0a677291> /System/Library/Frameworks/ CoreVideo.framework/Versions/A/CoreVideo 0x94361000 - 0x943f4ff3 com.apple.ApplicationServices.ATS 3.4 (???) /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/ Versions/A/ATS 0x943f5000 - 0x943f5ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Accelerate 0x943f6000 - 0x94425ff7 libncurses.5.4.dylib ??? (???) <00632d5180ac31e2cd437a1ce9d08562> /usr/lib/libncurses.5.4.dylib 0x94450000 - 0x9446fffa libJPEG.dylib ??? (???) /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJPEG.dylib 0x944a5000 - 0x94976f3e libGLProgrammability.dylib ??? (???) /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x94978000 - 0x949b7fef libTIFF.dylib ??? (???) <3589442575ac77746ae99ecf724f5f87> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libTIFF.dylib 0x949b8000 - 0x949b8ffa com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/ CoreServices.framework/Versions/A/CoreServices 0x94a45000 - 0x94a6dfff libcups.2.dylib ??? (???) <1031ca5b692b80a9568e57a342b60157> /usr/lib/libcups.2.dylib 0x94a6e000 - 0x94af8fe3 com.apple.DesktopServices 1.4.7 (1.4.7) /System/Library/PrivateFrameworks/ DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x94af9000 - 0x94b78ff5 com.apple.SearchKit 1.2.1 (1.2.1) <3140a605db2abf56b237fa156a08b28b> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/ Versions/A/SearchKit 0x94bb6000 - 0x94c42ff7 com.apple.LaunchServices 290 (290) <61af37aac50984d220dd176f777e3b72> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/ Versions/A/LaunchServices 0x94c43000 - 0x94c93ff7 com.apple.HIServices 1.7.0 (???) /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices 0x94e46000 - 0x94e46ffc com.apple.audio.units.AudioUnit 1.5 (1.5) / System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x94e47000 - 0x95644fef com.apple.AppKit 6.5.3 (949.34) <4c7af9b12c894d4a528fda29377f143b> /System/Library/Frameworks/ AppKit.framework/Versions/C/AppKit 0x95645000 - 0x956c9fe3 com.apple.CFNetwork 339.5 (339.5) /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/ Versions/A/CFNetwork 0x956ca000 - 0x95701fff com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/ SystemConfiguration.framework/Versions/A/SystemConfiguration 0x95884000 - 0x95886ff5 libRadiance.dylib ??? (???) <8a844202fcd65662bb9ab25f08c45a62> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRadiance.dylib 0x95887000 - 0x95941fe3 com.apple.CoreServices.OSServices 226.5 (226.5) <2a135d4fb16f4954290f7b72b4111aa3> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/OSServices.framework/ Versions/A/OSServices 0x95942000 - 0x95a0dfff com.apple.ColorSync 4.5.1 (4.5.1) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync 0x95abe000 - 0x95ecefef libBLAS.dylib ??? (???) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/A/libBLAS.dylib 0x961f2000 - 0x96230fff libGLImage.dylib ??? (???) /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x96326000 - 0x9633cfff com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/ CoreServices.framework/Versions/A/Frameworks/ DictionaryServices.framework/Versions/A/DictionaryServices 0x9633d000 - 0x9634bffd libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib 0x96426000 - 0x9642dfe9 libgcc_s.1.dylib ??? (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib 0x9642e000 - 0x964abfef libvMisc.dylib ??? (???) /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/A/libvMisc.dylib 0x965ae000 - 0x965aeffb com.apple.installserver.framework 1.0 (8) / System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/ InstallServer 0x965af000 - 0x965afffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Frameworks/vecLib.framework/Versions/A/vecLib 0x965b0000 - 0x965c0ffc com.apple.LangAnalysis 1.6.4 (1.6.4) <8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis 0x9661f000 - 0x966aafff com.apple.framework.IOKit 1.5.1 (???) <324526f69e1443f2f9fb722cc88a23ec> /System/Library/Frameworks/ IOKit.framework/Versions/A/IOKit 0x966b1000 - 0x966dcfe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib 0x9671a000 - 0x9672afff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x9672b000 - 0x967a7feb com.apple.audio.CoreAudio 3.1.0 (3.1) /System/Library/Frameworks/ CoreAudio.framework/Versions/A/CoreAudio 0x967ea000 - 0x96805ffb libPng.dylib ??? (???) <4780e979d35aa5ec2cea22678836cea5> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libPng.dylib 0x96806000 - 0x9680ffff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/ Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/ Versions/A/SpeechRecognition 0x96810000 - 0x968c2ffb libcrypto.0.9.7.dylib ??? (???) <69bc2457aa23f12fa7d052601d48fa29> /usr/lib/libcrypto.0.9.7.dylib 0x968d3000 - 0x96983fff edu.mit.Kerberos 6.0.12 (6.0.12) /System/Library/Frameworks/ Kerberos.framework/Versions/A/Kerberos 0x96984000 - 0x9698bffe libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib 0x96a0d000 - 0x96a3afeb libvDSP.dylib ??? (???) /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/ libvDSP.dylib 0x96a3b000 - 0x96a3ffff libGIF.dylib ??? (???) <572a32e46e33be1ec041c5ef5b0341ae> /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libGIF.dylib 0x9709b000 - 0x97180ff3 com.apple.CoreData 100.1 (186) <8e28162ef2288692615b52acc01f8b54> /System/Library/Frameworks/ CoreData.framework/Versions/A/CoreData 0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/ libobjc.A.dylib 0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/ libSystem.B.dylib In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, NS apple-appkit-949.35) of 2008-12-04 on lawn-128-61-18-142.lawn.gatech.edu Windowing system distributor `Apple', version 97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.51.53 configured using `configure '--with-jpeg=no' '--with-gif=no' '--with- tiff=no' '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: eldoc-mode: t diff-auto-refine-mode: t global-hl-line-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: =2248 M-x s u b m r e p o r t - e m Recent messages: Loading /Users/wfarr/.emacs.d/wfarr/my-tex.el (source)...done Loading /Users/wfarr/.emacs.d/wfarr/modes.el (source)...done Loading /Users/wfarr/.emacs.d/wfarr/theme.el (source)... Loading /Users/wfarr/.emacs.d/vendor/themes/color-theme-example.el (source)...done Loading /Users/wfarr/.emacs.d/vendor/themes/color-theme-library.el (source)...done Loading /Users/wfarr/.emacs.d/vendor/twilight-emacs/color-theme- twilight.el (source)...done Loading /Users/wfarr/.emacs.d/wfarr/theme.el (source)...done Loading /Users/wfarr/.emacs.d/local.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... ------------=_1232702705-27892-3--