Scrivener may cause MacOS crash when awaking

Scrivener 2 may cause MacOS Sierra crash when awaking from sleep. It happens in MacOS Sierra and MacOS High Sierra. I’m using MacBook Pro 15’ Retina.
It means that the user should quit Scrivener 2 before close the lid of the MacBook pro. Otherwise, all the applications need to be reopened when logging in the next time.
I don’t know how to retrieve the full crash report of MacOS (not Scrivener). I will provide more details when it crashes next time.

My 13" rMBA (mid-2015) regularly crashes on wake-up from sleep, under 10.12 and 10.13, even when Scrivener is not running. I think it’s a MacOS problem, not a Scrivener problem.

Mark

That was my experience with as well with a MacBook 12" Retina and 2011 iMac.

I quitted Scrivener before sleeping my MacBook pro and then waked it up one hour later. Everything is fine without any crash.
I’ll test my device sleeping and awaking without running Scrivener for longer time in the following seven days to confirm this issue.

In terms of your rMBA, the crash might be caused by Scrivener and/or any other problematic applications running in the memory. You should check this out carefully.

My 2013 13” rMBP doesn’t crash on wakeup, with or without Scrivener running. Neither does my 2015 12” rMB. It’s more likely related to some app running in the background.

My MBA never crashed on wake-up from sleep; this rMBP running exactly the same start-up apps does so on a regular basis. So I don’t believe it’s anything to do with the start-up apps. I think it is worse if I put it to sleep by closing the lid/screen, but that’s only an impression. In consequence, I generally shut down if I have to leave it for a while. And it does it when I haven’t even run Scrivener during a session.

Mark

It’s the second time test, where I quitted Scrivener before let my device slept. And the wake-up is normal, no crash being found.

I run Safari, Calendar, Keynotes, Papers 3, and Preview when testing it.

I will try it again tomorrow.

… and on top of that a number of others as well, only seen as icons in the menu bar?

I know there are some applications running on the background, but so far they haven’t made the MacOS crash. If the crash can be attributed to those applications running on the background, MacOS should crash even if Scrivener is not running. But now it’s not the case. That’s the point.

The problem is, when Scrivener is running together with other applications (those on the dock, and those on the background), MacOS crashes. So, what do you think? Is it the problem of those applications running on the dock and background, or just Scrivener?

Apply some logic.
If it was Scrivener in general, such crashes would be extremely common, and then L&L would drown in crash reports and angry posts from thousands of users. If it instead is an unusual event, then it more logically has to do with the actual setup and combination of apps running on the few Macs on which these crashes occur. Right?

The reason why no body reported this issue is quite simple: it’s difficult for users to link MacOS crash with Scrivener, especially when the crash is on the macOS rather than Scrivener itself and it occurred when macOS is awaking, not when Scrivener is working.
Anyway, we should be very careful on this issue and we need solid evidence to prove this suspicion.
I will continue this test today and provide relevant evidence if available.

Such testing may prove that the way your system is set up causes crashes, not that it’s a general problem. My three Macs don’t crash on wake from sleep, with or without Scrivener, but they all have roughly the same setup in terms of apps running, notifications, backups, etc.

And I have just had my rMBA crash during sleep when all it had been doing was copying files from one external drive to another, with only the log-in items Dropbox, Sync, iTunes helper, ClamXAV Sentry, iTranslate, Battery Health, 1Password Mini and Spamsieve running, with the latest TechTool Pro and Tuxera NTFS .kexts running. No other apps, and I haven’t been near Scrivener today.

My MBA never crashed following sleep with those same autoload apps plus some others, and my 17" MBP with the same autoload has never crashed following sleep with both of them used frequently for long Scrivener sessions!

Scrivener has nothing to do with it on my rMBA, and as Lunk says, if it was a Scrivener bug, Literature & Latte would have been swamped with complaints. I’ve been using Scrivener for over 10 years and Macs for nearly 30 and this is the first machine I’ve encountered this on. As soon as I have the time, I’m going to get Apple to check it over as it must be something to do with the computer.

Mark

The fact is that if I quit Scrivener and leave my device sleep, everything is fine when it wakes up. And I will do more tests to confirm this.

The fact is that when I quit Scrivener, the system wakes up normally without any crash. Since I’m using Papers 3 together with Scrivener 2, I’m not entirely sure about whether certain combination of applications running may lead to this crash.

I will do more comparison/tests to confirm the direct cause for this type of crash.

Today’s report (2017-10-01):
No Scrivener
Safari + Calendar + Keynotes + Papers 3 + Preview + Atom
Everything is fine when MacOS wakes up from sleep.

If it had been my computer I would look at everything running and any other things that might affect it, like kind of HD, any external drives, anything else connected, and so on.

Your_liang,

What would be interesting would be to restart your computer and boot into Safe Mode (no background apps running).* Wait until your mac is really all the way up including Finder. Then try sleeping and waking your mac under these four conditions: with nothing running, with Scriv running w/ no project open, with Scriv running with your must active project open, with Scriv running with only some other project open.

These tests would help zero in on how Scriv might be involved in the trouble you are having. Basically, we would be finding out if having Sciv open with nothing else happening can induce to problem. We might also find if the problem is project-specific. Let us know how these tests go.

gr

yes, I will try that.

yesterday, I left Scrivener before macOS slept, and today the system crashes when it wakes up.
The applications on the dock: Safari + Calendar + Keynotes + Preview + Scrivener