Crash when closing document

Lately, I’ve run into a problem where if I have two Scrivener files open and close one of them, after backing up, Scrivener crashes.

Here’s the log report:

----- Console Messages ----- 2015-07-08 16:07:51.769 system_profiler[1293:181333] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0 2015-07-08 16:07:51.771 system_profiler[1293:181333] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0 Jul 8 16:07:52 Percivals-MacBook-Air.local Scrivener[1279] <Error>: The function ‘CGContextErase’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance. 2015-07-08 16:08:53.545 Scrivener[1279:180845] NSSoftLinking - The ShareKit framework's library couldn't be loaded from /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/ShareKit. 2015-07-08 16:09:09.341 Scrivener[1279:180845] Error loading /Users/perry/Library/Contextual Menu Items/iGetterCMPlugIn.plugin/Contents/MacOS/iGetterCMPlugIn: dlopen(/Users/perry/Library/Contextual Menu Items/iGetterCMPlugIn.plugin/Contents/MacOS/iGetterCMPlugIn, 262): Symbol not found: _method_getArgumentInfo Referenced from: /Users/perry/Library/Contextual Menu Items/iGetterCMPlugIn.plugin/Contents/MacOS/iGetterCMPlugIn Expected in: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 2015-07-08 16:09:09.342 Scrivener[1279:180845] Cannot find function pointer iGetterCMPluginFactory for factory 780C03AF-B5CE-11D6-A0A9-0005029E5A27 in CFBundle/CFPlugIn 0xc965b20 </Users/perry/Library/Contextual Menu Items/iGetterCMPlugIn.plugin> (bundle, not loaded) 2015-07-08 16:09:32.973 Scrivener[1279:180845] _DPSDiscardEvents: FlushEventsMatchingListFromQueue returned error (-50) 2015-07-08 16:09:56.162 Scrivener[1279:180845] NSSoftLinking - The ShareKit framework's library couldn't be loaded from /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/ShareKit. 2015-07-08 16:10:00.225 Scrivener[1279:180845] _DPSDiscardEvents: FlushEventsMatchingListFromQueue returned error (-50) 2015-07-08 16:10:37.728 Scrivener[1279:180845] NSSoftLinking - The ShareKit framework's library couldn't be loaded from /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/ShareKit. 2015-07-08 16:10:46.250 Scrivener[1279:180845] _DPSDiscardEvents: FlushEventsMatchingListFromQueue returned error (-50) 2015-07-08 16:10:51.515 Scrivener[1279:180845] _DPSDiscardEvents: FlushEventsMatchingListFromQueue returned error (-50)

Which OS X version are you running?

Got the latest build of Scrivener?

literatureandlatte.com/download_mac.php

I’m running the latest version of Scrivener, 2.6, on OSX 10.10.4.

It looks like you might have some old plug-ins installed on your computer. I’m not sure if that is related to the problem, but these most certainly can cause instability in the software you use. One hint is the reference to “CGContextErase”, something that Scrivener itself doesn’t do, so is likely something else that is running through Scrivener. Likewise you have a contextual menu plug-in from the application iGetter that is causing problems.

Something you can do to confirm this is to reboot the computer in safe mode and run Scrivener alone for a while with nothing else running but Finder. If the problem vanishes then odds are very high it’s some old driver or program you have installed.