From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elliott Slaughter Newsgroups: gmane.emacs.help Subject: Hang on startup on OS X (GUI only) Date: Sun, 15 Feb 2015 11:28:26 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1424033011 5726 80.91.229.3 (15 Feb 2015 20:43:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Feb 2015 20:43:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 15 21:43:30 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YN62M-0002cW-KX for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 21:43:30 +0100 Original-Received: from localhost ([::1]:36576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN62M-0001wP-6y for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 15:43:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN4ro-0004Mu-AU for help-gnu-emacs@gnu.org; Sun, 15 Feb 2015 14:28:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN4rj-0001y5-6h for help-gnu-emacs@gnu.org; Sun, 15 Feb 2015 14:28:32 -0500 Original-Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]:35626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN4ri-0001xr-Vj for help-gnu-emacs@gnu.org; Sun, 15 Feb 2015 14:28:27 -0500 Original-Received: by mail-ig0-f175.google.com with SMTP id hn18so19885224igb.2 for ; Sun, 15 Feb 2015 11:28:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9gyjgNsuTli28I+vOais322srtrz9QzuiNyWNA8n6oA=; b=U+LLsk5+eAz0eqJV+PMi5PbSJrjDmMsx1CAQz6Rcf5jFU23H/lj6gvc9uxQlnBQVrS 0crx5cnX9rOKNHAta8g9YIApL1GWaNeGRNbJ3Cq0hJNGRU1rTuNrDAWhxLlfqSn7SNqb XGQbUu1YJLga8Kth/kNiBfAJXdSMlJxmEbp+5wNDlJKtNOPfiVicLHLTxo5DmUjNXSUb 2AwLJ6mcDchZvjT5J+5Vn1hKCvax7URKn3k8ekCaI70/GHhc8ZMzmIUXuVJlJQdQaOA1 ZNZEeBAonOvrKjofewy92uundxleRrcOJ9tBUZ6ZMuDwJ52Ys9dnlQH5ZCGuL97IbDel SsWQ== X-Received: by 10.107.164.221 with SMTP id d90mr26050253ioj.13.1424028506148; Sun, 15 Feb 2015 11:28:26 -0800 (PST) Original-Received: by 10.64.126.166 with HTTP; Sun, 15 Feb 2015 11:28:26 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22f X-Mailman-Approved-At: Sun, 15 Feb 2015 15:43:19 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102735 Archived-At: (If there is a better place to direct this (e.g. a bug tracker) please let me know.) Emacs often hangs on startup on Mac OS X. The hangs are non-deterministic but frequent (25-50% of runs), consume 100% of CPU, and only happen when starting Emacs.app with the GUI enabled, never when running in text mode on the command-line. I have reproduced the hangs with an empty .emacs file and after having completely removed .emacs.d. I am using Emacs 24.4 from http://emacsformacosx.com/ , but notably, this bug has been reported multiple times by users of Homebrew (who either compile from source or download a binary from Homebrew's own servers): https://github.com/Homebrew/homebrew/issues/36737 https://github.com/Homebrew/homebrew/issues/25003 I have attached the start of a log from Mac OS X's built-in crash reporter. I can provide the rest of the report as well, if that would be helpful. (It contains various stack traces sampled from the unresponsive process.) Note that while the trace below says that I've installed Emacs from homebrew, this is the cask version, which is just a proxy for the emacsformacosx.com version, which is not the same as the Homebrew proper version (which was the focus of the bug reports above), which is compiled from source. Thanks in advance! =========== Date/Time: 2015-02-15 11:08:40 -0800 OS Version: 10.10.2 (Build 14C109) Architecture: x86_64 Report Version: 21 Command: Emacs-x86_64-10_9 Path: /opt/homebrew-cask/*/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9 Version: ??? (???) Parent: launchd [1] PID: 39366 Event: hang Duration: 4.00s (process was unresponsive for 176 seconds before sampling) Steps: 41 (100ms sampling interval) Hardware model: MacBookPro8,2 Active cpus: 8 Fan speed: 4362 rpm [... file continues for about 1 MB of text ...] -- Elliott Slaughter "Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay