XCode 14.2 randomly crashes often since update to Ventura

Doesn't seem to make much sense. I'm toying around with a SpriteKit project that hasn't gotten very far off the ground

I noticed this in the error log: EXEC_BAD_ACCESS

Any ideas?..

Apple doesn't make it easy to teach yourself dev on this this platform. Let's not even start about the documentation ...

  • Same here. The Xcode 14.2 is randomly crashing! EXEC_BAD_ACCESS. I am tired of sending crash reports to Apple.

Add a Comment

Replies

If Xcode itself is crashing, file a bug, this will tell you how. https://developer.apple.com/bug-reporting/

If your program is crashing, and you want help on this forum, you'll want to post relevant code samples, after you've gone some way to investigate the problem yourself. Start here. https://developer.apple.com/documentation/xcode/diagnosing-and-resolving-bugs-in-your-running-app

Same here. The Xcode 14.2 is randomly crashing! EXEC_BAD_ACCESS. I am tired of sending crash reports to Apple.

The Xcode 14.2 is randomly crashing!

Have you filed a bug about this? If so, what was the bug number?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Seeing this also.

Filled a bug - https://feedbackassistant.apple.com/feedback/11968981

Seems to be since updating to Ventura 13.2 (didn't notice it this regular until just updating 2 days ago).

Yesterday I would say I had 6+ crashes. Where as usually I see an Xcode crash maybe once a week

-Thanks!

FB11968981Thanks for filing FB11968981.

I’m seeing a similar crash myself. And some searching turned up various reports from others (r. 101104326, 103041145). This seems like a Real Bug™, although I’ve no info to share about its status.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • I have similar crashes with Xcode each time I try to enable SwiftUI preview. Yes, I opened an issue (FB11976483)

    I just don't get what wrong.

    I see that Xcode just call abort() and this in stack trace of crash time: [IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:]

    Might be related to Swift driver (swift-driver [88560]) that also output a crash report

Add a Comment

Wait...what happened to the standard order of operations??

  1. Complain about defect on forums
  2. eskimo comments telling you to log a feedback/bug
  3. Log feedback/bug
  4. eskimo fixes it or tells you it is fixed
  5. Profit

Pretty sure we're on step 4 now.... ;)

Just wanted to follow up...

I haven't taken any updates of Xcode or Ventura...but I'm not seeing the crashes happening anymore...

I am the type of person that shuts down every night, so maybe it just need a few reboots to clean things up???

Thanks for the information on how to correctly file a bug report. I've filed bug number FB11988407. I've updated to the latest versions of XCode and macOS since this was posted (1 month ago), unfortunately, the issue persists

Let me know if there's anything else I should be doing to help get my XCode a little less crash-happy.

From past few days, my Xcode has been crashing every 5 mins

Any fix or workaround for this problem yet? Xcode crashes multiple times an hour for me and it's been going on for a month or more. I just installed the latest Venture 13.5 beta hoping it might resolve it, but Xcode crashed again within 5 minutes.

I've noticed a lot of swift-frontend process crashes and Xcode failing to do basic operation, like search for callees. Not sure if it's related, but it's annoying for sure

I updated Xcode to version 14.3.1 and it still crashes regularly. It seems to be something to do with GIT source control:

Thread 16 Crashed::  Dispatch queue: DVTSourceControlGitXPCClient :: Proxy Completion Queue
0   libobjc.A.dylib               	       0x1a27e7ff4 AutoreleasePoolPage::releaseUntil(objc_object**) + 4
1   libobjc.A.dylib               	       0x1a27e4b7c objc_autoreleasePoolPop + 256
2   CoreFoundation                	       0x1a2c1a59c _CFAutoreleasePoolPop + 32
3   Foundation                    	       0x1a3bc8b14 __NSIndexSetEnumerate + 1104
4   Foundation                    	       0x1a3baa024 _NSKeyValueObservationInfoGetObservances + 412
5   Foundation                    	       0x1a3baa150 NSKeyValueWillChange + 176
6   Foundation                    	       0x1a3b9ad18 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 464
7   Foundation                    	       0x1a3bc4f10 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 64
8   Foundation                    	       0x1a3bde43c _NSSetObjectValueAndNotify + 284
9   DVTSourceControl              	       0x10453b480 -[DVTSourceControlWorkingCopy(Operations) updateCurrentLocations:branches:stashes:remoteRepositories:remoteBranches:currentLocation:recentLocations:primaryRemoteRepository:currentState:] + 2264
10  DVTSourceControl              	       0x1045b2e78 closure #2 in DVTSourceControlWorkingCopy.updateCurrentLocations(completionBlock:) + 1424
11  DVTSourceControl              	       0x104597cfc closure #1 in DVTSourceControlGitXPCClient.complete(with:) + 60
12  DVTSourceControl              	       0x104578114 thunk for @callee_guaranteed () -> () + 20
13  DVTSourceControl              	       0x104578134 thunk for @escaping @callee_guaranteed () -> () + 20
14  libdispatch.dylib             	       0x1a29cc400 _dispatch_client_callout + 20
15  libdispatch.dylib             	       0x1a29db97c _dispatch_lane_barrier_sync_invoke_and_complete + 56
16  DVTSourceControl              	       0x104597c30 DVTSourceControlGitXPCClient.complete(with:) + 228
17  DVTSourceControl              	       0x104597f78 DVTSourceControlGitXPCClient.complete(with:context:) + 588
18  DVTSourceControl              	       0x1045ce2ec closure #1 in DVTSourceControlGitXPCOperation.init(proxyObject:identifier:client:context:operationBlock:) + 108
19  DVTSourceControl              	       0x104578bfc DVTSourceControlXPCOperation.complete(with:) + 92
20  DVTSourceControl              	       0x104578ed0 closure #1 in closure #1 in DVTSourceControlXPCOperation.operate(with:) + 68
21  DVTSourceControl              	       0x104578858 closure #1 in DVTSourceControlXPCOperation.execute(from:to:block:) + 84
22  DVTSourceControl              	       0x104579d30 partial apply for thunk for @callee_guaranteed () -> () + 20
23  DVTSourceControl              	       0x104578134 thunk for @escaping @callee_guaranteed () -> () + 20
24  libdispatch.dylib             	       0x1a29cc400 _dispatch_client_callout + 20
25  libdispatch.dylib             	       0x1a29db97c _dispatch_lane_barrier_sync_invoke_and_complete + 56
26  DVTSourceControl              	       0x104578434 DVTSourceControlXPCOperation.execute(from:to:block:) + 276
27  DVTSourceControl              	       0x104578300 DVTSourceControlXPCOperation.execute(from:to:block:) + 120
28  DVTSourceControl              	       0x104578e5c closure #1 in DVTSourceControlXPCOperation.operate(with:) + 240
29  DVTSourceControl              	       0x1045b3f28 thunk for @escaping @callee_guaranteed (@guaranteed DVTSourceControlRevisionLocationResultType) -> () + 52
30  CoreFoundation                	       0x1a2c3c7f4 __invoking___ + 148
31  CoreFoundation                	       0x1a2c3c668 -[NSInvocation invoke] + 428
32  Foundation                    	       0x1a3b954fc __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 16
33  Foundation                    	       0x1a3b93b68 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 520
34  Foundation                    	       0x1a3b934c4 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 188
35  libxpc.dylib                  	       0x1a28c1650 _xpc_connection_reply_callout + 124
36  libxpc.dylib                  	       0x1a28c1540 _xpc_connection_call_reply_async + 88
37  libdispatch.dylib             	       0x1a29cc480 _dispatch_client_callout3 + 20
38  libdispatch.dylib             	       0x1a29ea624 _dispatch_mach_msg_async_reply_invoke + 344
39  libdispatch.dylib             	       0x1a29d3960 _dispatch_lane_serial_drain + 372
40  libdispatch.dylib             	       0x1a29d462c _dispatch_lane_invoke + 436
41  libdispatch.dylib             	       0x1a29df244 _dispatch_workloop_worker_thread + 648
42  libsystem_pthread.dylib       	       0x1a2b78074 _pthread_wqthread + 288
43  libsystem_pthread.dylib       	       0x1a2b76d94 start_wqthread + 8