Bug

*** SCRIVENER ERROR ***

The following error occurred in Scrivener:
-setHasChanges: was called after the final save was performed. Observers should listen out for SCRMainDocumentWillPerformLastSaveBeforeCloseNotification for performing last-minute saves.

Please copy and paste everything in this message and email it to mac.support@literatureandlatte.com so that we can fix the bug.

BACKTRACE:

0 Scrivener 0x0000000101407f2b Scrivener + 102187
1 Scrivener 0x000000010143c699 Scrivener + 317081
2 Scrivener 0x000000010143c88e Scrivener + 317582
3 CoreFoundation 0x00007fff2a3b4f2c CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
4 CoreFoundation 0x00007fff2a3b4dfa _CFXRegistrationPost + 458
5 CoreFoundation 0x00007fff2a3b4b31 ___CFXNotificationPost_block_invoke + 225
6 CoreFoundation 0x00007fff2a3728d0 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1664
7 CoreFoundation 0x00007fff2a371a07 _CFXNotificationPost + 599
8 Foundation 0x00007fff2c4748c7 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
9 AppKit 0x00007fff27d541f4 -[NSApplication _handleActivatedEvent:] + 1595
10 AppKit 0x00007fff280cf236 -[NSApplication(NSEvent) sendEvent:] + 2462
11 Scrivener 0x0000000101463b6f Scrivener + 478063
12 AppKit 0x00007fff2792f8b5 -[NSApplication run] + 812
13 AppKit 0x00007fff278fea72 NSApplicationMain + 804
14 libdyld.dylib 0x00007fff526b5015 start + 1
15 ??? 0x0000000000000002 0x0 + 2

This is some special debugging code included to try to track down a particularly mysterious bug. Thank you for passing it along.

From the user perspective, this message is harmless and can be ignored.

Katherine

I got this today when unsleeping my Mac this morning. I emailed in the report.

FYI, I got this again today, same situation.

FWIW, I recommend shutting Scrivener down entirely if you’re going to be away from the computer for an extended period. There are a number of maintenance tasks that only run if Scrivener actually closes, including (by default) automatic backups.

Katherine