Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

akikos

macrumors newbie
Original poster
Jun 10, 2022
1
0
My MacBook Pro 2018 mid has kernel panic from Xcode 13.3 - 13.4.1 when simulator is running.

I created a thread at developer forum and other developers have the issue.

Code:
....
....
"build" : "Bridge OS 6.4 (19P4242)",
  "crashReporterKey" : "c0dec0dec0dec0dec0dec0dec0dec0dec0de0001",
  "date" : "2022-03-18 15:35:12.67 +0000",
  "incident" : "0AE51903-B430-42ED-A69F-FCF4230012C4",
  "kernel" : "Darwin Kernel Version 21.4.0: Mon Feb 21 20:11:10 PST 2022; root:xnu-8020.101.4~1\/RELEASE_ARM64_T8010",
  "macOSOtherString" : "\n** In Memory Panic Stackshot Succeeded ** Bytes Traced 499980 (Uncompressed 1188432) **\n",
  "macOSPanicFlags" : "0xc",
  "macOSPanicString" : "panic(cpu 0 caller 0xffffff7fb00e8505): \"Submission on work queue 35 failed due to insufficient space!\\n\" @IGGuC.cpp:2899\nPanicked task 0xffffff9038a61060: 5 threads: pid 1666: SimMetalHost\nBacktrace (CPU 0), panicked thread: 0xffffff8b6ac3a000, Frame : Return Address\n0xffffffd04a9f2de0 : 0xffffff8017a83e1d \n0xffffffd04a9f2e30 : 0xffffff8017be3ca6
....
...

it seems that the issue is only for intel Mac.

Have anyone the issue here?
Do you find a solution?
 
I found if I run even macOS 12.6.3 with XCode 14.2 and run the simulator -- crash. If I run macOS 12.6.3, XCode 14.2, install iOS 15.5, run one of those sims? No crash. I started xcode, went to window -> Device and simulators -> Simulator. Hit the plus in bottom left. Under OS version I picked "Download more simulator runtimes". Once you pick an older IOS and it's installed, you can back out of this whole thing, you do not have to create a new simulator, it automatically creates a set of devices with iOS 15.5 instead of 16.2. Once the download has finished, start up the simulator, close the iphone if it opens (since it'll be an ios16 one that'll crash your system) and you can pick an ios15.5 one off the list to start up instead. No crashy!

It was getting a bit old to have to fire up a VM with Big Sur and XCode 12.5 in it (... I'm guessing that really just worked because it's the newest XCode version with iOS 15.x rather than iOS 16?) I'm a bit disturbed as a computer scientist that this kernel panics the system, rather than crashing Simulator... but whatever, workaround successful.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.