Post

Replies

Boosts

Views

Activity

Application Hangs on a user's side. Spindupm does not contain any code related to mine(Apple frameworks only)
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: End time:&#9;&#9;&#9;&#9; 2021-01-29 15:58:32.475 +0100\ OS Version:&#9;&#9;&#9; macOS 11.1 (Build 20C69)\ Architecture:&#9;&#9; arm64e\ Report Version:&#9; 32\ Share With Devs:&#9;Yes\ \ Data Source:&#9;&#9;&#9;Stackshots\ Shared Cache:&#9;&#9; 64510D3B-D7B4-3C73-803C-AD9F01B790AD slid base address 0x18f298000, slide 0xf298000\ Shared Cache:&#9;&#9; E2B1A630-68DD-30AC-A036-6AC018B154DA slid base address 0x7fff20094000, slide 0x94000\ \ Command:&#9;&#9;&#9;&#9;&#9;MyApp\ Path:&#9;&#9;&#9;&#9;&#9;&#9; /private/var/folders/*/MyApp.app/Contents/MacOS/MyApp\ Identifier:&#9;&#9;&#9; com.companyname.myappid\ Version:&#9;&#9;&#9;&#9;&#9;7.3.1 (815)\ Parent:&#9;&#9;&#9;&#9;&#9; launchd [1]\ PID:&#9;&#9;&#9;&#9;&#9;&#9;&#9;2264\ Time Since Fork:&#9;464s\ Note:&#9;&#9;&#9;&#9;&#9;&#9; Translocated\ \ Event:&#9;&#9;&#9;&#9;&#9;&#9;hang\ Duration:&#9;&#9;&#9;&#9; 446.85s\ Duration Sampled: 4.70s (process was unresponsive for 442 seconds before sampling)\ Steps:&#9;&#9;&#9;&#9;&#9;&#9;47 (100ms sampling interval)\ Report threshold: 2.5s\ \ Hardware model:&#9; MacBookAir10,1\ Active cpus:&#9;&#9;&#9;8\ \ Time Awake Since Boot: 2536s\ Time Since Wake:&#9;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:\ &#9;47&#9;<truncated backtrace>\ &#9;47&#9;-[NSBundle initWithPath:] + 392 (Foundation + 15300) [0x1903a1bc4]\ &#9;47&#9;access + 8 (libsystem_kernel.dylib + 5952) [0x18f548740]\47&#9;??? (kernel.release.t8101 + 30696) [0xfffffe0007c137e8]\ 47&#9;??? (kernel.release.t8101 + 1447416) [0xfffffe0007d6d5f8]\ 47&#9;??? (kernel.release.t8101 + 6596008) [0xfffffe00082565a8]\ 47&#9;??? (kernel.release.t8101 + 2786396) [0xfffffe0007eb445c]\ 47&#9;??? (kernel.release.t8101 + 2785876) [0xfffffe0007eb4254]\ 47&#9;kauth_authorize_action + 252 (kernel.release.t8101 + 5274992) [0xfffffe0008113d70]\ 47&#9;VnodeScopeListener + 1000 (AppleFileUtil + 51028) [0xfffffe0008b98754]\ 47&#9;Placeholders_Hydrate + 304 (AppleFileUtil + 54376) [0xfffffe0008b99468]\ 47&#9;_Placeholders_Hydrate_Wait_For_Completion + 284 (AppleFileUtil + 56540) [0xfffffe0008b99cdc]\ 47&#9;Tickets_WaitOnTicketResponse + 732 (AppleFileUtil + 10076) [0xfffffe0008b8e75c]\ 47&#9;Kernel_Cond_Wait + 64 (AppleFileUtil + 45928) [0xfffffe0008b97368]\ 47&#9;??? (kernel.release.t8101 + 5591856) [0xfffffe0008161330]\ 47&#9;lck_mtx_sleep_deadline + 132 (kernel.release.t8101 + 395372) [0xfffffe0007c6c86c]\ 47&#9;??? (kernel.release.t8101 + 462928) [0xfffffe0007c7d050]\ 47&#9;??? (kernel.release.t8101 + 468128) [0xfffffe0007c7e4a0]\ &#9;Binary Images:\ &#9;&#9;&#9;&#9;&#9; 0x1025ec000 -&#9;&#9;&#9;&#9;0x102afbfff&#9;com.companyname.myappid 7.3.1 (815)&#9;<D7CFCE67-1556-322E-A82B-64604ECBB0E3>&#9;&#9;&#9;&#9;&#9;&#9;&#9;/private/var/folders/*/MyApp.app/Contents/MacOS/MyApp\ &#9;&#9;&#9;&#9;&#9; 0x18f547000 -&#9;&#9;&#9;&#9;0x18f579fff&#9;libsystem_kernel.dylib (7195.60.75)&#9;&#9;&#9;<35BFD663-2C38-3E0F-A35E-8C1BC6400898>&#9;&#9;&#9;&#9;&#9;&#9;&#9;/usr/lib/system/libsystem_kernel.dylib\ &#9;&#9;&#9;&#9;&#9; 0x18f57a000 -&#9;&#9;&#9;&#9;0x18f585fff&#9;libsystem_pthread.dylib (454.60.1)&#9;&#9;&#9; <EDB716F3-BF94-3941-B7DA-D6C91094C645>&#9;&#9;&#9;&#9;&#9;&#9;&#9;/usr/lib/system/libsystem_pthread.dylib\ &#9;&#9;&#9;&#9;&#9; 0x18f5f8000 -&#9;&#9;&#9;&#9;0x18faa1fff&#9;com.apple.CoreFoundation 6.9 (1770.300)&#9;<396F9604-7574-3C1B-ACA7-C7EB24FE3544>&#9;&#9;&#9;&#9;&#9;&#9;&#9;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\ &#9;&#9;&#9;&#9;&#9; 0x19039e000 -&#9;&#9;&#9;&#9;0x19072ffff&#9;com.apple.Foundation 6.9 (1770.300)&#9;&#9;&#9;<5CEA7350-F274-39AE-9F27-D9813F2C3A76>&#9;&#9;&#9;&#9;&#9;&#9;&#9;/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation\ &#9;&#9;&#9;&#9;&#9; 0x191e10000 -&#9;&#9;&#9;&#9;0x192b6efff&#9;com.apple.AppKit 6.9 (2022.20.119)&#9;&#9;&#9; <78F21674-643E-3793-B1CD-C8BDBC76BAD5>&#9;&#9;&#9;&#9;&#9;&#9;&#9;/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\ &#9; *0xfffffe0007c0c000 - 0xfffffe00083f7fff&#9;kernel.release.t8101 (7195.60.75)&#9;&#9;&#9;&#9;<48F71DB3-6C91-3E62-9576-3A1DCEF2B536>__TEXT_EXEC&#9; /System/Library/Kernels/kernel.release.t8101\ &#9; *0xfffffe0008b8c000 - 0xfffffe0008b9ffff&#9;com.apple.fileutil 20.036.15 (20.036.15) <73495C49-0EF7-3EA5-ADC9-0BD2D90305A0>__TEXT_EXEC&#9; /System/Library/Extensions/AppleFileUtil.kext/Contents/MacOS/AppleFileUtil\ &#9; *0xfffffe000a9d8000 - 0xfffffe000a9dffff&#9;com.apple.kec.pthread 1.0 (1)&#9;&#9;&#9;&#9;&#9;&#9;<EEB71141-5752-31E8-8495-2AF64D829A69>__TEXT_EXEC&#9; /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread\
1
0
1.7k
Feb ’21
demangling_terminate_handler crash. How to find the reason?
The crash was received from user and I'm unable to reproduce it =( Report Version: 12 Bridge OS Version: 3.0 (14Y908) Time Awake Since Boot: 25000 seconds Time Since Wake: 3900 seconds System Integrity Protection: enabled Crashed Thread: 9 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called terminating with uncaught exception of type NSException //Four threads perform operations(remove files). and I did not find anything that can cause "locks" or something wrong. Thread 9 Crashed: 0 libsystem_kernel.dylib 0x00007fff204bf936 0x7fff204b8000 + 31030 1 libsystem_c.dylib 0x00007fff20443411 abort + 120 2 libc++abi.dylib 0x00007fff204b1ef2 abort_message + 241 3 libc++abi.dylib 0x00007fff204a35fd demangling_terminate_handler() + 266 4 libobjc.A.dylib 0x00007fff2039c58d _objc_terminate() + 96 5 libc++abi.dylib 0x00007fff204b1307 std::__terminate(void (*)()) + 8 6 libc++abi.dylib 0x00007fff204b12a9 std::terminate() + 41 7 libdispatch.dylib 0x00007fff203447fa 0x7fff20341000 + 14330 8 libdispatch.dylib 0x00007fff2034a5ca 0x7fff20341000 + 38346 9 libdispatch.dylib 0x00007fff2034b08d 0x7fff20341000 + 41101 10 libdispatch.dylib 0x00007fff20354bed 0x7fff20341000 + 80877 11 libsystem_pthread.dylib 0x00007fff204eb4c0 0x7fff204e8000 + 13504 12 libsystem_pthread.dylib 0x00007fff204ea493 0x7fff204e8000 + 9363 Thread 9 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007000022d1000 rcx: 0x00007000022d02e8 rdx: 0x0000000000000000 rdi: 0x000000000004d327 rsi: 0x0000000000000006 rbp: 0x00007000022d0310 rsp: 0x00007000022d02e8 r8: 0x00007000022d01b0 r9: 0x0000000000000000 r10: 0x00007000022d1000 r11: 0x0000000000000246 r12: 0x000000000004d327 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007fff204bf936 rfl: 0x0000000000000246 cr2: 0x00007fff8081d400 Logical CPU: 0 Error Code: 0x020000dc Trap Number: 133 Thread 9 instruction stream not available. Thread 9 last branch register state not available. Binary Images: 0x7fff20341000 - 0x7fff20385fff libdispatch.dylib (1271.100.5) <91C02276-B0B7-3391-BDB2-F0CAAEF0CA11> /usr/lib/system/libdispatch.dylib 0x7fff204a2000 - 0x7fff204b7fff libc++abi.dylib (905.6) <0E137B9A-B841-3360-B183-539C7306C4DC> /usr/lib/libc++abi.dylib 0x7fff20386000 - 0x7fff203bffff libobjc.A.dylib (824) <B96EE933-7F66-3766-BA8C-A0460F9549CF> /usr/lib/libobjc.A.dylib 0x7fff203c3000 - 0x7fff2044bfff libsystem_c.dylib (1439.100.3) <9ACE66E2-F984-3185-8814-47C659740AD2> /usr/lib/system/libsystem_c.dylib 0x7fff204b8000 - 0x7fff204e7fff libsystem_kernel.dylib (7195.100.354.131.1) <BC055178-6A8A-3063-8C18-6EC135657827> /usr/lib/system/libsystem_kernel.dylib 0x7fff204e8000 - 0x7fff204f3fff libsystem_pthread.dylib (454.100.8) <F33FF9C7-08A4-3EBA-A3E7-042288C3644D> /usr/lib/system/libsystem_pthread.dylib I found a bit similar crash https://developer.apple.com/forums/thread/124855. But I don't have "Last Exception Backtrace" or anything similar in my crashlog. Only: "last branch register state not available." and "last branch register state not available.". The only activity I can perform is to use "Standard Memory Debugging Tools". At the moment I don't even know if my case relates to this "Memory Issues".
0
2
2.5k
Jul ’21