all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: Paul Michael Reilly <pmr@pajato.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs, Mac OS X Yosemite and restarts after sleep
Date: Mon, 24 Nov 2014 09:42:20 +0100	[thread overview]
Message-ID: <5472EF6C.7030301@math.ntnu.no> (raw)
In-Reply-To: <CAGwjgEjbN_5p3DngB3xLO2=HMcBvNP94QBLpP+FTNK67CzW+Yg@mail.gmail.com>

Paul Michael Reilly wrote:
> The final test was to use Emacs 25 built around the time Eric announced
> the git conversion ready for testing. This test also failed. Conclusion:
> Emacs and Yosemite do not play nice together.

That conclusion seems a bit strong: I am running emacs compiled straight 
from the git repo on Yosemity with no problem. But perhaps I just don't 
run into your particular circumstances.

> So I have two questions: 1) would someone with a recent model MacBook
> Pro, running Yosemite and either Emacs 24.4 or 25.0.90 (fullscreen mode)
> please run the experiment and report back your results;

Just to see if I have this straight, the proposed experiment is

1. Start emacs (with or without -Q)
2. Put it in “native” fullscreen mode (using the green button without 
the Alt key)
3. Let the machine sleep for some hours
4. Wake the machine, watch emacs die and take the machine with it

I have two questions.

Is #2 essential? It does not crash if emacs is not in fullscreen mode 
when you put the machine to sleep?

Is #3 essential? A sleep measured in minutes will not trigger the 
problem? If so, debugging will be a drawn-out affair.

I have a macbook air (not pro), and it is not very recent, but I can run 
this experiment anyhow, to see if I can get a crash.

> 2) can someone
> suggest methods I can use to log relevant information on Emacs'
> termination

Have you looked for a crashlog in ~/Library/Logs/DiagnosticReports/?
Other than that, I have no suggestions. You might try running it under 
gdb, in a screen or tmux session with logging turned on. But since the 
machine also crashes, there is a good chance that this happens before 
any writing of log data can happen. But still, you should look in 
/var/log/system.log and see if there is any hint to be had there.

– Harald



  parent reply	other threads:[~2014-11-24  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-23 12:19 Emacs, Mac OS X Yosemite and restarts after sleep Paul Michael Reilly
2014-11-23 16:30 ` Eli Zaretskii
2014-11-24  1:51   ` Paul Michael Reilly
2014-11-24  8:42 ` Harald Hanche-Olsen [this message]
2014-11-24  8:51   ` Paul Michael Reilly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5472EF6C.7030301@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=emacs-devel@gnu.org \
    --cc=pmr@pajato.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.