Can you please give any advice on what to do next?
I saw that the app hangs on a remote session. But I don't know what process hangs the app.
I do realize that the proper way is to move everything except drawing to the BG queues. But I have a lot of legacy code. And my boss definitely isn't going to pay for overriding the whole app. And even then I can't guaranty the problem be solved.
Spindump:
I saw that the app hangs on a remote session. But I don't know what process hangs the app.
I do realize that the proper way is to move everything except drawing to the BG queues. But I have a lot of legacy code. And my boss definitely isn't going to pay for overriding the whole app. And even then I can't guaranty the problem be solved.
Spindump:
Code Block End time: 2021-01-29 15:58:32.475 +0100\ OS Version: macOS 11.1 (Build 20C69)\ Architecture: arm64e\ Report Version: 32\ Share With Devs: Yes\ \ Data Source: Stackshots\ Shared Cache: 64510D3B-D7B4-3C73-803C-AD9F01B790AD slid base address 0x18f298000, slide 0xf298000\ Shared Cache: E2B1A630-68DD-30AC-A036-6AC018B154DA slid base address 0x7fff20094000, slide 0x94000\ \ Command: MyApp\ Path: /private/var/folders/*/MyApp.app/Contents/MacOS/MyApp\ Identifier: com.companyname.myappid\ Version: 7.3.1 (815)\ Parent: launchd [1]\ PID: 2264\ Time Since Fork: 464s\ Note: Translocated\ \ Event: hang\ Duration: 446.85s\ Duration Sampled: 4.70s (process was unresponsive for 442 seconds before sampling)\ Steps: 47 (100ms sampling interval)\ Report threshold: 2.5s\ \ Hardware model: MacBookAir10,1\ Active cpus: 8\ \ Time Awake Since Boot: 2536s\ Time Since Wake: n/a (machine hasn't slept)\ \ \ --------------------------------------------------\ Timeline format: stacks are sorted chronologically\ Use -i and -heavy to re-report with count sorting\ --------------------------------------------------\ \ \ Heaviest stack for the main thread of the target process:\ 47 <truncated backtrace>\ 47 -[NSBundle initWithPath:] + 392 (Foundation + 15300) [0x1903a1bc4]\ 47 access + 8 (libsystem_kernel.dylib + 5952) [0x18f548740]\ *47 ??? (kernel.release.t8101 + 30696) [0xfffffe0007c137e8]\ *47 ??? (kernel.release.t8101 + 1447416) [0xfffffe0007d6d5f8]\ *47 ??? (kernel.release.t8101 + 6596008) [0xfffffe00082565a8]\ *47 ??? (kernel.release.t8101 + 2786396) [0xfffffe0007eb445c]\ *47 ??? (kernel.release.t8101 + 2785876) [0xfffffe0007eb4254]\ *47 kauth_authorize_action + 252 (kernel.release.t8101 + 5274992) [0xfffffe0008113d70]\ *47 VnodeScopeListener + 1000 (AppleFileUtil + 51028) [0xfffffe0008b98754]\ *47 Placeholders_Hydrate + 304 (AppleFileUtil + 54376) [0xfffffe0008b99468]\ *47 _Placeholders_Hydrate_Wait_For_Completion + 284 (AppleFileUtil + 56540) [0xfffffe0008b99cdc]\ *47 Tickets_WaitOnTicketResponse + 732 (AppleFileUtil + 10076) [0xfffffe0008b8e75c]\ *47 Kernel_Cond_Wait + 64 (AppleFileUtil + 45928) [0xfffffe0008b97368]\ *47 ??? (kernel.release.t8101 + 5591856) [0xfffffe0008161330]\ *47 lck_mtx_sleep_deadline + 132 (kernel.release.t8101 + 395372) [0xfffffe0007c6c86c]\ *47 ??? (kernel.release.t8101 + 462928) [0xfffffe0007c7d050]\ *47 ??? (kernel.release.t8101 + 468128) [0xfffffe0007c7e4a0]\ - - - Binary Images:\ 0x1025ec000 - 0x102afbfff com.companyname.myappid 7.3.1 (815) <D7CFCE67-1556-322E-A82B-64604ECBB0E3> /private/var/folders/*/MyApp.app/Contents/MacOS/MyApp\ 0x18f547000 - 0x18f579fff libsystem_kernel.dylib (7195.60.75) <35BFD663-2C38-3E0F-A35E-8C1BC6400898> /usr/lib/system/libsystem_kernel.dylib\ 0x18f57a000 - 0x18f585fff libsystem_pthread.dylib (454.60.1) <EDB716F3-BF94-3941-B7DA-D6C91094C645> /usr/lib/system/libsystem_pthread.dylib\ 0x18f5f8000 - 0x18faa1fff com.apple.CoreFoundation 6.9 (1770.300) <396F9604-7574-3C1B-ACA7-C7EB24FE3544> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\ 0x19039e000 - 0x19072ffff com.apple.Foundation 6.9 (1770.300) <5CEA7350-F274-39AE-9F27-D9813F2C3A76> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation\ 0x191e10000 - 0x192b6efff com.apple.AppKit 6.9 (2022.20.119) <78F21674-643E-3793-B1CD-C8BDBC76BAD5> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\ *0xfffffe0007c0c000 - 0xfffffe00083f7fff kernel.release.t8101 (7195.60.75) <48F71DB3-6C91-3E62-9576-3A1DCEF2B536>TEXT_EXEC /System/Library/Kernels/kernel.release.t8101\ *0xfffffe0008b8c000 - 0xfffffe0008b9ffff com.apple.fileutil 20.036.15 (20.036.15) <73495C49-0EF7-3EA5-ADC9-0BD2D90305A0>TEXT_EXEC /System/Library/Extensions/AppleFileUtil.kext/Contents/MacOS/AppleFileUtil\ *0xfffffe000a9d8000 - 0xfffffe000a9dffff com.apple.kec.pthread 1.0 (1) <EEB71141-5752-31E8-8495-2AF64D829A69>__TEXT_EXEC /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread\