The Crashers for Copies (or Even Cash!) Thread

Crash after creating comment when Inspector is locked on other editor

Initial state: Editor split vertically; inspector locked on the “alt” view

  1. Modified tool bar (adds and deletes)
  2. Started named snapshot, but cancelled
  3. In primary editor, highlighted word and clicked on comment icon on tool bar (Word appeared to be commented on, but with the Inspector locked on the other editor I saw nothing there)
  4. Unlocked Inspector
  5. In primary editor, single clicked on the highlighted/commented word, and Scrivener crashed with what looks like a null pointer.

Process: Scrivener [13052]
Path: /Applications/Scrivener.app/Contents/MacOS/Scrivener
Identifier: com.literatureandlatte.scrivener2
Version: 2.8 (2.80.3)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: Scrivener [13052]
User ID: 502

Date/Time: 2016-12-04 12:10:03.187 -0500
OS Version: Mac OS X 10.12.1 (16B2555)
Report Version: 12
Anonymous UUID: E9F91EFD-CFE5-4256-D5F6-47A7B3B90485

Sleep/Wake UUID: 76EC249A-1B81-4975-898D-0D5D2265FAA4

Time Awake Since Boot: 2700000 seconds
Time Since Wake: 22000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

VM Regions Near 0:
–>
__TEXT 0000000000001000-0000000000370000 [ 3516K] r-x/rwx SM=COW /Applications/Scrivener.app/Contents/MacOS/Scrivener

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.literatureandlatte.ScrAppKit 0x0057e593 -[KBTextCommentsView selectCommentIndexes:byExtendingSelection:] + 466
1 com.literatureandlatte.ScrAppKit 0x0057ca1d -[KBTextCommentsView goToComment:] + 147
2 com.literatureandlatte.ScrAppKit 0x0057ca72 -[KBTextCommentsView goToComment:expandingIfNecessary:] + 43
3 com.literatureandlatte.scrivener2 0x000a4863 0x1000 + 669795
4 com.literatureandlatte.scrivener2 0x00094047 0x1000 + 602183
5 com.apple.AppKit 0x92ce1db1 -[NSTextView clickedOnLink:atIndex:] + 104
6 com.apple.AppKit 0x929133da -[NSTextView mouseDown:] + 4051
7 com.literatureandlatte.ScrAppKit 0x00547154 -[KBBaseTextView mouseDown:] + 591
8 com.literatureandlatte.scrivener2 0x0018db38 0x1000 + 1624888
9 com.apple.AppKit 0x92dd983f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5864
10 com.apple.AppKit 0x92dd72fb -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 5876
2016-12-04-Scrivener SIGSEGV on comment.txt (62 KB)

Hello, I think my crash pertains to the 2. memory crash.

I had one manuscript open, then opened another from a previous version and it upgraded the document. I closed the upgraded file with the CMD + W shortcut, then the whole application closed. Please see the code below.

I’m using Scrivener 3.01, Mac 10.13.3 Beta (17D25b)

I’ll email you the report. Thanks!

Please note that this thread is seven years and several versions of Scrivener old. Please send an email to our support address if you are experiencing a crash with the current version of Scrivener.

Also, please try to confirm that the crash also occurs with the current release version of Mac OS.

Katherine

Created a new note
Added a new text
Start a bullet list
Hit return
Hit return (so now 2 empty bullets)
Backspace

Mick

Exception Name: NSRangeException

Exception Reason: NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds

0 CoreFoundation 0x00007fff2a81100b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff513edc76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2a8a2c9d +[NSException raise:format:] + 205
3 Foundation 0x00007fff2c88e6ef -[NSRLEArray objectAtIndex:effectiveRange:] + 140
4 Foundation 0x00007fff2c8b2ba2 -[NSAttributedString attribute:atIndex:effectiveRange:] + 33
5 AppKit 0x00007fff28599406 -[NSTextView(NSKeyBindingCommands) _unnestListAtIndex:markerRange:] + 186
6 AppKit 0x00007fff2859a112 -[NSTextView(NSKeyBindingCommands) insertBacktab:] + 624
7 AppKit 0x00007fff27f0a0ff -[NSTextView doCommandBySelector:] + 200
8 AppKit 0x00007fff27f0a013 -[NSTextInputContext(NSInputContext_WithCompletion) doCommandBySelector:completionHandler:] + 118
9 AppKit 0x00007fff27eeb55a -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 2898
10 AppKit 0x00007fff28784523 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke.1109 + 360
11 AppKit 0x00007fff28784352 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3 + 79
12 AppKit 0x00007fff27ef2d95 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 92
13 AppKit 0x00007fff287842d1 __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke.1099 + 251
14 HIToolbox 0x00007fff29ad2b7e __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 70
15 HIToolbox 0x00007fff29ad1a36 ___ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec_block_invoke + 110
16 AppKit 0x00007fff2877cd30 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.320 + 580
17 AppKit 0x00007fff27eec8eb __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 79
18 AppKit 0x00007fff27eec86e -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 92
19 AppKit 0x00007fff27eec3d1 -[NSTextInputContext handleTSMEvent:completionHandler:] + 1722
20 AppKit 0x00007fff27eebca1 _NSTSMEventHandler + 311
21 HIToolbox 0x00007fff29a7b814 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1541
22 HIToolbox 0x00007fff29a7ab5d _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 374
23 HIToolbox 0x00007fff29a7a9d3 SendEventToEventTargetWithOptions + 45
24 HIToolbox 0x00007fff29acec89 SendTSMEvent_WithCompletionHandler + 389
25 HIToolbox 0x00007fff29acf154 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 403
26 HIToolbox 0x00007fff29acefb2 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 219
27 HIToolbox 0x00007fff29acecd8 SendTSMEvent_WithCompletionHandler + 468
28 HIToolbox 0x00007fff29acead7 SendFilterTextEvent_WithCompletionHandler + 233
29 HIToolbox 0x00007fff29ace796 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 290
30 HIToolbox 0x00007fff29ace54a __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 289
31 HIToolbox 0x00007fff29ace3cb __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 405
32 HIToolbox 0x00007fff29ace1b8 TSMKeyEvent_WithCompletionHandler + 636
33 HIToolbox 0x00007fff29acdefc __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 262
34 HIToolbox 0x00007fff29acdd17 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 263
35 HIToolbox 0x00007fff29acda52 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 288
36 HIToolbox 0x00007fff29acd7a8 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 280
37 HIToolbox 0x00007fff29accd9f TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3433
38 AppKit 0x00007fff2878414d __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke.1090 + 115
39 AppKit 0x00007fff2878351b __204-[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]_block_invoke.1016 + 120
40 AppKit 0x00007fff28783384 -[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:] + 255
41 AppKit 0x00007fff28783b91 -[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:] + 1237
42 AppKit 0x00007fff28783211 -[NSTextInputContext _handleEvent:allowingSyntheticEvent:] + 114
43 AppKit 0x00007fff27eea74a -[NSView interpretKeyEvents:] + 209
44 AppKit 0x00007fff27eea56e -[NSTextView keyDown:] + 724
45 AppKit 0x00007fff286a2029 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 5040
46 AppKit 0x00007fff286a085c -[NSWindow(NSEventRouting) sendEvent:] + 497
47 AppKit 0x00007fff28501fa3 -[NSApplication(NSEvent) sendEvent:] + 2751
48 Scrivener 0x000000010c67ef8f Scrivener + 475023
49 AppKit 0x00007fff27d62d9d -[NSApplication run] + 812
50 AppKit 0x00007fff27d31f1a NSApplicationMain + 804
51 libdyld.dylib 0x00007fff51fdd115 start + 1
52 ??? 0x0000000000000001 0x0 + 1

I’m afraid I can’t reproduce this. When I hit return after an empty bullet, the bullet disappears. It looks like an internal Apple code crash from what I can see, though. Is there anything else I can do to see this myself?

All the best,
Keith

Scrivener automatically opens 8 projects consecutively, not because I wanted it to do that but because I was not aware of holding the shift key down, and after opening the files not all are listed on the Project Tabs, Close one of the Project Tabs and the window with the project Tabs will not function, but projects are accessable using the Window Drop Down. Eventually nothing works.

Crash long

Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro14,3
  Processor Name: Intel Core i7
  Processor Speed: 3.1 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 256 KB
  L3 Cache: 8 MB
  Memory: 16 GB
  Boot ROM Version: MBP143.0169.B00
  SMC Version (system): 2.45f0

Crash report sent by version: 966 (966)

Main screen backing scale: 1.000000Process: Scrivener [518]
Path: /Applications/Scrivener.app/Contents/MacOS/Scrivener
Identifier: com.literatureandlatte.scrivener3
Version: 3.0.1 (966)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Scrivener [518]
User ID: 501

Date/Time: 2018-02-28 13:07:55.279 -0500
OS Version: Mac OS X 10.13.3 (17D102)
Report Version: 12
Bridge OS Version: 3.0 (14Y661)
Anonymous UUID: D296AE0D-5F83-2C23-38B6-52055CE25E05

Sleep/Wake UUID: DC79DAAC-20C1-494B-A217-8330CEDC6E44

Time Awake Since Boot: 230000 seconds
Time Since Wake: 10000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘expected no items’
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff2c6a0fcb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff5333ec76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2c6a6d62 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff2e7a5300 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
4 AppKit 0x00007fff2a45c2b5 -[NSWindowStackController _selectedWindow] + 316
5 AppKit 0x00007fff29fea5cd -[NSWindow(NSWindowTabbing) _currentlySelectedTabbedWindow] + 58
6 AppKit 0x00007fff29db0b92 -[NSApplication _bestKeyWindowCandidateOnScreen:] + 279
7 AppKit 0x00007fff2a016eac -[NSApplication _activeDisplayChanged:] + 255
8 CoreFoundation 0x00007fff2c630bbc CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
9 CoreFoundation 0x00007fff2c630aaa _CFXRegistrationPost + 442
10 CoreFoundation 0x00007fff2c6307f2 ___CFXNotificationPost_block_invoke + 50
11 CoreFoundation 0x00007fff2c5ee670 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1664
12 CoreFoundation 0x00007fff2c5ed7a3 _CFXNotificationPost + 595
13 Foundation 0x00007fff2e6d2467 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
14 AppKit 0x00007fff2a5fe588 activeDisplayNotificationHandler + 116
15 SkyLight 0x00007fff4def1163 ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1 + 630
16 SkyLight 0x00007fff4def4f10 _ZN21CGSDatagramReadStream33dispatch_next_main_queue_datagramEv + 270
17 SkyLight 0x00007fff4e137240 ___ZN21CGSDatagramReadStream35dispatch_main_queue_datagrams_asyncEP16dispatch_queue_sPS__block_invoke + 55
18 libdispatch.dylib 0x00007fff53efc591 _dispatch_call_block_and_release + 12
19 libdispatch.dylib 0x00007fff53ef4d50 _dispatch_client_callout + 8
20 libdispatch.dylib 0x00007fff53f0032d _dispatch_main_queue_callback_4CF + 1148
21 CoreFoundation 0x00007fff2c659929 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
22 CoreFoundation 0x00007fff2c61bbea __CFRunLoopRun + 2586
23 CoreFoundation 0x00007fff2c61af43 CFRunLoopRunSpecific + 483
24 HIToolbox 0x00007fff2b932e26 RunCurrentEventLoopInMode + 286
25 HIToolbox 0x00007fff2b932b96 ReceiveNextEventCommon + 613
26 HIToolbox 0x00007fff2b932914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
27 AppKit 0x00007fff29bfdf5f _DPSNextEvent + 2085
28 AppKit 0x00007fff2a393b4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
29 AppKit 0x00007fff29bf2d6d -[NSApplication run] + 764
30 AppKit 0x00007fff29bc1f1a NSApplicationMain + 804
31 libdyld.dylib 0x00007fff53f2e115 start + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff5407de3e __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff541bc150 pthread_kill + 333
2 libsystem_c.dylib 0x00007fff53fda312 abort + 127
3 libc++abi.dylib 0x00007fff51fb5f8f abort_message + 245
4 libc++abi.dylib 0x00007fff51fb612b default_terminate_handler() + 265
5 libobjc.A.dylib 0x00007fff53340ea3 _objc_terminate() + 97
6 libc++abi.dylib 0x00007fff51fd17c9 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff51fd1843 std::terminate() + 51
8 libdispatch.dylib 0x00007fff53ef4d64 _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff53f0032d _dispatch_main_queue_callback_4CF + 1148
10 com.apple.CoreFoundation 0x00007fff2c659929 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
11 com.apple.CoreFoundation 0x00007fff2c61bbea __CFRunLoopRun + 2586
12 com.apple.CoreFoundation 0x00007fff2c61af43 CFRunLoopRunSpecific + 483
13 com.apple.HIToolbox 0x00007fff2b932e26 RunCurrentEventLoopInMode + 286
14 com.apple.HIToolbox 0x00007fff2b932b96 ReceiveNextEventCommon + 613
15 com.apple.HIToolbox 0x00007fff2b932914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
16 com.apple.AppKit 0x00007fff29bfdf5f _DPSNextEvent + 2085
17 com.apple.AppKit 0x00007fff2a393b4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
18 com.apple.AppKit 0x00007fff29bf2d6d -[NSApplication run] + 764
19 com.apple.AppKit 0x00007fff29bc1f1a NSApplicationMain + 804
20 libdyld.dylib 0x00007fff53f2e115 start + 1

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff540747c2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff54073cdc mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2c61c575 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff2c61b8c7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff2c61af43 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff29d3b3c8 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff541b96c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff541b956d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff541b8c5d thread_start + 13

Thread 2:
0 libsystem_kernel.dylib 0x00007fff5407dcee __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff541ba662 _pthread_cond_wait + 732
2 libc++.1.dylib 0x00007fff51f63cb0 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 18
3 com.apple.JavaScriptCore 0x00007fff30159b16 void std::__1::condition_variable_any::wait<std::__1::unique_lockbmalloc::Mutex >(std::__1::unique_lockbmalloc::Mutex&) + 86
4 com.apple.JavaScriptCore 0x00007fff30159a4b bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::)()>::threadRunLoop() + 139
5 com.apple.JavaScriptCore 0x00007fff30159d78 void
std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void ()(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::)()>), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::)()>> >(void) + 40
6 libsystem_pthread.dylib 0x00007fff541b96c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff541b956d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff541b8c5d thread_start + 13

Thread 3:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff540747c2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff54073cdc mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2c61c575 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff2c61b8c7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff2c61af43 CFRunLoopRunSpecific + 483
5 com.apple.CFNetwork 0x00007fff2b793f84 -[__CoreSchedulingSetRunnable runForever] + 722
6 com.apple.Foundation 0x00007fff2e6faee8 NSThread__start + 1197
7 libsystem_pthread.dylib 0x00007fff541b96c1 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff541b956d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff541b8c5d thread_start + 13

Thread 4:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x00007fff540747c2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff54073cdc mach_msg + 60
2 com.apple.QuartzCore 0x00007fff37739ce5 CA::Render::Server::server_thread(void*) + 481
3 com.apple.QuartzCore 0x00007fff37739af6 thread_fun + 25
4 libsystem_pthread.dylib 0x00007fff541b96c1 _pthread_body + 340
5 libsystem_pthread.dylib 0x00007fff541b956d _pthread_start + 377
6 libsystem_pthread.dylib 0x00007fff541b8c5d thread_start + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b926f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b926f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 7:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b906a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 8:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b926f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b926f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 10:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b926f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 11:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b926f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 12:
0 libsystem_kernel.dylib 0x00007fff5407e562 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff541b906a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff541b8c4d start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff8cf87340 rcx: 0x00007ffee131ce88 rdx: 0x0000000000000000
rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffee131cec0 rsp: 0x00007ffee131ce88
r8: 0x00007ffee131cd50 r9: 0x00007ffee131cf20 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000000307 r13: 0x0000000000000030 r14: 0x0000000000000006 r15: 0x000000000000002d
rip: 0x00007fff5407de3e rfl: 0x0000000000000206 cr2: 0x00007fff8cf65148

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 3071
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1149828
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=485.3M resident=0K(0%) swapped_out_or_unallocated=485.3M(100%)
Writable regions: Total=2.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.5G(100%)

                              VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
ATS (font support) 32.3M 10
ATS (font support) (reserved) 4K 2 reserved VM address space (unallocated)
Accelerate framework 4736K 35
Activity Tracing 256K 2
CG backing stores 106.8M 58
CG image 10.6M 597
CG raster data 103.9M 18
CoreAnimation 155.8M 669
CoreGraphics 8K 2
CoreImage 1756K 275
CoreUI image data 6632K 64
CoreUI image file 392K 14
Foundation 57.5M 24
Image IO 165.8M 378
JS JIT generated code 8K 3
JS JIT generated code (reserved) 1.0G 2 reserved VM address space (unallocated)
Kernel Alloc Once 8K 2
MALLOC 966.5M 511
MALLOC guard page 96K 24
Memory Tag 242 12K 2
Memory Tag 251 52K 4
SQLite page cache 64K 2
STACK GUARD 56.0M 14
Stack 14.1M 14
VM_ALLOCATE 968K 170
WebKit Malloc 9248K 9
__DATA 44.6M 384
__FONT_DATA 4K 2
__GLSLBUILTINS 2588K 2
__LINKEDIT 193.6M 25
__TEXT 291.6M 385
__UNICODE 560K 2
libnetwork 128K 9
mapped file 340.8M 624
shared memory 1264K 29
=========== ======= =======
TOTAL 3.5G 4332
TOTAL, minus reserved VM space 2.5G 4332

System Profile:
Network Service: Belkin USB-C LAN, Ethernet, en7
Network Service: Wi-Fi, AirPort, en0
Boot Volume File System Type: apfs
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020
USB Device: USB 3.0 Bus
USB Device: USB2.0 Hub
USB Device: Keyboard Hub
USB Device: USB Optical Mouse
USB Device: Apple Keyboard
USB Device: USB-C Digital AV Multiport Adapter
USB Device: USB2.0 Hub
USB Device: USB-C Digital AV Multiport Adapter
USB Device: iBridge
USB Device: USB3.0 Hub
USB Device: Belkin USB-C LAN
USB Device: USB3.0 Hub
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.1
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.1
Model: MacBookPro14,3, BootROM MBP143.0169.B00, 4 processors, Intel Core i7, 3.1 GHz, 16 GB, SMC 2.45f0
Graphics: Radeon Pro 560, Radeon Pro 560, PCIe, 4 GB
Graphics: Intel HD Graphics 630, Intel HD Graphics 630, Built-In
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x173), Broadcom BCM43xx 1.0 (7.77.37.5.1a3)
Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports

Hi rargen,

Unfortunately there is nothing in the crash log that gives any indication of what is going on. Could you please start a new thread or email us at support if you need help with this? This thread is only for crash reports that contain step-by-step instructions that show us exactly how to reproduce a crash that can always be reproduced. If you can reproduce this crash every time, please provide step-by-step instructions explaining how we can set up Scrivener to see exactly the same thing.

Thanks,
Keith

Dear folks,

been using Scrivener for some ten years now, This is the first real serious Problem I run into.

After installing the new update labeled 3.1 from Appstore, Scrivener consistently crashes on start. (that is clicking the Scrivener Icon in the Dock or in the Applications folder) .

I’ve read the posts reporting problems on opening older projects. My settings usually make Scrivener open the last project I’ve been working on, so this might apply.
Been working in Scrivener 3.0 for a while, which didn’t seem to have any issues. Did some fumbling on color settings, for a more complete dark view, So was happy to see that in 3.1 that wouldn’t be necessary anymore. But… alas…
Could the color-fumblings have caused the hassle?

One way or the other: This is serious shite. Working on a deadline and such… I’m in a pretty crispy situation.
Any hints on workarounds?
Will you give me some nice things and treats now that I finally reported a crash on my favorite software?
Am I going to die (sooner or later)?

All the best from one usually very happy customer.

(Crash report attached)Scrivener crash Report.pdf (122 KB)

https://forum.literatureandlatte.com/t/typewriter-emulator/56/1

:slight_smile:

Mark

Mark
wow, this worked. Thanks a bunch for the hint!

Best,
Oliver

I’m glad you’re up and running - thanks Mark for linking to the relevant thread. We are hugely frustrated with Apple right now. I uploaded the fix for this problem on the 8th November - over two weeks ago. Apple supposedly granted it an “expedited” review, which I requested, explaining that there was a serious issue where some users would experience a crash - but it’s been sitting “in review” ever since, despite several desperate emails from me to them (to which I have received nothing but boilerplate answers, even when asking for a personal, non-boilerplate reply).

I really wish we could withdraw from the Mac App Store and never sell on there again, because Apple just isn’t a reliable sales partner, despite the massive percentage they take; however, we know that our customers want to buy from there and we are committed to making things easy for our customers.

I have tried to do a Snapshot of :

a) the whole project (then read online that was probably better as a backup - done) it’s 118,000 words…
It froze with the swirling circular wait icon and Apple App Force Quit said ‘Scrivener (not responding)’ so I force quit it.

b) a folder with documents within in totaling about 2000 words - exactly the same result

c) so I tried on a single document with about 400words in it - exactly the same result again. 10 minutes and still swirling. and again, and again…

I am:
Using a macbook pro
OS Mojave 10.14.05. (system info attached)

I am not sure how to get a crash report - all I found was the one it wanted to send apple which is 534 pages long. I searched ‘crash report’ in Scrivener thinking it might be internal? but nothing came up. So I have pasted here the first page of the apple report which seems mainly to provide info of my system… Let me know what else I should send please.

Date/Time: 2019-09-12 15:57:10 +1000
End time: 2019-09-12 15:57:14 +1000
OS Version: Mac OS X 10.14.5 (Build 18F132)
Architecture: x86_64h
Report Version: 28

Data Source: Stackshots
Shared Cache: 0x118a1000 54BC3505-F06D-3426-BBFE-4F25315B593F

Command: Scrivener
Path: /Applications/Scrivener.app/Contents/MacOS/Scrivener
Identifier: com.literatureandlatte.scrivener3
Version: 3.1.3 (11945)
Parent: launchd [1]
PID: 8288

Event: hang
Duration: 3.20s (process was unresponsive for 1124 seconds before sampling)
Steps: 32 (100ms sampling interval)

Hardware model: MacBookPro14,2
Active cpus: 4

Time Awake Since Boot: 58000s
Time Since Wake: 16000s

Fan speed: 2593 rpm


Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
My system info.png

Not sure this is the right thread, but…
Scrivener keeps crashing on me when I try to change any of the Appearance preferences. This is new (although I have not used Scrivener very actively for a while… but when I did, before, I don’t remember I was ever able to crash it).

I’m on the latest MacOS, Macbook Pro 2019 (not the M1 kind), Scrivener 3.2.3. If I go to Scrivener → Preferences → Appearance, and try changing anything, the app quits. The new settings are saved though.
I have tested this multiple times, even after restarting the macbook, and it keeps happening. Not super annoying, just thought I’d mention it here.
Thanks for the great program. I sometimes try new things, but keep returning to it for serious writing.

And here is the crash file (super long, sorry).


Process:               Scrivener [27979]
Path:                  /Applications/Scrivener.app/Contents/MacOS/Scrivener
Identifier:            com.literatureandlatte.scrivener3
Version:               3.2.3 (14869)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2021-11-15 10:36:53.3797 +0100
OS Version:            macOS 12.0.1 (21A559)
Report Version:        12
Bridge OS Version:     6.0 (19P548)
Anonymous UUID:        7AFCBD36-A73F-A6D5-7A2E-EDFE0CA31127

Sleep/Wake UUID:       AA1AE01A-CBEC-42C4-9AEC-2F7275889E31

Time Awake Since Boot: 370000 seconds
Time Since Wake:       6709 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000064726f636550
Exception Codes:       0x0000000000000001, 0x000064726f636550
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [27979]

VM Region Info: 0x64726f636550 is not in any region.  Bytes after previous region: 4889004696913  Bytes before following region: 12702805428912
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      MALLOC_NANO              600018000000-600020000000 [128.0M] rw-/rwx SM=PRV  
--->  GAP OF 0xfffe997f000 BYTES
      Stack Guard              70000997f000-700009980000 [    4K] ---/rwx SM=NUL  

Kernel Triage:
VM - Compressor failed a blocking pager_get


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	    0x7ff81403aab8 class_getMethodImplementation + 39
1   Foundation                    	    0x7ff815081981 _NSKVONotifyingOriginalClassForIsa + 21
2   Foundation                    	    0x7ff8150a38cf _NSKeyValueObservationInfoGetObservances + 263
3   Foundation                    	    0x7ff81509c006 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 132
4   AppKit                        	    0x7ff816c6e6fa -[NSController _notifyObserversForKeyPath:change:] + 188
5   AppKit                        	    0x7ff816c9d23a -[NSController observeValueForKeyPath:ofObject:change:context:] + 825
6   Foundation                    	    0x7ff8150a1cfa NSKeyValueNotifyObserver + 306
7   Foundation                    	    0x7ff815165c15 NSKeyValueDidChange + 412
8   Foundation                    	    0x7ff8150948ad -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 740
9   Foundation                    	    0x7ff8150a35dc -[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 998
10  CoreFoundation                	    0x7ff81422d303 -[CFPrefsSource forEachObserver:] + 280
11  CoreFoundation                	    0x7ff814269185 -[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 83
12  CoreFoundation                	    0x7ff814269028 ___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke + 374
13  CoreFoundation                	    0x7ff814268e9e __CFDictionaryApplyFunction_block_invoke + 22
14  CoreFoundation                	    0x7ff81423198e CFBasicHashApply + 110
15  CoreFoundation                	    0x7ff8142246ab CFDictionaryApplyFunction + 131
16  CoreFoundation                	    0x7ff814268e12 _CFPrefsDeliverPendingKVONotificationsGuts + 262
17  CoreFoundation                	    0x7ff8142153e5 -[_CFXPreferences _deliverPendingKVONotifications] + 90
18  CoreFoundation                	    0x7ff814215c61 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 402
19  CoreFoundation                	    0x7ff814370abf -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 372
20  CoreFoundation                	    0x7ff81426d320 -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 96
21  CoreFoundation                	    0x7ff81426d294 _CFPreferencesSetAppValueWithContainerAndConfiguration + 113
22  Foundation                    	    0x7ff8150dee00 -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 73
23  AppKit                        	    0x7ff816f11333 -[NSUserDefaultsController _setSingleValue:forKey:] + 128
24  Foundation                    	    0x7ff8150df9b6 -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 271
25  AppKit                        	    0x7ff816ed0a01 -[NSBinder _setValue:forKeyPath:ofObject:mode:validateImmediately:raisesForNotApplicableKeys:error:] + 445
26  AppKit                        	    0x7ff816ed07f5 -[NSBinder setValue:forBinding:error:] + 238
27  AppKit                        	    0x7ff8174f6120 -[NSValueBinder _applyObjectValue:forBinding:canRecoverFromErrors:handleErrors:typeOfAlert:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:] + 215
28  AppKit                        	    0x7ff8174f6431 -[NSValueBinder applyDisplayedValueHandleErrors:typeOfAlert:canRecoverFromErrors:discardEditingCallback:otherCallback:callbackContextInfo:didRunAlert:error:] + 541
29  AppKit                        	    0x7ff816fd8a0f -[NSValueBinder performAction:] + 268
30  AppKit                        	    0x7ff816fd88af -[_NSBindingAdaptor _objectDidTriggerAction:bindingAdaptor:] + 144
31  AppKit                        	    0x7ff816e954d6 -[NSControl sendAction:to:] + 56
32  AppKit                        	    0x7ff816e95426 __26-[NSCell _sendActionFrom:]_block_invoke + 131
33  AppKit                        	    0x7ff816e9532f -[NSCell _sendActionFrom:] + 171
34  AppKit                        	    0x7ff816e95276 -[NSButtonCell _sendActionFrom:] + 96
35  AppKit                        	    0x7ff816e920e4 NSControlTrackMouse + 1817
36  AppKit                        	    0x7ff816e919a7 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 121
37  AppKit                        	    0x7ff816e9187a -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 679
38  AppKit                        	    0x7ff816e90c48 -[NSControl mouseDown:] + 678
39  AppKit                        	    0x7ff816e8f127 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4949
40  AppKit                        	    0x7ff816e030a4 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2582
41  AppKit                        	    0x7ff816e0246e -[NSWindow(NSEventRouting) sendEvent:] + 352
42  AppKit                        	    0x7ff816e0083c -[NSApplication(NSEvent) sendEvent:] + 352
43  Scrivener                     	       0x10196d873 0x1018f4000 + 497779
44  AppKit                        	    0x7ff8170b980b -[NSApplication _handleEvent:] + 65
45  AppKit                        	    0x7ff816c8137e -[NSApplication run] + 623
46  AppKit                        	    0x7ff816c551f8 NSApplicationMain + 816
47  dyld                          	       0x1031284fe start + 462

Thread 1:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff814163aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff814163e2b mach_msg + 59
2   CoreFoundation                	    0x7ff814267a42 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff81426611b __CFRunLoopRun + 1325
4   CoreFoundation                	    0x7ff81426552d CFRunLoopRunSpecific + 563
5   AppKit                        	    0x7ff816dfecec _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff8141a0514 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff81419c02f thread_start + 15

Thread 2:: JavaScriptCore bmalloc scavenger
0   libsystem_kernel.dylib        	    0x7ff814166506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8141a0a89 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7ff8140ffec2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   JavaScriptCore                	    0x7ff82d8a1915 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 85
4   JavaScriptCore                	    0x7ff82d8a60bb bmalloc::Scavenger::threadRunLoop() + 443
5   JavaScriptCore                	    0x7ff82d8a5be9 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
6   JavaScriptCore                	    0x7ff82d8a7297 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39
7   libsystem_pthread.dylib       	    0x7ff8141a0514 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff81419c02f thread_start + 15

Thread 3:: LocalStorage
0   libsystem_kernel.dylib        	    0x7ff814166506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8141a0a89 _pthread_cond_wait + 1224
2   JavaScriptCore                	    0x7ff82d826708 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3784
3   WebKitLegacy                  	    0x7ff82aacbb6a bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 154
4   WebKitLegacy                  	    0x7ff82aacf36b WebCore::StorageThread::threadEntryPoint() + 267
5   JavaScriptCore                	    0x7ff82d84825a WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 154
6   JavaScriptCore                	    0x7ff82c6dc5f9 WTF::wtfThreadEntryPoint(void*) + 9
7   libsystem_pthread.dylib       	    0x7ff8141a0514 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff81419c02f thread_start + 15

Thread 4:
0   libsystem_pthread.dylib       	    0x7ff81419c00c start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib       	    0x7ff81419c00c start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib       	    0x7ff81419c00c start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	    0x7ff81419c00c start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007ffffffffff8  rbx: 0x000064726f636550  rcx: 0x00000000000003ab  rdx: 0x000000000000040b
  rdi: 0x000064726f636550  rsi: 0x00007ff82e939916  rbp: 0x00007ff7be6048e0  rsp: 0x00007ff7be6048d0
   r8: 0x000000000000040a   r9: 0x0000000000000001  r10: 0x00007ff85583d420  r11: 0x00007ff8150a838f
  r12: 0x00007ff85583b260  r13: 0x00000000000007b5  r14: 0x00007ff82e939916  r15: 0x0000600000a50a80
  rip: 0x00007ff81403aab8  rfl: 0x0000000000010202  cr2: 0x000064726f636550
  
Logical CPU:     0
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  48 8d 0d a1 53 95 41 48-8b 04 c1 48 8d 0d 6e 52  H...S.AH...H..nR
  95 41 48 39 c8 74 01 c3-48 d1 ef 81 e7 f8 07 00  .AH9.t..H.......
  00 48 8d 05 00 54 95 41-48 8b 04 38 c3 90 90 90  .H...T.AH..8....
  90 90 90 90 90 90 90 90-90 55 48 89 e5 41 56 53  .........UH..AVS
  31 c0 48 85 ff 0f 84 81-00 00 00 49 89 f6 48 85  1.H........I..H.
  f6 74 79 48 89 fb 48 b8-f8 ff ff ff ff 7f 00 00  .tyH..H.........
 [48]8b 0f 48 8d 51 ff 48-83 fa 0f 72 0e 48 8b 53  H..H.Q.H...r.H.S	<==
  20 48 21 c2 8b 12 f6 c2-01 75 09 48 21 c1 48 23   H!......u.H!.H#
  41 20 8b 10 0f ba e2 1d-73 24 48 89 df 4c 89 f6  A ......s$H..L..
  31 d2 e8 c1 94 ff ff 48-85 c0 74 12 48 89 c1 31  1......H..t.H..1
  c0 48 3b 0d d8 92 e6 3f-48 0f 45 c1 eb 12 31 ff  .H;....?H.E...1.
  4c 89 f6 48 89 da b9 07-00 00 00 e8 76 a6 ff ff  L..H........v...

Binary Images:
    0x7ff81402e000 -     0x7ff814067fff libobjc.A.dylib (*) <7cfcdc89-2bee-3784-b7af-c676f60fe211> /usr/lib/libobjc.A.dylib
    0x7ff81506d000 -     0x7ff815427fff com.apple.Foundation (6.9) <d7fd0214-4bbb-3d84-88f7-820b25a6e16c> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff816c52000 -     0x7ff817adefff com.apple.AppKit (6.9) <dd0028a3-78e3-3a8a-a51b-ddd68123adef> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff8141e7000 -     0x7ff8146e9fff com.apple.CoreFoundation (6.9) <3002b545-6841-3fc8-91a2-bcfbe5872465> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1018f4000 -        0x101fbbfff com.literatureandlatte.scrivener3 (3.2.3) <4d73a080-c090-300a-ae27-7855626ae596> /Applications/Scrivener.app/Contents/MacOS/Scrivener
       0x103123000 -        0x10318efff dyld (*) <1a6ae033-9438-33c0-8077-988fd885250a> /usr/lib/dyld
    0x7ff814163000 -     0x7ff814199fff libsystem_kernel.dylib (*) <12bd6f13-c452-35ee-9069-51befef29f1a> /usr/lib/system/libsystem_kernel.dylib
    0x7ff81419a000 -     0x7ff8141a5fff libsystem_pthread.dylib (*) <29a2750e-f31b-3630-8761-242a6bc3e99e> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8140f4000 -     0x7ff81414cfff libc++.1.dylib (*) <91a6d960-2646-34e2-a81e-4e34e3697a92> /usr/lib/libc++.1.dylib
    0x7ff82c6d7000 -     0x7ff82d9d6fff com.apple.JavaScriptCore (17612) <17bfb8cd-a223-3b05-b5df-1577837316bc> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x7ff82aa50000 -     0x7ff82ac2bfff com.apple.WebKitLegacy (17612) <efcc6639-dc04-304c-b12f-cf45705c2dd5> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework              3584K       28 
Activity Tracing                   256K        1 
CG backing stores                 2160K        4 
CG image                          16.6M      355 
CG raster data                    5880K       16 
ColorSync                          248K       30 
CoreAnimation                    306.3M      954 
CoreGraphics                        12K        2 
CoreImage                           72K       10 
CoreUI image data                 6188K       52 
Foundation                          48K        2 
Image IO                          3976K       10 
JS VM Isolated Heap                548K       19 
Kernel Alloc Once                    8K        1 
MALLOC                           791.2M      341 
MALLOC guard page                   48K       12 
SQLite page cache                  192K        3 
STACK GUARD                       56.0M        8 
Stack                             11.6M        8 
VM_ALLOCATE                        244K       50 
WebKit Malloc                     9364K       15 
__DATA                            30.7M      523 
__DATA_CONST                      29.4M      346 
__DATA_DIRTY                      1597K      215 
__FONT_DATA                          4K        1 
__LINKEDIT                       638.0M       18 
__OBJC_RO                         81.5M        1 
__OBJC_RW                         3120K        2 
__TEXT                           487.6M      542 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
libnetwork                         640K       16 
mapped file                        1.0G      311 
shared memory                      792K       20 
===========                     =======  ======= 
TOTAL                              3.5G     3918 

I’ve got the same type of crash as @atiz - althoug not while changing any preferences, but when waking from sleep. Happens constantly, sometimes several times a day. No work is lost, so no big worry, but an annoyance nontheless. Any clues? Thanks for your ideas and happy writing between the holidays! (if the family lets you).

Best, JS

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro16,2
  Processor Name: Quad-Core Intel Core i5
  Processor Speed: 2 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 512 KB
  L3 Cache: 6 MB
  Hyper-Threading Technology: Enabled
  Memory: 16 GB
  System Firmware Version: 1715.60.5.0.0 (iBridge: 19.16.10647.0.0,0)

Crash report sent by version: 14869 (14869)

Main screen backing scale: 2.000000Process: Scrivener [1308]
Path: /Applications/Scrivener.app/Contents/MacOS/Scrivener
Identifier: com.literatureandlatte.scrivener3
Version: 3.2.3 (14869)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Scrivener [1308]
User ID: 501

Date/Time: 2021-12-26 16:58:44.341 +0100
OS Version: macOS 11.6.2 (20G314)
Report Version: 12
Bridge OS Version: 6.1 (19P647)
Anonymous UUID: BDACE125-938B-658B-3402-FB5AD0F632EA

Sleep/Wake UUID: C56D02DC-EC22-4E7D-B2D0-64B4C729A5C4

Time Awake Since Boot: 33000 seconds
Time Since Wake: 9 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000001c
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [1308]

VM Regions Near 0x1c:

__TEXT 10870a000-108dd2000 [ 6944K] r-x/r-x SM=COW /Applications/Scrivener.app/Contents/MacOS/Scrivener

This thread is not intended for routine support requests. Please open a support ticket, or post a separate thread elsewhere in the forums.

See the first post in the thread for detailed instructions on how to claim a free copy.

Hey, I’m not sure if this one has been reported but I sent a few crash reports in the past few days. I just updated my ios to Big Sur, so I might be late to this party.
Anyway…

  1. I have my main document open (it is quite large)
  2. I open a second document, edit etc.
  3. Close the second document but keep the first one open (to return to later).
  4. Working on something else in another app (or web browser, today it was specifically Firefox)
  5. Scrivener crashes in the background
    Just as a note: this did not happen before I updated my operating system. I was using Mojave prior to updating to Big Sur, so it is a big leap.

Big Sur (ver 11.x) is well out of date. And you don’t mention what version of Scrivener you have and if it is advertised to be compatible with your version of macOS. Where did you submit the crash report to (Apple or to Literature and Latte)–if to Apple, they don’t seem to pay much attention and and they never (far as I know) get back to users. Finally, you’ve tacked on to a very old and long thread which may or may not be relevant to your issue–best to start a new thread with a bit more relevant information.

1 Like

Beat me to it! (blah, blah, blah to 20!)

:smile:

Mark

1 Like

This took me a bit to isolate.
The latest version 3.3.1 will crash as a first install on modern systems (Catalina & up) due to a small signing error. Only Signet from Eclectic Light Company was able to isolate the issue. Find it on this page: . Taccy, Signet, Precize, Alifix, UTIutility, Sparsity, alisma
The result is:

Code signature scan of all bundles in the folder /Applications/Scrivener.app:

/Applications/Scrivener.app/Contents/Resources/make-epub error -67056 code has no resources but signature indicates they must be present

Found 1 bundle signing errors out of 13 scanned in /Applications/Scrivener.ap
````Preformatted text`
Workaround is to install an older version like 3..2.2 and the run the update. It will be accepted by "provenance."

Mac Sonoma 14.4.1
Scrivener 3.3.6

I’m typing in a text doc. Poof, it goes away. Data is not lost, but a restart is needed. That’s probably not helpful but , this has happend 4-5 times in the last week. I’ve rebooted the system a couple of times in between. I’ve also saved the entire crash report, if that would help, but maybe this is enough?:


Translated Report (Full Report Below)

Process: Scrivener [66590]
Path: /Applications/Scrivener.app/Contents/MacOS/Scrivener
Identifier: com.literatureandlatte.scrivener3
Version: 3.3.6 (16305)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-04-06 17:19:06.8893 -0400
OS Version: macOS 14.4.1 (23E224)
Report Version: 12
Anonymous UUID: D1DD2943-8DA5-D6C8-4A13-3C04BADB1A9A

Sleep/Wake UUID: EB25B478-6D40-4B35-A73E-4630A3DE6283

Time Awake Since Boot: 180000 seconds
Time Since Wake: 1815 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000006d10
Exception Codes: 0x0000000000000001, 0x0000000000006d10

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [66590]