Post

Replies

Boosts

Views

Activity

MTLCreateSystemDefaultDevice crash?
Device: iPod 7 iOS version: 14.4.1 , GMetalDevice = MTLCreateSystemDefaultDevice(); (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT   frame #0: 0x00000001d7a3784c libsystem_kernel.dylib`__pthread_kill + 8  * frame #1: 0x00000001f39c29e8 libsystem_pthread.dylib`pthread_kill + 212   frame #2: 0x00000001b4b738f4 libsystem_c.dylib`abort + 100   frame #3: 0x00000001bb238030 libsystem_malloc.dylib`malloc_vreport + 556   frame #4: 0x00000001bb2381e8 libsystem_malloc.dylib`malloc_report + 60   frame #5: 0x00000001bb22e2e8 libsystem_malloc.dylib`free + 432   frame #6: 0x00000001f48dab10 AGXMetalA10`___lldb_unnamed_symbol1249 + 1644   frame #7: 0x00000001f49064d4 AGXMetalA10`___lldb_unnamed_symbol1504 + 72   frame #8: 0x00000001c18ca694 Metal`+[MTLIOAccelDevice registerDevices] + 224   frame #9: 0x00000001c18ccbf8 Metal`invocation function for block in MTLDeviceArrayInitialize() + 872   frame #10: 0x0000000119505528 libdispatch.dylib`_dispatch_client_callout + 16   frame #11: 0x0000000119506e6c libdispatch.dylib`_dispatch_once_callout + 84   frame #12: 0x00000001c18cc470 Metal`MTLCreateSystemDefaultDevice + 200   frame #13: 0x00000001054f5f54 MyProject`+[FIOSView layerClass](self=<unavailable>, _cmd=<unavailable>) at IOSView.cpp:134:18 [opt]   frame #14: 0x00000001aebbd034 UIKitCore`UIViewCommonInitWithFrame + 1040   frame #15: 0x00000001aebbcbcc UIKitCore`-[UIView initWithFrame:] + 124   frame #16: 0x00000001054f6274 MyProject`-[FIOSView initWithFrame:](self=<unavailable>, _cmd=<unavailable>, Frame=<unavailable>) at IOSView.cpp:233:14 [opt]   frame #17: 0x0000000102d237f8 MyProject`invocation function for block in FAppEntry::PlatformInit() [inlined] MainThreadInit() at LaunchIOS.cpp:348:24 [opt]   frame #18: 0x0000000102d237a8 MyProject`invocation function for block in FAppEntry::PlatformInit(.block_descriptor=<unavailable>) at LaunchIOS.cpp:373:47 [opt]   frame #19: 0x0000000119503ce4 libdispatch.dylib`_dispatch_call_block_and_release + 24   frame #20: 0x0000000119505528 libdispatch.dylib`_dispatch_client_callout + 16   frame #21: 0x0000000119513994 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 972   frame #22: 0x00000001abdf85e0 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12   frame #23: 0x00000001abdf2a88 CoreFoundation`__CFRunLoopRun + 2480   frame #24: 0x00000001abdf1ba0 CoreFoundation`CFRunLoopRunSpecific + 572   frame #25: 0x00000001c2b5a598 GraphicsServices`GSEventRunModal + 160   frame #26: 0x00000001ae6e32f4 UIKitCore`-[UIApplication _run] + 1052   frame #27: 0x00000001ae6e8874 UIKitCore`UIApplicationMain + 164   frame #28: 0x0000000102d312bc MyProject`main(argc=3, argv=0x000000016d4e7700) at LaunchIOS.cpp:584:13 [opt]   frame #29: 0x00000001abad0568 libdyld.dylib`start + 4
2
0
2.5k
Dec ’22
XCSBuilderService Connection die, something progress was block?
I have 80+ bots on Xcode Server. We use reset API to create our bots, and active once the integration of all bots. Later the Xcode Server was die away. when I restart XcodeServer (which had 2 integration tasks on the CouchDB), the 2 task was active and run success. and later XcodeServer entry died away again. I was collect some logs from XCSBuilderService. Dispatch Thread Soft Limit: 64 reached in 2156 of 2156 samples -- too many dispatch threads blocked in synchronous operations Call graph: 2156 Thread_680651 DispatchQueue_1: com.apple.main-thread (serial) + 2156 start (in dyld) + 520 [0x102ca508c] + 2156 main (in XCSBuilderService) + 92 [0x102b3c15c] + 2156 -[NSXPCListener resume] (in Foundation) + 344 [0x18d969eac] + 2156 xpc_main (in libxpc.dylib) + 108 [0x18c6d71d0] + 2156 _xpc_objc_main (in libxpc.dylib) + 876 [0x18c6d78b4] + 2156 -[NSRunLoop(NSRunLoop) run] (in Foundation) + 92 [0x18d9d8464] + 2156 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) + 236 [0x18d9480c0] + 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84] + 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0] + 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210] + 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20] + 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0] 2156 Thread_680717: com.apple.NSURLConnectionLoader + 2156 thread_start (in libsystem_pthread.dylib) + 8 [0x18c99308c] + 2156 _pthread_start (in libsystem_pthread.dylib) + 148 [0x18c99826c] + 2156 __NSThread__start__ (in Foundation) + 808 [0x18d9405cc] + 2156 ??? (in CFNetwork) load address 0x1915ef000 + 0x26b638 [0x19185a638] + 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84] + 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0] + 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210] + 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20] + 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0] 2156 Thread_954093 DispatchQueue_46513: -[DVTSourceControlWorkspaceBlueprint init] (QOS: UNSPECIFIED) (concurrent) More file: XCSBuilderServerFaile.log Sample of XCSBuilderService.txt By the way, if apple did not support it. can you open Source this code of XCS's all files? Thanks
2
1
1.6k
Nov ’22
what's XCS2-Dashboard/dashboard ?
some one can share this? Path: /Applications/Xcode.app/Contents/Developer/usr/share/xcs/xcsd/app/app_global_config.js  Above: Xcode 7 have this config. `function initDashboard() { if (cluster.isMaster || cluster.isDisabled) { var dashboardPath = path.join(__dirname, '../public/XCS2-Dashboard/dashboard'); if (fs.existsSync(dashboardPath)) { redisClass.client().hset('XCSDashboard key', 'isDashboardInstalled', dashboardPath); logger.info('Xcode Server Dashboard is installed.'); } else { redisClass.client().hdel('XCSDashboard key', 'isDashboardInstalled'); logger.debug('Xcode Server Dashboard is not installed.'); } } }
0
0
1.2k
Nov ’22
Swift LLDB fail
when i use po, alway show this error. (lldb) po viewModel error: warning: Failed to load linked library UIKit of module Login - errors: Looking for "@rpath/UIKit.framework/UIKit", error: (null) Failed to find framework for "UIKit" looking along paths:  /Users/name/Library/Developer/Xcode/DerivedData/Game-fbcssrnefpcutjgjoxicuabsatne/Build/Products/Debug-iphoneos/UIKit.framework/ Looking for "/Users/name/Library/Developer/Xcode/DerivedData/MegabilityInterface-hiqhsjxojjhqgudnbcwzmovnxrqu/Build/Intermediates.noindex/ArchiveIntermediates/MegabilityInterface/BuildProductsPath/Release-iphoneos/UIKit.framework/" ,  error: (null) error: <EXPR>:2:11: error: cannot find type '$__lldb_context' in scope extension $__lldb_context {      ^~~~~~~~~~~~~~~ error: <EXPR>:19:5: error: cannot find '$__lldb_injected_self' in scope   $__lldb_injected_self.$__lldb_wrapped_expr_10(   ^~~~~~~~~~~~~~~~~~~~~ (lldb)  I was try setting this config by SWIFT_OPTIMIZATION_LEVEL DEBUG_INFORMATION_FORMAT Still does't work. if i use IDE 'Print Description of "viewModel" ' Printing description of viewModel: (Game.ViewModel) viewModel = <Unable to determine byte size.> Still error of LLDB?
2
0
2.4k
Sep ’22
iOS16 [MXMetricManager deliverMetricPayload:] Crash
We have use MetricKit API when app was launched. [[MXMetricManager sharedManager] addSubscriber:self]; the exception is here. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Triggered by Thread: 27 Last Exception Backtrace: 0 CoreFoundation 0x18dbae248 __exceptionPreprocess + 164 (NSException.m:202) 1 libobjc.A.dylib 0x186fc3a68 objc_exception_throw + 60 (objc-exception.mm:356) 2 CoreFoundation 0x18dd19fec __NSFastEnumerationMutationHandler + 116 (NSEnumerator.m:130) 3 Foundation 0x18804d828 -[NSConcreteHashTable countByEnumeratingWithState:objects:count:] + 76 (NSHashTable.m:577) 4 MetricKit 0x1fddf8868 -[MXMetricManager deliverMetricPayload:] + 408 (MXMetricManager.m:336) 5 Foundation 0x1880b66c8 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S1__ + 16 (NSXPCConnection.m:189) 6 Foundation 0x188686e34 -[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:] + 1644 (NSXPCConnection.m:705) 7 Foundation 0x188688608 message_handler_message + 88 (NSXPCConnection.m:826) 8 Foundation 0x188688074 message_handler + 152 (NSXPCConnection.m:797) 9 libxpc.dylib 0x1da21a18c _xpc_connection_call_event_handler + 152 (connection.c:834) 10 libxpc.dylib 0x1da21a5bc _xpc_connection_mach_event + 992 (connection.c:1445) 11 libdispatch.dylib 0x194ff609c _dispatch_client_callout4 + 20 (object.m:600) 12 libdispatch.dylib 0x195012830 _dispatch_mach_msg_invoke + 468 (mach.c:2462) 13 libdispatch.dylib 0x194ffd56c _dispatch_lane_serial_drain + 376 (inline_internal.h:0) 14 libdispatch.dylib 0x19501354c _dispatch_mach_invoke + 448 (mach.c:2784) 15 libdispatch.dylib 0x194ffd56c _dispatch_lane_serial_drain + 376 (inline_internal.h:0) 16 libdispatch.dylib 0x194ffe214 _dispatch_lane_invoke + 436 (queue.c:3940) 17 libdispatch.dylib 0x195008e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846) 18 libsystem_pthread.dylib 0x1da1c5df8 _pthread_wqthread + 288 (pthread.c:2618) 19 libsystem_pthread.dylib 0x1da1c5b98 start_wqthread + 8 how to fix this issues?
11
1
2.9k
Sep ’22
Xcode Server Launch Daemons error
check out the error log by Launch Daemons Looks like NodeJS Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. (node:99989) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99988) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99990) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99991) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99990) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99988) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99990) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99991) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99989) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99991) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99988) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99989) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated Option log level is not valid. Please refer to the README. (node:2012) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:2012) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
1
0
1.3k
Aug ’22
What's New Xcode Server, no longer supported? Why?
Our team always use Xcode Server, we love this tool with Xcode IDE. At this Xcode 14 beta 4, "Xcode Server is no longer supported. (73888675)" Why do this for us? Need we move to Xcode Cloud? How to figure out private CocoaPods? We have may lib 200+, how to move to Cloud? Please keep update Xcode Server, or Open Source it, how to integration with Xcode IDE, we love this feature. By the way, for Xcode Server new feature need update. The execution of multi-tasking(Xcode Bots) ensures that the machine will not hangs. Update couthDB and couthJS with M1.
0
1
1.4k
Aug ’22