A REPEATED Crash! Help!

I’ve attempted to “report” this crash several times, and every time I do so, it hangs and then pinwheels to the point of having to do a hard reset in order to regain access to the machine. So, I’m reporting it here, so that I can get some advice on how to stop this from happening again.

Here’s the crash report text:

NSTableViewException
Reason: Row Index 60 out of range (numberOfRows: 48) for <KBOutlineView:

Exception Name: NSTableViewException

Exception Reason: Row index 60 out of row range (numberOfRows: 48) for <KBOutlineView: 0x7f826e900800>

0 CoreFoundation 0x00007ff801d82773 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff801ae2bc3 objc_exception_throw + 48
2 AppKit 0x00007ff804861e70 -[NSTableRowData rowViewAtRow:createIfNeeded:] + 936
3 AppKit 0x00007ff8048c2ec6 -[NSTableView viewAtColumn:row:makeIfNecessary:] + 29
4 Scrivener 0x000000011008a42f Scrivener + 1594415
5 Foundation 0x00007ff802b84b12 __NSFireDelayedPerform + 440
6 CoreFoundation 0x00007ff801d1ff69 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20
7 CoreFoundation 0x00007ff801d1fa58 __CFRunLoopDoTimer + 923
8 CoreFoundation 0x00007ff801d1f5c8 __CFRunLoopDoTimers + 307
9 CoreFoundation 0x00007ff801d05cd6 __CFRunLoopRun + 2010
10 CoreFoundation 0x00007ff801d04e3c CFRunLoopRunSpecific + 562
11 HIToolbox 0x00007ff80a9b45e6 RunCurrentEventLoopInMode + 292
12 HIToolbox 0x00007ff80a9b4213 ReceiveNextEventCommon + 283
13 HIToolbox 0x00007ff80a9b40e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
14 AppKit 0x00007ff80473efad _DPSNextEvent + 927
15 AppKit 0x00007ff80473d66a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
16 AppKit 0x00007ff80472fd19 -[NSApplication run] + 586
17 AppKit 0x00007ff804703c97 NSApplicationMain + 817
18 dyld 0x000000011c6ac52e start + 462

Could you tell me which version of Scrivener you have, please, and with which version of Mac OS?

I am on Scrivener 3 with the latest version of MacOS Monterey.

Here’s the latest crash that just happened.

Exception Name: NSTableViewException

Exception Reason: Row index 67 out of row range (numberOfRows: 35) for <KBOutlineView: 0x7f7e7a841800>

0 CoreFoundation 0x00007ff801d82773 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff801ae2bc3 objc_exception_throw + 48
2 AppKit 0x00007ff804861e70 -[NSTableRowData rowViewAtRow:createIfNeeded:] + 936
3 AppKit 0x00007ff8048c2ec6 -[NSTableView viewAtColumn:row:makeIfNecessary:] + 29
4 Scrivener 0x000000010257e42f Scrivener + 1594415
5 Foundation 0x00007ff802b84b12 __NSFireDelayedPerform + 440
6 CoreFoundation 0x00007ff801d1ff69 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20
7 CoreFoundation 0x00007ff801d1fa58 __CFRunLoopDoTimer + 923
8 CoreFoundation 0x00007ff801d1f5c8 __CFRunLoopDoTimers + 307
9 CoreFoundation 0x00007ff801d05cd6 __CFRunLoopRun + 2010
10 CoreFoundation 0x00007ff801d04e3c CFRunLoopRunSpecific + 562
11 HIToolbox 0x00007ff80a9b45e6 RunCurrentEventLoopInMode + 292
12 HIToolbox 0x00007ff80a9b434a ReceiveNextEventCommon + 594
13 HIToolbox 0x00007ff80a9b40e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
14 AppKit 0x00007ff80473efad _DPSNextEvent + 927
15 AppKit 0x00007ff80473d66a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
16 AppKit 0x00007ff80472fd19 -[NSApplication run] + 586
17 AppKit 0x00007ff804703c97 NSApplicationMain + 817
18 dyld 0x000000010ace952e start + 462

These crashes are occurring sometimes up to ten times a day… it’s getting really frustrating because each time it crashes it has to re-index everything before loading and that takes FOREVER!

What sub-version of Scrivener 3, please? The Scrivener → About Scrivener command will tell you.

Also, do you see it with all projects, or just this one?

Screen Shot 2022-10-11 at 3.00.53 PM

All of my projects are contained within one Scrivener file.

:face_with_diagonal_mouth:

How big/complex is that file/project exactly ?

It’s on the large side. :joy:

Ok. Technically, as far as Scrivener is concerned, it shouldn’t matter so much.
But, I suppose that if your project somewhat saturates your RAM, then it can become a problem.
There might also be a broken cluster on your hard drive. (SSD, HDD ?) Maybe you could try and clone the project elsewhere and see how that new version behaves.
But no matter what you do (or don’t do), I’d advise that at this point you make sure you have a reliable backup of your monster. :wink:

It’s not a RAM issue. I have a new top of the line MacBook Pro. This particular file is like six-years-old, and I rarely have any issues with it size wise.

Don’t worry, I have like five backups of this beast in various places and I update the backups every week. :rofl:

Do you see the problem with the Interactive Tutorial project, available from the Help menu?

If so, please reset Scrivener’s Preferences file, as explained here:
https://scrivener.tenderapp.com/help/kb/macos-troubleshooting/resetting-preferences

If not, please reset the project display settings, as explained here:
https://scrivener.tenderapp.com/help/kb/macos-troubleshooting/resetting-a-projects-display-settings

Does that help?

Okay, I will attempt both of these fixes and I will submit the next crash report should one crop up. crosses fingers

Thanks for trying to help.