utmapp / utmapp/UTM

Crash and revert to old version after update to MacOS 15.4.1 with File Vault enabled

Open
#7,138 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

**Describe the issue**
After upgrading a MacOS 15.4.0 guest to 15.4.1 with file vault enabled, the system reboots to the login screen. When I log in, the screen gets black, reboots and reverts to 15.4.0. After a successful login, it creates a problem report (see below) and offers again to install 15.4.1. Multiple tries result in the same problem. Upgrading via recovery re-install results in the same problem.

The only way to upgrade successfully seems to be disable File Vault before doing the upgrade.

**Configuration**
* UTM Version: 4.6.5 (108)
* macOS Version: 15.4.1 (Host), 15.4.0 (Guest)
* Mac Chip: M3 Max

**MacOS Guest Problem Report**

Expand

```plain
panic(cpu 0 caller 0xfffffe0018430168): /AppleInternal/Library/BuildRoots/e6fae4ac-15bb-11f0-b496-a69e7091fce2/Library/Caches/com.apple.xbs/Sources/apfs/kext/apfs_filter.cpp:1713 Assertion failed: !(cpOffset % CRYPTO_SW_BLKSIZE)
Debugger message: panic
Memory ID: 0x0
OS release type: User
OS version: 24E263
Kernel version: Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:24 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_VMAPPLE
Fileset Kernelcache UUID: E1620CAD1235E536D4EDE6510149DB8A
Kernel UUID: DD182862-19E4-3058-9809-7129C6DA3D88
Boot session UUID: 6BAC6DEE-53F1-4409-A062-8CE0503178A8
iBoot version: iBoot-11881.101.1
iBoot Stage 2 version: iBoot-11881.101.1
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x000000000fdec000
KernelCache base: 0xfffffe0016df0000
Kernel slide: 0x000000000fdf4000
Kernel text base: 0xfffffe0016df8000
Kernel text exec slide: 0x0000000010b5c000
Kernel text exec base: 0xfffffe0017b60000
mach_absolute_time: 0xe4d2dd2
Epoch Time: sec usec
Boot : 0x6800a0a5 0x00000000
Sleep : 0x00000000 0x00000000
Wake : 0x00000000 0x00000000
Calendar: 0x6800a0ae 0x0007793e

Zone info:
Zone map: 0xfffffe110e000000 - 0xfffffe370e000000
. VM : 0xfffffe110e000000 - 0xfffffe16da000000
. RO : 0xfffffe16da000000 - 0xfffffe1974000000
. GEN0 : 0xfffffe1974000000 - 0xfffffe1f40000000
. GEN1 : 0xfffffe1f40000000 - 0xfffffe250c000000
. GEN2 : 0xfffffe250c000000 - 0xfffffe2ad8000000
. GEN3 : 0xfffffe2ad8000000 - 0xfffffe30a4000000
. DATA : 0xfffffe30a4000000 - 0xfffffe370e000000
Metadata: 0xfffffecff2010000 - 0xfffffecffb810000
Bitmaps : 0xfffffecffb810000 - 0xfffffecffcf58000
Extra : 0 - 0

TPIDRx_ELy = {1: 0xfffffe250e671060 0: 0x0000000000000000 0ro: 0x00000001be634c60 }
CORE 0 is the one that panicked. Check the full backtrace for details.
CORE 1: PC=0xfffffe0017d0ff9c, LR=0xfffffe0017d0ff98, FP=0xfffffe7bd47cfe60
CORE 2: PC=0xfffffe0017beec18, LR=0xfffffe0017beec18, FP=0xfffffe7bd455fed0
CORE 3: PC=0xfffffe0017beec1c, LR=0xfffffe0017beec18, FP=0xfffffe7bd4073ed0
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xfffffe240bf94ef8: 8776 pages, 2 threads: pid 138: apfs_migrator
Panicked thread: 0xfffffe250e671060, backtrace: 0xfffffe7bd4942730, tid: 1108
lr: 0xfffffe0017bb5078 fp: 0xfffffe7bd49427c0
lr: 0xfffffe0017d0cdf0 fp: 0xfffffe7bd4942830
lr: 0xfffffe0017d0b378 fp: 0xfffffe7bd49428f0
lr: 0xfffffe0017b64d20 fp: 0xfffffe7bd4942900
lr: 0xfffffe0017bb496c fp: 0xfffffe7bd4942cd0
lr: 0xfffffe0018430144 fp: 0xfffffe7bd4942cf0
lr: 0xfffffe0018430168 fp: 0xfffffe7bd4942d20
lr: 0xfffffe0019dc3000 fp: 0xfffffe7bd4943610
lr: 0xfffffe00198611a8 fp: 0xfffffe7bd4943690
lr: 0xfffffe0019da7140 fp: 0xfffffe7bd4943710
lr: 0xfffffe0019da69dc fp: 0xfffffe7bd4943840
lr: 0xfffffe0019da4ed0 fp: 0xfffffe7bd4943880
lr: 0xfffffe00183863f4 fp: 0xfffffe7bd49438b0
lr: 0xfffffe0018386704 fp: 0xfffffe7bd4943a40
lr: 0xfffffe0017cd4cfc fp: 0xfffffe7bd4943b60
lr: 0xfffffe0017bbc274 fp: 0xfffffe7bd4943c00
lr: 0xfffffe0017b90cac fp: 0xfffffe7bd4943c60
lr: 0xfffffe0017ba5f60 fp: 0xfffffe7bd4943cb0
lr: 0xfffffe0017ba63a8 fp: 0xfffffe7bd4943da0
lr: 0xfffffe0017d01a90 fp: 0xfffffe7bd4943e50
lr: 0xfffffe0017d0b7e0 fp: 0xfffffe7bd4943f10
lr: 0xfffffe0017b64d20 fp: 0xfffffe7bd4943f20
lr: 0xfffffe0017b64ce8 fp: 0x0000000000000000
Kernel Extensions in backtrace:
com.apple.iokit.IOStorageFamily(2.1)[BEC8380D-23FC-39D3-89D0-2278122B84FF]@0xfffffe0019842240->0xfffffe00198638d3
com.apple.filesystems.apfs(2332.101.1)[730571C1-D6EF-306F-9EAA-9743F1746DBC]@0xfffffe0019d65a00->0xfffffe0019ee9dcf
dependency: com.apple.driver.AppleEffaceableStorage(1.0)[FD9026D5-F4D4-3B83-8601-6721D66C037E]@0xfffffe0018823520->0xfffffe00188283cf
dependency: com.apple.iokit.CoreAnalyticsFamily(1)[0926C7F9-2271-3F18-901E-FE138A84E306]@0xfffffe0018e5f0e0->0xfffffe0018e68623
dependency: com.apple.iokit.IOStorageFamily(2.1)[BEC8380D-23FC-39D3-89D0-2278122B84FF]@0xfffffe0019842240->0xfffffe00198638d3
dependency: com.apple.kec.corecrypto(14.0)[42AE5B91-709E-3E2E-8551-DF9790A31E7E]@0xfffffe0019f28940->0xfffffe0019f83487
dependency: com.apple.security.AppleImage4(7.0.0)[F5DA4957-DD27-3C07-BD37-BC2FFAC071E2]@0xfffffe001888e0d0->0xfffffe00188b1963

last started kext at 60071277: com.apple.iokit.IOAVBFamily 1320.3 (addr 0xfffffe0017240bc0, size 51296)
loaded kexts:
com.apple.driver.DiskImages.ReadWriteDiskImage 493.0.0
com.apple.driver.DiskImages.UDIFDiskImage 493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore 493.0.0
com.apple.security.AppleVPBootPolicy 1
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.driver.AvpFairPlayDriver 2.8.0
com.apple.driver.AppleUSBDeviceNCM 5.0.0
com.apple.nke.l2tp 1.9
com.apple.filesystems.tmpfs 1
com.apple.filesystems.nfs 1
com.apple.filesystems.lifs 1
com.apple.IOTextEncryptionFamily 1.0.0
com.apple.filesystems.hfs.kext 683.100.9
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.filesystems.apfs 2332.101.1
com.apple.driver.AppleVideoToolboxParavirtualization 15.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.driver.AppleParavirtGPUIOGPUFamily 15.0.0
com.apple.driver.ApplePVPanic 1
com.apple.driver.AppleARMGIC 1
com.apple.driver.AppleS8000AES 1
com.apple.driver.AppleM68Buttons 1.0.0d1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.usb.AppleUSBUserHCI 1
com.apple.iokit.IOKitRegistryCompatibility 1
com.apple.iokit.EndpointSecurity 1
com.apple.driver.AppleDiskImages2 385.101.1
com.apple.AppleSystemPolicy 2.0.0
com.apple.kec.AppleEncryptedArchive 1
com.apple.iokit.IOAVBFamily 1320.3
com.apple.plugin.IOgPTPPlugin 1340.12
com.apple.driver.DiskImages.KernelBacked 493.0.0
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.AppleUSBAudio 741.32
com.apple.iokit.IOAudioFamily 600.2
com.apple.vecLib.kext 1.2.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.usb.networking 5.0.0
com.apple.nke.ppp 1.9
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.iokit.IOPortFamily 1.0
com.apple.driver.AppleBSDKextStarter 3
com.apple.kext.triggers 1.0
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleSyntheticGameController 12.4.12
com.apple.driver.AppleXsanScheme 3
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOMobileGraphicsFamily 343.0.0
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.iokit.IOGPUFamily 104.4.1
com.apple.iokit.IOAVFamily 1.0.0
com.apple.iokit.IOHDCPFamily 1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family 1.0
com.apple.driver.AppleIISController 440.2
com.apple.driver.AppleAudioClockLibs 420.3
com.apple.iokit.AppleParavirtIOSurface 15.0.0
com.apple.iokit.IOSurface 372.5.2
com.apple.driver.AppleMobileApNonce 1
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.IODARTFamily 1
com.apple.iokit.IOUSBMassStorageDriver 259.100.1
com.apple.iokit.IOSCSIArchitectureModelFamily 500.101.1
com.apple.iokit.IOTimeSyncFamily 1340.12
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily 599
com.apple.iokit.IOBluetoothFamily 9.0.0
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties 1.2
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.RTBuddy 1.0.0
com.apple.driver.AppleEmbeddedTempSensor 1.0.0
com.apple.driver.AppleARMPMU 1.0
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor 1
com.apple.driver.AppleVPKeyStore 2
com.apple.driver.AppleVPCredentialManager 1.0
com.apple.driver.AppleUIO 1
com.apple.driver.AppleRSMChannel 1
com.apple.iokit.IORSMFamily 1
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.FairPlayIOKit 72.13.0
com.apple.driver.AppleVirtualPlatform 1
com.apple.iokit.IOUSBDeviceFamily 2.0.0
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.iokit.IOAccessoryManager 1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1.0
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.AppleVirtIOStorage 1.0.0
com.apple.driver.AppleVirtIO 230.100.3
com.apple.iokit.IOSerialFamily 11
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IONetworkingFamily 3.4
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleCallbackPowerSource 1
com.apple.driver.AppleARMPlatform 1.0.2
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.iokit.IOReportFamily 47
com.apple.security.quarantine 4
com.apple.security.sandbox 300.0
com.apple.iokit.IOStorageFamily 2.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.security.AppleImage4 7.0.0
com.apple.kext.CoreTrust 1
com.apple.iokit.IOCryptoAcceleratorFamily 1.0.1
com.apple.kec.pthread 1
com.apple.kec.Libm 1
com.apple.kec.Compression 1.0
com.apple.kec.corecrypto 14.0

** Stackshot Succeeded ** Bytes Traced 84578 (Uncompressed 214960) **
```

**Upload VM**
[config.plist.zip](https://github.com/user-attachments/files/19789489/config.plist.zip)

**PS**
I already had a similar problem when upgrading to 15.4, but back then the system did not revert to 15.3.x, but instead just rebooted upon login every time. I solved the problem by booting into recovery mode and reinstall MacOS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.