From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Guido Van Hoecke <guivho@gmail.com>
Newsgroups: gmane.emacs.help
Subject: Re: Hang on startup on OS X (GUI only)
Date: Sat, 20 Feb 2016 18:02:38 +0100
Message-ID: <CAEySM9EHh4dR00pfeDbvNcMEBwnFLANVvXB9Rb_y7Xh9ozLK7w@mail.gmail.com>
References: <mailman.155.1424033000.31049.help-gnu-emacs@gnu.org>
	<d7f29bd6-9487-447e-8ecf-8afeed052b8f@googlegroups.com>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1455987813 31291 80.91.229.3 (20 Feb 2016 17:03:33 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 20 Feb 2016 17:03:33 +0000 (UTC)
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 20 18:03:26 2016
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1aXAwH-0004A7-OX
	for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Feb 2016 18:03:25 +0100
Original-Received: from localhost ([::1]:34230 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1aXAwH-0005HY-Ac
	for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Feb 2016 12:03:25 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46487)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <guivho@gmail.com>) id 1aXAw4-0005Fb-5u
	for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:03:13 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <guivho@gmail.com>) id 1aXAw2-0007yr-3x
	for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:03:12 -0500
Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:35215)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <guivho@gmail.com>) id 1aXAw1-0007y2-S1
	for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:03:10 -0500
Original-Received: by mail-wm0-x229.google.com with SMTP id c200so116557725wme.0
	for <help-gnu-emacs@gnu.org>; Sat, 20 Feb 2016 09:03:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:cc
	:content-type; bh=yLdIVrKKnsG9syUm4FbRUkmZsp9zCu+OXXZAbLAMeg8=;
	b=QSlGAf6nIVsC13uEGH47dhEsWhqfqNrqR3tHsISdomFYxcLnMC5MQQeejRxrWIn1EP
	eeOeh8bJXW/c5G9VIOJqOP4pwE8ZAfXIt9RKROTBsgxRvpkj8p9sv6ysgN8Zc1uYODAR
	1z+K3Kds0Lv+Ggz8dJOMeArqDbe7TSMNbwMkQfuRpxYynZA4cfgQ/hiGbHgcpda6ycNO
	JNw9O3eb2xmsxd/zfzt0YbbUjvy3poWQ1HGu3NRU+542wGpU2KkxuK3BDobnUQZkabX1
	YZuTijO3sr9NZLotDvcoh72o7lDjn3yLypb3QnrmcPCI5ykRI3kpkcphDx5erPOnz00K
	eXag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:cc:content-type;
	bh=yLdIVrKKnsG9syUm4FbRUkmZsp9zCu+OXXZAbLAMeg8=;
	b=LujjvC/xHPHnLq4pEh2mM8HYIXtD9ieTAm8U9d2NCm+8IsjKDypeL/cAVf5Yg9qSky
	AIN1IoTPR40kl/OC1eqszQOPa/5+W7kMqjK76+wrSPtDmxGMgh5/IIn5SuFO/6G7kHWV
	GELf2EDtgxzykaFRWr1omgTNX+5A5GH8F1exTlC7OlOw+jWKZEuhC9xftqknKgIAn4g6
	+m88V42ohV/7IALsBLoz0PbMFLWBOl4TKaaclVwpH9P9hZmbVp+r8hMpKt+gtNZc3Xb4
	s6V5NayKF7kGvDObkD/AB3o78W5dGBKzuH3rqK4Yjztc43b+paa9vAQYXENOry0NcgEr
	ghlA==
X-Gm-Message-State: AG10YOTeZqM+21DRqsZWxtRNsxN3z3X3JgXtdhQ4oiGgMgnOo7/XGLCrVBJeA+eVWRi6bkI2bEEzKDiZwa6eBA==
X-Received: by 10.194.58.47 with SMTP id n15mr19353980wjq.155.1455987788252;
	Sat, 20 Feb 2016 09:03:08 -0800 (PST)
Original-Received: by 10.194.81.164 with HTTP; Sat, 20 Feb 2016 09:02:38 -0800 (PST)
In-Reply-To: <d7f29bd6-9487-447e-8ecf-8afeed052b8f@googlegroups.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a00:1450:400c:c09::229
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 <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=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:109224
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/109224>

Hi,

Currently using (since November 23, 2015) nightly build
GNU Emacs 25.1.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version
10.9.5 (Build 13F1134))
 of 2015-11-23
obtained from http://emacsformacosx.com/

It never did hang nor crash on me (y)

Kudos to all developers :)

Guido

On 20 February 2016 at 13:45, <enrique.manjavacas@gmail.com> wrote:

> On Sunday, February 15, 2015 at 9:43:22 PM UTC+1, Elliott Slaughter wrote:
> > (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
>
> Just for the record, I was having the same problem, but it seems to have
> gone away compiling the
> patched version in this commit:
>
>
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=0392e241b844487261d4dfcccc9a442793e0a868
>
> This was also meant as a solution for the bug report posted also in this
> conversation by Elliott Slaughter:
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19879
>
> notice that the mentioned patch is for Emacs25
>
> best
>