Sonoma Crash when Viewing Full Manuscript

@KB

Just tried it with this build (16035) and it crashed. I will go back to 16007 and check to see if that one crashes as well

Here’s a link to the crash report

Just reverted back to 16007 and it still crashes as well. Not sure why it worked five times after I first installed 16007 and now will not.

I also tried setting Zoom to 100% and turned off Page View->Center Pages. It still crashed when loading the entire project.

The only thing that seems to reliably work is to turn off page view entirely. Select the entire project, then turn page view back on.

2 Likes

Please try these two builds:

[Deleted - confirmed to crash.]

This one implements both the “fixes” from 16007 and the second build.

And:

This one reverts to the pre-Sonoma text cursor, as that seems to be triggering the problems with a scaled page view mode.

All the best,
Keith (not Kevin)

Another build to try:

This one continues to use Sonoma’s text cursor but attempts a fix in a different way.

All the best,
Keith

Persistent Crash on Macbook Pro 2018 15". Upgraded to Sonoma this morning. I have tried the two builds posted above, but still crashes.

After placing cursor into a doc and typing six characters, program crashes.

@KB

I’m currently testing build (16142), which I believe has the reverted cursor. I’ve been able to load the project 3 times so far without a crash including an application close and reload between attempts 2 and 3.

This bug does not bite consistently so I wouldn’t consider it killed, but it is an encouraging start. I’ll be working in that project throughout the day and will report back both here and to Alex via e-mail.

Great, well that’s initially encouraging anyway - thanks for testing. I have others testing as well so will keep an eye on it. (Also, you keep calling me Kevin in the emails to Alex. That’s not my name. :slight_smile: )

jackp1961 - please try the build I posted above. Also please post your crash log if that doesn’t help.

All the best,
Keith

ScrivPageCrash_B_051023 seems to be better for a few minutes of typing, then boom, crash.

@KB

Oh crap…KEITH

I’m so sorry…I hate it when folks call me Rob, and that’s even part of my actual name. I only got the first letter of yours right…mea culpa!!

Crash report
-----------
Full Report
-----------

{"app_name":"Scrivener","timestamp":"2023-10-05 10:15:55.00 -0700","app_version":"3.3.3","slice_uuid":"57ac53a5-619a-3706-9d07-775e3a208c40","build_version":"16142","platform":1,"bundleID":"com.literatureandlatte.scrivener3","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.0 (23A344)","roots_installed":0,"name":"Scrivener","incident_id":"0A4DD511-A0DE-4B87-B289-648DA234CC26"}
{
  "uptime" : 22000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro15,1",
  "coalitionID" : 4927,
  "osVersion" : {
    "train" : "macOS 14.0",
    "build" : "23A344",
    "releaseType" : "User"
  },
  "captureTime" : "2023-10-05 10:15:54.8817 -0700",
  "codeSigningMonitor" : 0,
  "incident" : "0A4DD511-A0DE-4B87-B289-648DA234CC26",
  "pid" : 7186,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-10-05 10:15:10.9520 -0700",
  "procStartAbsTime" : 22483137980906,
  "procExitAbsTime" : 22527062246458,
  "procName" : "Scrivener",
  "procPath" : "\/Applications\/Scrivener.app\/Contents\/MacOS\/Scrivener",
  "bundleInfo" : {"CFBundleShortVersionString":"3.3.3","CFBundleVersion":"16142","CFBundleIdentifier":"com.literatureandlatte.scrivener3"},
  "storeInfo" : {"deviceIdentifierForVendor":"7F1139D0-E1EB-5A63-9539-BFC79A201021","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.literatureandlatte.scrivener3",
  "crashReporterKey" : "F534391B-8AD2-9419-54F9-8B2688AD8850",
  "codeSigningID" : "com.literatureandlatte.scrivener3",
  "codeSigningTeamID" : "W4QTL7X778",
  "codeSigningFlags" : 570495745,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "bridgeVersion" : {"build":"21P365","train":"8.0"},
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
  "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":7186},
  "ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
  "asi" : {"CoreFoundation":["CFString cannot be created from a negative number of bytes"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":315988,"instructionState":{"instructionStream":{"bytes":[30,73,98,65,15,11,15,31,64,0,144,144,144,144,144,144,144,144,144,144,85,72,137,229,83,80,72,141,29,65,192,183,63,72,137,223,232,226,27,0,0,72,141,53,114,74,183,63,106,2,95,72,137,218,49,192,232,201,222,239,255,72,131,196,8,91,93,195,144,144,144,144,144,144,144,144,144,144,144,144,144,144,72,141,5,149,95,25,0,72,137,5,194,72,98,65,15,11,85,72,137,229,72,141,53,149,192,183,63,106,3,95,49,192,232,143,222,239,255,15,11,85,72,137,229,72,131,236,32,72,139,5,178,132,91,65,72,139,0,72,137,69,248,72,137,254,76,141,69,224,65,199,0,2,1,32,8,72,141,5,140,99,25,0,73,137,64,4,72,141,61,27,220,226,255,72,141,13,180,55,24,0,106,17,90,106,12,65,89,232,220,109],"offset":96}},"threadState":{"r13":{"value":0},"rax":{"value":140703446094628,"symbolLocation":17076,"symbol":"_XMLPlistAppendDataUsingBase64.__CFPLDataEncodeTable"},"rflags":{"value":66050},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":132581633},"r8":{"value":2},"cr2":{"value":5666463744},"rdx":{"value":4429191440},"r10":{"value":19},"r9":{"value":18446744073709551615},"r15":{"value":2},"rbx":{"value":18446744073709551608},"trap":{"value":6},"err":{"value":0},"r11":{"value":64},"rip":{"value":140703444431766,"matchesCrashFrame":1},"rbp":{"value":140701934803184},"rsp":{"value":140701934801992},"r12":{"value":105553164665792},"rcx":{"value":132581633},"flavor":"x86_THREAD_STATE","rdi":{"value":310010113}},"queue":"com.apple.main-thread","frames":[{"imageOffset":1909654,"symbol":"__CFStringCreateImmutableFunnel3.cold.1","symbolLocation":14,"imageIndex":10},{"imageOffset":9281,"symbol":"__CFStringCreateImmutableFunnel3","symbolLocation":92,"imageIndex":10},{"imageOffset":84107,"symbol":"CFStringCreateWithSubstring","symbolLocation":364,"imageIndex":10},{"imageOffset":431522,"symbol":"-[__NSCFString substringWithRange:]","symbolLocation":138,"imageIndex":10},{"imageOffset":2326317,"symbol":"-[NSTextStorage(NSUndo) _undoRedoAttributedSubstringFromRange:]","symbolLocation":145,"imageIndex":11},{"imageOffset":2326030,"symbol":"-[NSUndoTyping initWithAffectedRange:textStorage:undoManager:replacementRange:]","symbolLocation":126,"imageIndex":11},{"imageOffset":2325639,"symbol":"-[NSTextViewSharedData coalesceInTextView:affectedRange:replacementRange:]","symbolLocation":367,"imageIndex":11},{"imageOffset":2321586,"symbol":"-[NSTextView(NSSharing) shouldChangeTextInRanges:replacementStrings:]","symbolLocation":1588,"imageIndex":11},{"imageOffset":1087071,"symbol":"-[KBBaseTextView shouldChangeTextInRanges:replacementStrings:]","symbolLocation":382,"imageIndex":8},{"imageOffset":2253920,"imageIndex":9},{"imageOffset":2316906,"symbol":"-[NSTextView _insertText:replacementRange:]","symbolLocation":1092,"imageIndex":11},{"imageOffset":1208621,"symbol":"_NSClearMarkedRange","symbolLocation":343,"imageIndex":11},{"imageOffset":11880210,"symbol":"-[NSTextView(NSKeyBindingCommands) rangeForUserCompletion]","symbolLocation":189,"imageIndex":11},{"imageOffset":2262569,"imageIndex":9},{"imageOffset":11885154,"symbol":"-[NSTextView(NSKeyBindingCommands) complete:]","symbolLocation":142,"imageIndex":11},{"imageOffset":2262497,"imageIndex":9},{"imageOffset":510185,"symbol":"__NSFireDelayedPerform","symbolLocation":438,"imageIndex":12},{"imageOffset":620380,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__","symbolLocation":20,"imageIndex":10},{"imageOffset":619274,"symbol":"__CFRunLoopDoTimer","symbolLocation":785,"imageIndex":10},{"imageOffset":618310,"symbol":"__CFRunLoopDoTimers","symbolLocation":285,"imageIndex":10},{"imageOffset":504258,"symbol":"__CFRunLoopRun","symbolLocation":2104,"imageIndex":10},{"imageOffset":500594,"symbol":"CFRunLoopRunSpecific","symbolLocation":557,"imageIndex":10},{"imageOffset":199129,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":13},{"imageOffset":198630,"symbol":"ReceiveNextEventCommon","symbolLocation":665,"imageIndex":13},{"imageOffset":197937,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":66,"imageIndex":13},{"imageOffset":258245,"symbol":"_DPSNextEvent","symbolLocation":880,"imageIndex":11},{"imageOffset":9634128,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1304,"imageIndex":11},{"imageOffset":15157672,"symbol":"-[NSCorrectionPanel _interceptEvents]","symbolLocation":560,"imageIndex":11},{"imageOffset":15160229,"symbol":"-[NSCorrectionPanel showPanelAtRect:inView:primaryString:alternativeStrings:forType:completionHandler:]","symbolLocation":1033,"imageIndex":11},{"imageOffset":9469997,"symbol":"-[NSSpellChecker showCorrectionIndicatorOfType:primaryString:alternativeStrings:forStringInRect:view:completionHandler:]","symbolLocation":602,"imageIndex":11},{"imageOffset":9473756,"symbol":"-[NSSpellChecker _showInlinePredictionForReplacingRange:markedRange:string:withString:view:client:lastReplacementRange:completeWordIndexes:resultDictionary:completionHandler:]","symbolLocation":684,"imageIndex":11},{"imageOffset":9479312,"symbol":"-[NSSpellChecker showCompletionForCandidate:selectedRange:offset:inString:rect:view:client:completionHandler:]","symbolLocation":1173,"imageIndex":11},{"imageOffset":13335909,"symbol":"-[NSTextCheckingController handleCompletionFromCandidates:forSelectedRange:offset:inAnnotatedString:rect:view:]","symbolLocation":939,"imageIndex":11},{"imageOffset":13338067,"symbol":"__60-[NSTextCheckingController handleCandidates:sequenceNumber:]_block_invoke_2","symbolLocation":292,"imageIndex":11},{"imageOffset":13284425,"symbol":"-[NSTextCheckingController viewForRange:completionHandler:]","symbolLocation":193,"imageIndex":11},{"imageOffset":13337769,"symbol":"__60-[NSTextCheckingController handleCandidates:sequenceNumber:]_block_invoke","symbolLocation":114,"imageIndex":11},{"imageOffset":1828248,"symbol":"-[NSTextCheckingController annotatedSubstringForProposedRange:wrap:completionHandler:failureHandler:]","symbolLocation":867,"imageIndex":11},{"imageOffset":1827374,"symbol":"-[NSTextCheckingController annotatedSubstringForProposedRange:completionHandler:]","symbolLocation":84,"imageIndex":11},{"imageOffset":1835998,"symbol":"-[NSTextCheckingController annotatedSubstringForSelectedRangeWithCompletionHandler:]","symbolLocation":77,"imageIndex":11},{"imageOffset":13337635,"symbol":"-[NSTextCheckingController handleCandidates:sequenceNumber:]","symbolLocation":217,"imageIndex":11},{"imageOffset":13349989,"symbol":"___NSRunLoopTimerCreateWithHandler_block_invoke","symbolLocation":34,"imageIndex":11},{"imageOffset":620380,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__","symbolLocation":20,"imageIndex":10},{"imageOffset":619274,"symbol":"__CFRunLoopDoTimer","symbolLocation":785,"imageIndex":10},{"imageOffset":618310,"symbol":"__CFRunLoopDoTimers","symbolLocation":285,"imageIndex":10},{"imageOffset":504258,"symbol":"__CFRunLoopRun","symbolLocation":2104,"imageIndex":10},{"imageOffset":500594,"symbol":"CFRunLoopRunSpecific","symbolLocation":557,"imageIndex":10},{"imageOffset":199129,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":13},{"imageOffset":198166,"symbol":"ReceiveNextEventCommon","symbolLocation":201,"imageIndex":13},{"imageOffset":197937,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":66,"imageIndex":13},{"imageOffset":258245,"symbol":"_DPSNextEvent","symbolLocation":880,"imageIndex":11},{"imageOffset":9634128,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1304,"imageIndex":11},{"imageOffset":198202,"symbol":"-[NSApplication run]","symbolLocation":603,"imageIndex":11},{"imageOffset":18032,"symbol":"NSApplicationMain","symbolLocation":816,"imageIndex":11},{"imageOffset":25510,"symbol":"start","symbolLocation":1942,"imageIndex":14}]},{"id":316178,"frames":[{"imageOffset":7048,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":16}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":63491},"r8":{"value":5193730},"cr2":{"value":5666463744},"rdx":{"value":123145419223040},"r10":{"value":0},"r9":{"value":1},"r15":{"value":123145419746176},"rbx":{"value":123145419747328},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703442115464},"rbp":{"value":0},"rsp":{"value":123145419746160},"r12":{"value":1982472},"rcx":{"value":123145419746176},"flavor":"x86_THREAD_STATE","rdi":{"value":123145419747328}}},{"id":316188,"name":"com.apple.NSEventThread","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":2},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":5408055296},"rdx":{"value":8589934592},"r10":{"value":318888436826112},"r9":{"value":318888436826112},"r15":{"value":318888436826112},"rbx":{"value":123145422962784},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":140703441873454},"rbp":{"value":123145422962624},"rsp":{"value":123145422962520},"r12":{"value":4294967295},"rcx":{"value":123145422962520},"flavor":"x86_THREAD_STATE","rdi":{"value":123145422962784}},"frames":[{"imageOffset":6702,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":17},{"imageOffset":65098,"symbol":"mach_msg2_internal","symbolLocation":84,"imageIndex":17},{"imageOffset":35694,"symbol":"mach_msg_overwrite","symbolLocation":653,"imageIndex":17},{"imageOffset":7455,"symbol":"mach_msg","symbolLocation":19,"imageIndex":17},{"imageOffset":509045,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":10},{"imageOffset":503525,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":10},{"imageOffset":500594,"symbol":"CFRunLoopRunSpecific","symbolLocation":557,"imageIndex":10},{"imageOffset":1688544,"symbol":"_NSEventThread","symbolLocation":122,"imageIndex":11},{"imageOffset":25090,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":16},{"imageOffset":7083,"symbol":"thread_start","symbolLocation":15,"imageIndex":16}]},{"id":316239,"name":"com.apple.NSURLConnectionLoader","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":2},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":4512661504},"rdx":{"value":8589934592},"r10":{"value":414528768573440},"r9":{"value":414528768573440},"r15":{"value":414528768573440},"rbx":{"value":123145423498560},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":140703441873454},"rbp":{"value":123145423498400},"rsp":{"value":123145423498296},"r12":{"value":4294967295},"rcx":{"value":123145423498296},"flavor":"x86_THREAD_STATE","rdi":{"value":123145423498560}},"frames":[{"imageOffset":6702,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":17},{"imageOffset":65098,"symbol":"mach_msg2_internal","symbolLocation":84,"imageIndex":17},{"imageOffset":35694,"symbol":"mach_msg_overwrite","symbolLocation":653,"imageIndex":17},{"imageOffset":7455,"symbol":"mach_msg","symbolLocation":19,"imageIndex":17},{"imageOffset":509045,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":10},{"imageOffset":503525,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":10},{"imageOffset":500594,"symbol":"CFRunLoopRunSpecific","symbolLocation":557,"imageIndex":10},{"imageOffset":2384985,"imageIndex":18},{"imageOffset":347868,"symbol":"__NSThread__start__","symbolLocation":1013,"imageIndex":12},{"imageOffset":25090,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":16},{"imageOffset":7083,"symbol":"thread_start","symbolLocation":15,"imageIndex":16}]},{"id":316950,"frames":[{"imageOffset":7048,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":16}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":216595},"r8":{"value":409604},"cr2":{"value":4657733616},"rdx":{"value":123145416003584},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145416526712},"rbx":{"value":123145416527872},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703442115464},"rbp":{"value":0},"rsp":{"value":123145416527872},"r12":{"value":5193734},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145416527872}}},{"id":316951,"threadState":{"r13":{"value":105553170467360},"rax":{"value":14},"rflags":{"value":514},"cpu":{"value":0},"r14":{"value":105553120318208},"rsi":{"value":2147482475473928192},"r8":{"value":1},"cr2":{"value":123145544126191},"rdx":{"value":499999727},"r10":{"value":2147482475473928192},"r9":{"value":3529597050},"r15":{"value":19342813113834067},"rbx":{"value":22527560196298},"trap":{"value":133},"err":{"value":16777254},"r11":{"value":514},"rip":{"value":140703441873346},"rbp":{"value":123145417054416},"rsp":{"value":123145417054376},"r12":{"value":28},"rcx":{"value":123145417054376},"flavor":"x86_THREAD_STATE","rdi":{"value":62735}},"queue":"NSTextCheckingOperationQueue (QOS: USER_INTERACTIVE)","frames":[{"imageOffset":6594,"symbol":"semaphore_timedwait_trap","symbolLocation":10,"imageIndex":17},{"imageOffset":15083,"symbol":"_dispatch_sema4_timedwait","symbolLocation":73,"imageIndex":19},{"imageOffset":16183,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":58,"imageIndex":19},{"imageOffset":2461854,"symbol":"-[NSXPCSpellServerClientContext finish]","symbolLocation":374,"imageIndex":11},{"imageOffset":5738245,"symbol":"-[NSXPCSpellServerClient _dataFromGeneratingCandidatesForSelectedRange:inString:offset:types:optionsData:orthography:learnedDictionaries:]","symbolLocation":292,"imageIndex":11},{"imageOffset":9452552,"symbol":"-[NSSpellChecker candidatesForSelectedRange:inString:types:options:offset:orthography:inSpellDocumentWithTag:]","symbolLocation":3505,"imageIndex":11},{"imageOffset":2389240,"symbol":"NSSpellCheckerCheckString","symbolLocation":1785,"imageIndex":11},{"imageOffset":14150006,"symbol":"-[NSTextCandidateOperation main]","symbolLocation":257,"imageIndex":11},{"imageOffset":254155,"symbol":"__NSOPERATION_IS_INVOKING_MAIN__","symbolLocation":17,"imageIndex":12},{"imageOffset":250732,"symbol":"-[NSOperation start]","symbolLocation":730,"imageIndex":12},{"imageOffset":249997,"symbol":"__NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__","symbolLocation":17,"imageIndex":12},{"imageOffset":249694,"symbol":"__NSOQSchedule_f","symbolLocation":182,"imageIndex":12},{"imageOffset":8934,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":19},{"imageOffset":13722,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":19},{"imageOffset":24775,"symbol":"_dispatch_continuation_pop","symbolLocation":523,"imageIndex":19},{"imageOffset":22332,"symbol":"_dispatch_async_redirect_invoke","symbolLocation":710,"imageIndex":19},{"imageOffset":75638,"symbol":"_dispatch_root_queue_drain","symbolLocation":328,"imageIndex":19},{"imageOffset":77602,"symbol":"_dispatch_worker_thread2","symbolLocation":152,"imageIndex":19},{"imageOffset":11270,"symbol":"_pthread_wqthread","symbolLocation":262,"imageIndex":16},{"imageOffset":7063,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":16}]},{"id":316952,"frames":[{"imageOffset":7048,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":16}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":176135},"r8":{"value":409604},"cr2":{"value":123145417582196},"rdx":{"value":123145417076736},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145417599864},"rbx":{"value":123145417601024},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703442115464},"rbp":{"value":0},"rsp":{"value":123145417601024},"r12":{"value":5193733},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145417601024}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 5291110400,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.icloud.drive.fileprovider.override",
    "size" : 16384,
    "uuid" : "9ed5a6be-94ce-3522-bf98-52d2b97d8642",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/iCloudDriveFileProviderOverride.bundle\/Contents\/MacOS\/iCloudDriveFileProviderOverride",
    "name" : "iCloudDriveFileProviderOverride",
    "CFBundleVersion" : "2461.1.12"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 5292036096,
    "CFBundleShortVersionString" : "14.0",
    "CFBundleIdentifier" : "com.apple.findersync.fileprovideroverride.FinderSyncCollaborationFileProviderOverride",
    "size" : 114688,
    "uuid" : "2ec27c6e-4874-39e5-bf40-b9d12d9bfbc6",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/FinderSyncCollaborationFileProviderOverride.bundle\/Contents\/MacOS\/FinderSyncCollaborationFileProviderOverride",
    "name" : "FinderSyncCollaborationFileProviderOverride",
    "CFBundleVersion" : "1626.0.2"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 5291012096,
    "CFBundleShortVersionString" : "1681.1.8",
    "CFBundleIdentifier" : "com.apple.FileProviderOverride",
    "size" : 32768,
    "uuid" : "583d91ec-36da-3394-8233-6fc5736eb542",
    "path" : "\/System\/Library\/Frameworks\/FileProvider.framework\/OverrideBundles\/FileProviderOverride.bundle\/Contents\/MacOS\/FileProviderOverride",
    "name" : "FileProviderOverride",
    "CFBundleVersion" : "1681.1.8"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 5291266048,
    "CFBundleShortVersionString" : "3.0",
    "CFBundleIdentifier" : "com.apple.security.csparser",
    "size" : 98304,
    "uuid" : "ae6cfd3f-05af-39ec-8a56-bee9abacb0f5",
    "path" : "\/System\/Library\/Frameworks\/Security.framework\/Versions\/A\/PlugIns\/csparser.bundle\/Contents\/MacOS\/csparser",
    "name" : "csparser",
    "CFBundleVersion" : "61040.1.3"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 4426354688,
    "size" : 65536,
    "uuid" : "c43ce21c-a026-37b5-95ee-ef39fd2196de",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4428140544,
    "CFBundleShortVersionString" : "2.4.0",
    "CFBundleIdentifier" : "org.sparkle-project.Sparkle",
    "size" : 278528,
    "uuid" : "03e16ab6-5d78-35c3-8ef2-7e9505e51cf3",
    "path" : "\/Applications\/Scrivener.app\/Contents\/Frameworks\/Sparkle.framework\/Versions\/B\/Sparkle",
    "name" : "Sparkle",
    "CFBundleVersion" : "2025"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4422938624,
    "CFBundleShortVersionString" : "4.4.0",
    "CFBundleIdentifier" : "com.paddle.Paddle",
    "size" : 327680,
    "uuid" : "a4540115-7383-362d-930d-34bc962daa52",
    "path" : "\/Applications\/Scrivener.app\/Contents\/Frameworks\/Paddle.framework\/Versions\/A\/Paddle",
    "name" : "Paddle",
    "CFBundleVersion" : "4.4.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4428566528,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.literatureandlatte.AppReg",
    "size" : 163840,
    "uuid" : "c54784da-6840-3118-a386-6820a28295e7",
    "path" : "\/Applications\/Scrivener.app\/Contents\/Frameworks\/AppReg.framework\/Versions\/A\/AppReg",
    "name" : "AppReg",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4437446656,
    "CFBundleIdentifier" : "com.literatureandlatte.ScrAppKit",
    "size" : 2572288,
    "uuid" : "487673d9-b741-360e-8479-1004858a6e3f",
    "path" : "\/Applications\/Scrivener.app\/Contents\/Frameworks\/ScrAppKit.framework\/Versions\/A\/ScrAppKit",
    "name" : "ScrAppKit",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4413972480,
    "CFBundleShortVersionString" : "3.3.3",
    "CFBundleIdentifier" : "com.literatureandlatte.scrivener3",
    "size" : 7290880,
    "uuid" : "57ac53a5-619a-3706-9d07-775e3a208c40",
    "path" : "\/Applications\/Scrivener.app\/Contents\/MacOS\/Scrivener",
    "name" : "Scrivener",
    "CFBundleVersion" : "16142"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703442522112,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 4825085,
    "uuid" : "9daa29f3-fe48-39a9-a70d-1e0fd4750372",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2048.1.403"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703499419648,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 20979712,
    "uuid" : "70a55260-7bb1-3c07-aac3-402d42fa9913",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2487"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703458996224,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 12836860,
    "uuid" : "097dc90a-7059-3135-8fcb-74de290206a1",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "2048.1.403"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703619428352,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 2736117,
    "uuid" : "ad043d3b-2199-381b-96f2-2d827bae0c57",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703438401536,
    "size" : 639744,
    "uuid" : "1289b60a-4980-342d-b1a4-250bbee392f1",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703442108416,
    "size" : 49152,
    "uuid" : "33c43114-85f0-3f32-86d7-8e6a2403d38c",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703441866752,
    "size" : 241656,
    "uuid" : "3690c1fc-599f-39ff-bbdb-85422e9a996c",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703527874560,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.CFNetwork",
    "size" : 3854327,
    "uuid" : "60db8937-857a-3ecb-aa18-0a15117a2e2d",
    "path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/Versions\/A\/CFNetwork",
    "name" : "CFNetwork",
    "CFBundleVersion" : "1474.1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703440384000,
    "size" : 290814,
    "uuid" : "5203f33a-d525-32a5-bd79-2cce93555aee",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703437705216,
  "size" : 25769803776,
  "uuid" : "62bff6a2-85e3-3e99-aa9c-94b8c34708c1"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=964.2M resident=0K(0%) swapped_out_or_unallocated=964.2M(100%)\nWritable regions: Total=4.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=4.9G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               128K        1 \nActivity Tracing                   256K        1 \nCG image                          2304K       89 \nCG raster data                      24K        3 \nColorSync                          256K       34 \nCoreAnimation                     12.3M      488 \nCoreGraphics                        16K        3 \nCoreImage                           92K        9 \nCoreUI image data                 4168K       62 \nFoundation                          40K        2 \nKernel Alloc Once                    8K        1 \nMALLOC                           694.6M      155 \nMALLOC guard page                   80K       20 \nSQLite page cache                  384K        3 \nSTACK GUARD                       56.0M        7 \nStack                             11.0M        7 \nVM_ALLOCATE                      128.1M       32 \nVM_ALLOCATE (reserved)             3.9G        1         reserved VM address space (unallocated)\nWebKit Malloc                    192.0M        5 \n__CTF                               824        1 \n__DATA                            42.0M      663 \n__DATA_CONST                      46.8M      449 \n__DATA_DIRTY                      1767K      236 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       181.8M       12 \n__OBJC_RO                         70.6M        1 \n__OBJC_RW                         2154K        2 \n__TEXT                           782.4M      683 \ndyld private memory                260K        2 \nlibnetwork                         128K        8 \nmapped file                      892.3M      279 \nshared memory                     1300K       18 \n===========                     =======  ======= \nTOTAL                              6.9G     3278 \nTOTAL, minus reserved VM space     3.0G     3278 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "e9c0bc0e7ce0700405b60c88ad454995195df9a1",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5f72dc58705eff005a46b3a9",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    },
    {
      "rolloutId" : "64b21a7351cbb02ce3442e4e",
      "factorPackIds" : {
        "REMINDERS_GROCERY" : "64d6bf89aa6c2933834d3f9d"
      },
      "deploymentId" : 240000018
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    }
  ]
}
}

Model: MacBookPro15,1, BootROM 2020.0.1.0.0 (iBridge: 21.16.365.0.0,0), 6 processors, 6-Core Intel Core i7, 2.2 GHz, 16 GB, SMC 
Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
Graphics: Radeon Pro 555X, Radeon Pro 555X, PCIe, 4 GB
Display: Color LCD, 2880 x 1800 Retina, MirrorOff, Online
Display: LG ULTRAWIDE, 3440 x 1440 (UWQHD - Ultra-Wide Quad HD), Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2400 MHz, SK Hynix, HMA81GS6AFR8N-UH
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2400 MHz, SK Hynix, HMA81GS6AFR8N-UH
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 10 2023 12:30:19 version 9.30.503.0.32.5.92 FWID 01-88a8883
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: hub_device
USB Device: Hub in Apple Extended USB Keyboard
USB Device: USB Optical Mouse
USB Device: Apple Extended USB Keyboard
USB Device: Texas Instruments USB Billboard Device
USB Device: T2Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 47.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 47.5

Ha ha, no worries - I have a brother called Kevin so I’m just sensitive to it.

Argh, okay, and I can see that’s on the latest test build. Can you please let me know how to reproduce it? It sounds as though you are typing. Can you reproduce it in a test project that you could provide, or let me know the exact steps needed to reproduce it in a new project?

Actually: is it happening when hitting return to accept one of Sonoma’s automatic completions by any chance?

Also, could you see if you get the same crash with this build?

https://www.dropbox.com/scl/fi/04hdi0xcazqnfrw1qkrva/ScrivOldCaret-051023.zip?rlkey=wxdq2zt53ss88jaxt0u5tenft&dl=0

Thanks and all the best,
Keith

Actually, never mind on testing that build for the crash-while-typing bug. That is an entirely different bug from the one I’ve been dealing with in this thread and is related to auto-corrections. To work around that bug for the time being, please turn off “Suggest completions as you type” in the “Corrections” area of Scrivener’s Settings. That should prevent crashes while typing - it seems that Sonoma’s new suggestions are interfering with the automatic completions of old. I’m looking into it right now.

All the best,
Keith

Just tested both new builds and the cursor seems more reliable compared to 3.3.3.

The builds also still crash while typing, as you expected, Keith. If necessary I have crash reports of both builds.

1 Like

On that, be sure to turn off “Suggest completions as you type” in the “Corrections” area of Scrivener’s Settings - that should fix the crashes while typing for now.

1 Like

@KB

That’s odd…I have “suggest completions as you type” ON and am not experiencing crashes. Is that because I’m lucky, or because I’m running an M-series chip?

Could this interfere with the new (macOS) inline predictive text? The one in keyboard settings.

Great, glad it’s working. It may be that Apple’s inline predictions require the other option to be turned on, or that they are both factors of interference.

I have just changed the code so that Sonoma’s inline predictions are turned off when script auto-completions are turned on (in script mode only), and I’ve updated the Settings options accordingly. That way you can return to using auto-completions for things like character names. I’ll hope to have the fix out early next week, once I’ve looked at a couple of other bugs being reported.

All the best,
Keith

1 Like

Thanks! I mistakenly disabled “Correct spelling errors as you type” instead of “Suggest completions as you type” and this stopped Scrivener from crashing as well.

In fact, if you disable one of the options and leave the other one on, it seems to stop Scrivener from crashing. So maybe automatic spelling correction and completions are biting each other somehow, or maybe that’s what November_Sierra is suggesting?

1 Like

@KB

16142 continues to be stable for me (fingers crossed). I’ll continue updating this thread with anything that changes.

Couple quick questions about your comment quoted below:

Is this a build after 16142, and am I reading it correctly that your code change only affects someone writing scripts or is “script mode,” something else? I ask because I believe I am still seeing Sonoma auto-completion when I type. As an FYI, I’m sure you already know this, but the when Sonoma does prompt for auto-completion there is no highlighting in Scrivener’s edit window…it just kinda shows up.

Honestly, I’m on the fence whether Sonoma’s auto-complete is a benefit or a hinderance in my novel writing, so having the option to turn it off would probably be a good thing. Does the auto-complete setting currently in Scrivener turn off Sonoma’s prompt, or just one based on words you’ve listed in Scrivener?

Yes, I’m talking about a build after 16142, which should be available some time next week. The fix for the page view crash remains the same, though, so I’m glad to hear that’s still working.

The change I’m talking about only affects scriptwriting mode, too. In the next build (and thus 3.3.4), by default inline predictions won’t be shown in scriptwriting mode, since they clash with scriptwriting’s character name suggestions and suchlike.

If you want to turn off inline predictions in general, you can do so through System Settings, though. Go the “Keyboard” settings in System Settings, click on “Edit…” next to “Input Sources”, and then turn off “Show inline predictive text”. (I have no idea why Apple makes that so hard to find.) I’m also on the fence over how I feel about them.

It would be possible to add a Scrivener setting for inline predictive texts that would replace the system setting in Scrivener. I may consider that, but for now I thought it would be good for Scrivener to follow the system behaviour.