Post

Replies

Boosts

Views

Activity

Reply to App hanging at __ulock_wait2 in NSLog
I find that if I launch a subprocess from another process, the NSLog in this subprocess may encounter blocking issues (__ulock_wait). However, when I close its parent process, causing its parent to become the system, it can then continue to execute normally. + 2451 -[NSWorkspace isFilePackageAtPath:] (in AppKit) + 212 [0x18e1e49a8] + 2451 NSLog (in Foundation) + 56 [0x18b042f84] + 2451 _NSLogv (in Foundation) + 164 [0x18b0fee98] + 2451 _CFLogvEx3 (in CoreFoundation) + 252 [0x189f626e4] + 2451 _CFLogvEx2Predicate (in CoreFoundation) + 344 [0x189f62a7c] + 2451 __CFLogCString (in CoreFoundation) + 84 [0x189fe4974] + 2451 _logToStderr (in CoreFoundation) + 164 [0x189f62d50] + 2451 writev (in libsystem_kernel.dylib) + 8 [0x189e3472c]
Mar ’24