Numbers take 42 seconds to open a file

I have upgraded my desktop (Mac Studio M2 2023) to Sonoma 14.7.1. After the upgrade all the iWorks app got updated. The version for Numbers is 14.2 (7041.0.109)


I have a very simple numbers file consisting of 2 cells containing the words "hello" "world". When I double-click this file to open it (or select Open in the menu) it takes 42 seconds to open the file (yes I timed it!). On top of that, the "Open Recent" list shows empty space



When I saved a file, Numbers started spinning/beach ball:




The slow loading time is 100% reproducible.


I created another user and did the same steps. The other use does NOT have this issue.


I tried deleting everything that was called "Numbers" in the $HOME/Library folder and that did not fix anything.


What could be wrong with my user? Is there a way to "reset" the application entirely?


Thanks for the help

Mac Studio, macOS 14.7

Posted on Dec 8, 2024 6:25 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 9, 2024 7:12 AM

I wanted to add that it happens with pretty much any macOS app. For example, when starting Logic, I was able to capture the stack trace (using Activity Monitor / Sample process), and here is where Logic was hanging for a very long time...


It seems to be related to the "Recent Items" feature in general... as shown by this stack trace


2373 Thread_224984   DispatchQueue_463: Document Recents (QOS: UNSPECIFIED)  (concurrent)
    + 2373 start_wqthread  (in libsystem_pthread.dylib) + 8  [0x190d00d28]
    +   2373 _pthread_wqthread  (in libsystem_pthread.dylib) + 228  [0x190d01fd0]
    +     2373 _dispatch_worker_thread2  (in libdispatch.dylib) + 156  [0x190b676b8]
    +       2373 _dispatch_root_queue_drain  (in libdispatch.dylib) + 392  [0x190b66ea8]
    +         2373 _dispatch_async_redirect_invoke  (in libdispatch.dylib) + 732  [0x190b57f9c]
    +           2373 _dispatch_continuation_pop  (in libdispatch.dylib) + 600  [0x190b588ec]
    +             2373 _dispatch_client_callout  (in libdispatch.dylib) + 20  [0x190b553e8]
    +               2373 _dispatch_block_async_invoke2  (in libdispatch.dylib) + 148  [0x190b64470]
    +                 2373 __NSOQSchedule_f  (in Foundation) + 172  [0x191ef97c4]
    +                   2373 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__  (in Foundation) + 16  [0x191ef98d4]
    +                     2373 -[NSOperation start]  (in Foundation) + 648  [0x191ef9b64]
    +                       2373 __NSOPERATION_IS_INVOKING_MAIN__  (in Foundation) + 16  [0x191efa7bc]
    +                         2373 -[NSBlockOperation main]  (in Foundation) + 104  [0x191efa82c]
    +                           2373 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__  (in Foundation) + 24  [0x191efa96c]
    +                             2373 __58-[_NSRecentItemsMenuController _recentDocumentURLsForKey:]_block_invoke  (in AppKit) + 232  [0x194aa01f0]
    +                               2373 LSSharedFileListItemResolve  (in SharedFileList) + 152  [0x19968806c]
    +                                 2373 +[SFLList(LSSharedFileListSupport) resolveItem:resolutionFlags:URL:fsRef:]  (in SharedFileList) + 100  [0x1996881c4]
    +                                   2373 +[SFLList(LSSharedFileListSupport) resolveItem:resolutionFlags:error:]  (in SharedFileList) + 84  [0x199688438]
    +                                     2373 -[SFLBookmark resolveWithOptions:relativeToURL:error:]  (in SharedFileList) + 128  [0x1996885f4]
    +                                       2373 __47-[_SFLItemWrapper initWithItem:listIdentifier:]_block_invoke  (in SharedFileList) + 172  [0x199688a44]
    +                                         2373 +[SFLResolveResult resultByResolvingBookmarkData:options:relativeToURL:]  (in SharedFileList) + 144  [0x199691dc0]
    +                                           2373 +[NSURL(NSURL) URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:]  (in Foundation) + 72  [0x191f53a10]
    +                                             2373 -[NSURL(NSURL) initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:]  (in Foundation) + 420  [0x191f53bd8]
    +                                               2373 _CFURLCreateByResolvingBookmarkData  (in CoreServicesInternal) + 148  [0x19444bc38]
    +                                                 2373 createByResolvingBookmarkDataInternal(__CFAllocator const*, __CFData const*, unsigned long, __CFURL const*, __CFArray const*, unsigned char*, __CFError**, __CFURL const**)  (in CoreServicesInternal) + 920  [0x19444c20c]
    +                                                   2373 resolveScopedBookmarkData(__CFAllocator const*, __CFData const*, unsigned long, __CFURL const*, unsigned char*, __CFError**)  (in CoreServicesInternal) + 380  [0x1944668e0]
    +                                                     2372 syncMessageToScopedBookmarksAgent(void*, unsigned char)  (in CoreServicesInternal) + 796  [0x19446ed9c]
    +                                                     ! 2372 xpc_connection_send_message_with_reply_sync  (in libxpc.dylib) + 288  [0x190a10a0c]
    +                                                     !   2372 dispatch_mach_send_with_result_and_wait_for_reply  (in libdispatch.dylib) + 60  [0x190b70740]
    +                                                     !     2372 _dispatch_mach_send_and_wait_for_reply  (in libdispatch.dylib) + 544  [0x190b703b0]
    +                                                     !       2372 mach_msg  (in libsystem_kernel.dylib) + 24  [0x190cc5158]
    +                                                     !         2372 mach_msg_overwrite  (in libsystem_kernel.dylib) + 476  [0x190ccd9a4]
    +                                                     !           2372 mach_msg2_internal  (in libsystem_kernel.dylib) + 80  [0x190cd75c4]
    +                                                     !             2372 mach_msg2_trap  (in libsystem_kernel.dylib) + 8  [0x190cc4dd4]

Similar questions

5 replies
Question marked as Top-ranking reply

Dec 9, 2024 7:12 AM in response to Yan Pujante

I wanted to add that it happens with pretty much any macOS app. For example, when starting Logic, I was able to capture the stack trace (using Activity Monitor / Sample process), and here is where Logic was hanging for a very long time...


It seems to be related to the "Recent Items" feature in general... as shown by this stack trace


2373 Thread_224984   DispatchQueue_463: Document Recents (QOS: UNSPECIFIED)  (concurrent)
    + 2373 start_wqthread  (in libsystem_pthread.dylib) + 8  [0x190d00d28]
    +   2373 _pthread_wqthread  (in libsystem_pthread.dylib) + 228  [0x190d01fd0]
    +     2373 _dispatch_worker_thread2  (in libdispatch.dylib) + 156  [0x190b676b8]
    +       2373 _dispatch_root_queue_drain  (in libdispatch.dylib) + 392  [0x190b66ea8]
    +         2373 _dispatch_async_redirect_invoke  (in libdispatch.dylib) + 732  [0x190b57f9c]
    +           2373 _dispatch_continuation_pop  (in libdispatch.dylib) + 600  [0x190b588ec]
    +             2373 _dispatch_client_callout  (in libdispatch.dylib) + 20  [0x190b553e8]
    +               2373 _dispatch_block_async_invoke2  (in libdispatch.dylib) + 148  [0x190b64470]
    +                 2373 __NSOQSchedule_f  (in Foundation) + 172  [0x191ef97c4]
    +                   2373 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__  (in Foundation) + 16  [0x191ef98d4]
    +                     2373 -[NSOperation start]  (in Foundation) + 648  [0x191ef9b64]
    +                       2373 __NSOPERATION_IS_INVOKING_MAIN__  (in Foundation) + 16  [0x191efa7bc]
    +                         2373 -[NSBlockOperation main]  (in Foundation) + 104  [0x191efa82c]
    +                           2373 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__  (in Foundation) + 24  [0x191efa96c]
    +                             2373 __58-[_NSRecentItemsMenuController _recentDocumentURLsForKey:]_block_invoke  (in AppKit) + 232  [0x194aa01f0]
    +                               2373 LSSharedFileListItemResolve  (in SharedFileList) + 152  [0x19968806c]
    +                                 2373 +[SFLList(LSSharedFileListSupport) resolveItem:resolutionFlags:URL:fsRef:]  (in SharedFileList) + 100  [0x1996881c4]
    +                                   2373 +[SFLList(LSSharedFileListSupport) resolveItem:resolutionFlags:error:]  (in SharedFileList) + 84  [0x199688438]
    +                                     2373 -[SFLBookmark resolveWithOptions:relativeToURL:error:]  (in SharedFileList) + 128  [0x1996885f4]
    +                                       2373 __47-[_SFLItemWrapper initWithItem:listIdentifier:]_block_invoke  (in SharedFileList) + 172  [0x199688a44]
    +                                         2373 +[SFLResolveResult resultByResolvingBookmarkData:options:relativeToURL:]  (in SharedFileList) + 144  [0x199691dc0]
    +                                           2373 +[NSURL(NSURL) URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:]  (in Foundation) + 72  [0x191f53a10]
    +                                             2373 -[NSURL(NSURL) initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:]  (in Foundation) + 420  [0x191f53bd8]
    +                                               2373 _CFURLCreateByResolvingBookmarkData  (in CoreServicesInternal) + 148  [0x19444bc38]
    +                                                 2373 createByResolvingBookmarkDataInternal(__CFAllocator const*, __CFData const*, unsigned long, __CFURL const*, __CFArray const*, unsigned char*, __CFError**, __CFURL const**)  (in CoreServicesInternal) + 920  [0x19444c20c]
    +                                                   2373 resolveScopedBookmarkData(__CFAllocator const*, __CFData const*, unsigned long, __CFURL const*, unsigned char*, __CFError**)  (in CoreServicesInternal) + 380  [0x1944668e0]
    +                                                     2372 syncMessageToScopedBookmarksAgent(void*, unsigned char)  (in CoreServicesInternal) + 796  [0x19446ed9c]
    +                                                     ! 2372 xpc_connection_send_message_with_reply_sync  (in libxpc.dylib) + 288  [0x190a10a0c]
    +                                                     !   2372 dispatch_mach_send_with_result_and_wait_for_reply  (in libdispatch.dylib) + 60  [0x190b70740]
    +                                                     !     2372 _dispatch_mach_send_and_wait_for_reply  (in libdispatch.dylib) + 544  [0x190b703b0]
    +                                                     !       2372 mach_msg  (in libsystem_kernel.dylib) + 24  [0x190cc5158]
    +                                                     !         2372 mach_msg_overwrite  (in libsystem_kernel.dylib) + 476  [0x190ccd9a4]
    +                                                     !           2372 mach_msg2_internal  (in libsystem_kernel.dylib) + 80  [0x190cd75c4]
    +                                                     !             2372 mach_msg2_trap  (in libsystem_kernel.dylib) + 8  [0x190cc4dd4]

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Numbers take 42 seconds to open a file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.