-
Notifications
You must be signed in to change notification settings - Fork 121
Description
Hi,
I filed an Apple feedback FB19614690 but I was told by people involved that I should also create an issue here.
TLDR:
I'm seeing that xcodebuild randomly crashes when building a simple project on multiple versions of Xcode and macOS, inside an intel VM on an Intel mac host. This happens across many hosts with the same kind of CPU, but doesn't happen on other kind of hosts.
Crash can be reproduced in about 50-200 xcodebuild calls.
Intel host info:
CPU: Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
macOS version: 13.6.9
Parallels version: 18.2.0-53488
Guest info:
macOS 15.6 or macOS 26 beta5
Xcode version 16.1, 16.4, latest 26.0 beta 5
Attaching a small reproducer that contains a default-created xcode project, that build a main.cpp, and a shell script that runs xcodebuild on that project until it fails.
Also attaching the latest ips file of the crash.
I was told this might have been fixed #728
So I tried building the main branch of swift-build (e3d484f02be25ca96d116706ddc4d4901c2456aa
, which should contain the fix), and exported an XCBBUILDSERVICE_PATH
variable pointing to the built SWBBuildServiceBundle
file.
Unfortunately the crash still reproduces.