Scrivener Crashes After A Few Typed Sentences. Over and Over Again.

Hi, my current project started crashing and it won’t stop. It lets me open it and as long as I don’t type anything it seems to keep going, but then type anything and it shuts down. Sometimes just one character will do it. It doesn’t seem to happen with any other Scrivener files, just my novel. The computer that it’s running on is old, I inherited it from a relative with Scrivener 2.2 already on it. It didn’t like the newer OSX versions so I downgraded it back to El Captain. I found references to a different shutdown problem (scrivener.tenderapp.com/help/kb … -os-x-1011) with El Captain and I tried its fix even though it wasn’t the same. It didn’t help. If it is some bad file I put in my Scrivener project I have no idea how to isolate it, I put lots of files in there. I’m willing to buy the new version of Scrivener 3 if that’s necessary but I like version 2 and don’t really want to learn a whole new thing. Can anyone help?

The crash report is too long to post so I cut out the big long part in the middle under the ‘Binary Images’ title, I had to guess what to send. If you need that part I’ll post it separately. Thanks in advance for any help, Freja

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

Date/Time: 2018-10-19 14:51:31.871 -0400
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: 9DB19D33-5525-1295-E1F0-145D06AEB0F1

Time Awake Since Boot: 63000 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 0x00000000ffffffff
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0xffffffff:
–> shared memory 00000000ffffa000-00000000ffffb000 [ 4K] r-x/r-x SM=SHM

Application Specific Information:
objc_msgSend() selector name: count

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x98a24cb3 objc_msgSend + 35
1 com.apple.AppKit 0x9dc1a6cf -[NSTextView _handleTextCheckingResults:sequenceNumber:forRange:types:options:orthography:wordCount:applyNow:checkSynchronously:] + 605
2 com.apple.AppKit 0x9d73f4b2 __45-[NSTextView checkTextInRange:types:options:]_block_invoke_2 + 172
3 com.apple.CoreFoundation 0x9373ada0 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 16
4 com.apple.CoreFoundation 0x93718873 __CFRunLoopDoBlocks + 195
5 com.apple.CoreFoundation 0x93718475 __CFRunLoopRun + 2197
6 com.apple.CoreFoundation 0x93717976 CFRunLoopRunSpecific + 390
7 com.apple.CoreFoundation 0x937177db CFRunLoopRunInMode + 123
8 com.apple.HIToolbox 0x9a91b2f1 RunCurrentEventLoopInMode + 267
9 com.apple.HIToolbox 0x9a91b0f3 ReceiveNextEventCommon + 503
10 com.apple.HIToolbox 0x9a91aeec _BlockUntilNextEventMatchingListInModeWithFilter + 99
11 com.apple.AppKit 0x9d43e2e2 _DPSNextEvent + 1053
12 com.apple.AppKit 0x9d43d85b -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1057
13 com.apple.AppKit 0x9d43d432 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 121
14 com.apple.AppKit 0x9d430b47 -[NSApplication run] + 1063
15 com.apple.AppKit 0x9d3f7469 NSApplicationMain + 1630
16 com.literatureandlatte.scrivener2 0x000026c9 _start + 208
17 com.literatureandlatte.scrivener2 0x000025f8 start + 40

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x924c77fa kevent_qos + 10
1 libdispatch.dylib 0x917fd7ea _dispatch_mgr_invoke + 234
2 libdispatch.dylib 0x917fd3be _dispatch_mgr_thread + 52

Thread 2:: CVDisplayLink
0 libsystem_kernel.dylib 0x924c63ea __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x99a5d5a7 _pthread_cond_wait + 868
2 libsystem_pthread.dylib 0x99a5e8b1 pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreVideo 0x95ed5b9d CVDisplayLink::waitUntil(unsigned long long) + 285
4 com.apple.CoreVideo 0x95ed5910 CVDisplayLink::runIOThread() + 678
5 com.apple.CoreVideo 0x95ed52bb startIOThread(void*) + 159
6 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
7 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
8 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 3:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x924bf49a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x924be884 mach_msg + 68
2 com.apple.CoreFoundation 0x93718dc6 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x937181d1 __CFRunLoopRun + 1521
4 com.apple.CoreFoundation 0x93717976 CFRunLoopRunSpecific + 390
5 com.apple.CoreFoundation 0x937177db CFRunLoopRunInMode + 123
6 com.apple.AppKit 0x9d5a5dde _NSEventThread + 291
7 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
8 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
9 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 4:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x924bf49a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x924be884 mach_msg + 68
2 com.apple.CoreFoundation 0x93718dc6 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x937181d1 __CFRunLoopRun + 1521
4 com.apple.CoreFoundation 0x93717976 CFRunLoopRunSpecific + 390
5 com.apple.CoreFoundation 0x937177db CFRunLoopRunInMode + 123
6 com.apple.CFNetwork 0x9182a8b3 +[NSURLConnection(Loader) _resourceLoadLoop:] + 717
7 com.apple.Foundation 0x9e10a7a7 -[NSThread main] + 45
8 com.apple.Foundation 0x9e10a532 NSThread__start + 1550
9 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
10 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
11 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 5:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x924c63ea __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x99a5d538 _pthread_cond_wait + 757
2 libsystem_pthread.dylib 0x99a5f276 pthread_cond_wait$UNIX2003 + 71
3 libc++.1.dylib 0x9b858793 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 63
4 com.apple.JavaScriptCore 0x99fdd9fc JSC::GCThread::waitForNextPhase() + 172
5 com.apple.JavaScriptCore 0x99fdd838 JSC::GCThread::gcThreadMain() + 72
6 com.apple.JavaScriptCore 0x9a55abd2 std::__1::__function::__func<WTF::createThread(void ()(void), void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void ()(void), void*, char const*)::$_0>, void ()>::operator()() + 18
7 com.apple.JavaScriptCore 0x99fd22fd WTF::threadEntryPoint(void*) + 173
8 com.apple.JavaScriptCore 0x99fd2230 WTF::wtfThreadEntryPoint(void*) + 16
9 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
10 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
11 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 6:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x924c63ea __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x99a5d538 _pthread_cond_wait + 757
2 libsystem_pthread.dylib 0x99a5f276 pthread_cond_wait$UNIX2003 + 71
3 libc++.1.dylib 0x9b858793 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 63
4 com.apple.JavaScriptCore 0x99fdd9fc JSC::GCThread::waitForNextPhase() + 172
5 com.apple.JavaScriptCore 0x99fdd838 JSC::GCThread::gcThreadMain() + 72
6 com.apple.JavaScriptCore 0x9a55abd2 std::__1::__function::__func<WTF::createThread(void ()(void), void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void ()(void), void*, char const*)::$_0>, void ()>::operator()() + 18
7 com.apple.JavaScriptCore 0x99fd22fd WTF::threadEntryPoint(void*) + 173
8 com.apple.JavaScriptCore 0x99fd2230 WTF::wtfThreadEntryPoint(void*) + 16
9 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
10 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
11 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 7:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x924c63ea __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x99a5d538 _pthread_cond_wait + 757
2 libsystem_pthread.dylib 0x99a5f276 pthread_cond_wait$UNIX2003 + 71
3 libc++.1.dylib 0x9b858793 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 63
4 com.apple.JavaScriptCore 0x99fdd9fc JSC::GCThread::waitForNextPhase() + 172
5 com.apple.JavaScriptCore 0x99fdd838 JSC::GCThread::gcThreadMain() + 72
6 com.apple.JavaScriptCore 0x9a55abd2 std::__1::__function::__func<WTF::createThread(void ()(void), void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void ()(void), void*, char const*)::$_0>, void ()>::operator()() + 18
7 com.apple.JavaScriptCore 0x99fd22fd WTF::threadEntryPoint(void*) + 173
8 com.apple.JavaScriptCore 0x99fd2230 WTF::wtfThreadEntryPoint(void*) + 16
9 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
10 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
11 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 8:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x924c6726 __select + 10
1 com.apple.CoreFoundation 0x9375a010 __CFSocketManager + 912
2 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
3 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
4 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 9:: WebCore: LocalStorage
0 libsystem_kernel.dylib 0x924c63ea __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x99a5d538 _pthread_cond_wait + 757
2 libsystem_pthread.dylib 0x99a5f276 pthread_cond_wait$UNIX2003 + 71
3 com.apple.JavaScriptCore 0x99fdd6c5 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 69
4 com.apple.WebKitLegacy 0x9279d3b7 std::__1::unique_ptr<std::__1::function<void ()>, std::__1::default_delete<std::__1::function<void ()> > > WTF::MessageQueue<std::__1::function<void ()> >::waitForMessageFilteredWithTimeout<WTF::MessageQueue<std::__1::function<void ()> >::waitForMessage()::‘lambda’(std::__1::function<void ()> const&)>(WTF::MessageQueueWaitResult&, WTF::MessageQueue<std::__1::function<void ()> >::waitForMessage()::‘lambda’(std::__1::function<void ()> const&)&&, double) + 71
5 com.apple.WebKitLegacy 0x9279cb0d WebCore::StorageThread::threadEntryPoint() + 205
6 com.apple.JavaScriptCore 0x9a55abd2 std::__1::__function::__func<WTF::createThread(void ()(void), void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void ()(void), void*, char const*)::$_0>, void ()>::operator()() + 18
7 com.apple.JavaScriptCore 0x99fd22fd WTF::threadEntryPoint(void*) + 173
8 com.apple.JavaScriptCore 0x99fd2230 WTF::wtfThreadEntryPoint(void*) + 16
9 libsystem_pthread.dylib 0x99a5c780 _pthread_body + 138
10 libsystem_pthread.dylib 0x99a5c6f6 _pthread_start + 155
11 libsystem_pthread.dylib 0x99a59f7a thread_start + 34

Thread 10:
0 libsystem_kernel.dylib 0x924c6d5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x99a5c34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x99a59f56 start_wqthread + 34

Thread 11:
0 libsystem_kernel.dylib 0x924c6d5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x99a5c34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x99a59f56 start_wqthread + 34

Thread 12:
0 libsystem_kernel.dylib 0x924c6d5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x99a5c34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x99a59f56 start_wqthread + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x09a2eb30 ebx: 0x00000000 ecx: 0x9df399b1 edx: 0x08e654e0
edi: 0xffffffff esi: 0x9d6306cc ebp: 0xbfffe508 esp: 0xbfffe2e4
ss: 0x00000023 efl: 0x00010206 eip: 0x98a24cb3 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0xffffffff

Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14

Binary Images: CUT OUT FOR SPACE, WILL POST IF NEEDED

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 4
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: 25747
thread_create: 0
thread_set_state: 0

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
ATS (font support) 32.0M 10
Accelerate.framework 256K 3
Activity Tracing 2048K 2
CG backing stores 5316K 10
CG image 488K 36
CG shared images 464K 14
CoreAnimation 2740K 70
CoreAnimation (reserved) 20K 6 reserved VM address space (unallocated)
CoreData 4K 2
CoreUI image data 3004K 28
CoreUI image file 352K 6
Foundation 28K 3
IOKit 7940K 2
Image IO 1360K 76
JS JIT generated code 1104K 25
Kernel Alloc Once 4K 2
MALLOC 129.2M 110
MALLOC guard page 48K 10
Memory Tag 242 12K 2
Memory Tag 249 156K 2
OpenCL 40K 6
OpenGL GLSL 128K 3
Process Corpse Info 2048K 2
Stack 13.6M 14
Stack Guard 56.0M 14
VM_ALLOCATE 576K 70
WebKit Malloc 56.5M 38
__DATA 11.9M 276
__GLSLBUILTINS 2588K 2
__IMAGE 528K 2
__IMPORT 20K 5
__LINKEDIT 54.1M 31
__OBJC 4756K 105
__TEXT 199.4M 285
__UNICODE 552K 2
mapped file 297.0M 201
shared memory 16.4M 12
=========== ======= =======
TOTAL 901.9M 1450
TOTAL, minus reserved VM space 901.8M 1450

Model: MacBookAir5,1, BootROM MBA51.00EF.B04, 2 processors, Intel Core i5, 1.7 GHz, 4 GB, SMC 2.4f17
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333235533643465238412D50422020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333235533643465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.5f3 17904, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD TS064E, 60.67 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: BUP Slim BK
Thunderbolt Bus: MacBook Air, Apple Inc., 23.4

Hi,

Could you please zip up the project and send it to us at Mac.support AT literatureandlatte.com. The crash report just indicates something going on in Apple’s text checking code (which handles everything from spell-checking to corrections), so I’d like to run the project on my development system to see if that shows exactly what is triggering the crash.

Thanks and all the best,
Keith

I am seeing the exact same problem. I am currently “locked out” of my project due this issue. I can not even select a different chapter (document) on my project. I will send my project to you at the mac support address