我正在使用 SUSE 的 Harvester 来运行虚拟机(它使用 KVM)。使用它,我创建了一个安装了 Windows 10 Pro (22H2) 的虚拟机。
今天,当我从虚拟机快照恢复虚拟机时,explorer.exe 不断崩溃。甚至任务管理器偶尔也会崩溃。通过任务管理器,我可以执行以下操作:
- 终止 explorer.exe,使其不再继续尝试(并失败)重新启动
- 打开 Windows 终端(感谢上帝)
- 打开 explorer.exe(如果你直接启动它,它就会不断崩溃,但如果你在特定文件夹中启动它,则实际的文件资源管理器窗口会显示出来而不会崩溃)
- 打开旧的 Windows 7 控制面板(通过在文件资源管理器中右键单击网络)
- 打开事件查看器
我无法打开 Windows 10 设置(通过在文件资源管理器中右键单击此电脑或通过 Windows 终端中的命令行)
另外,电脑有时会自动关闭。我认为这可能是 explorer.exe 关闭时间过长造成的,但我也不太确定。
我从事件查看器中了解到 wininet.dll 是导致(或至少是参与)崩溃的原因。我在崩溃列表中看到的每个程序都提到了 wininet.dll。由于 wininet.dll 的这个问题,Dllhost.exe 似乎也经常崩溃。
然而,了解这一点并没有真正帮助我,因为我真的不知道是什么原因导致 wininet.dll 崩溃。
这就是为什么我在 SU 上询问:崩溃的原因是什么?更重要的是:我该如何解决这个问题?
以下是虚拟机配置:
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
annotations:
field.cattle.io/description: '<vm description>'
harvesterhci.io/reservedMemory: 256Mi
harvesterhci.io/vmRunStrategy: RerunOnFailure
kubevirt.io/latest-observed-api-version: v1
kubevirt.io/storage-observed-api-version: v1alpha3
network.harvesterhci.io/ips: '[]'
restore.harvesterhci.io/last-restore-uid: restore-windows-10-clean-install-8q88l-522856a9-fba0-40aa-ab66-b328830cc14f
restore.harvesterhci.io/name: restore-windows-10-clean-install-8q88l
creationTimestamp: "2023-01-03T23:11:55Z"
finalizers:
- wrangler.cattle.io/VMController.UnsetOwnerOfPVCs
generation: 6
labels:
harvesterhci.io/creator: harvester
harvesterhci.io/os: windows
managedFields:
- apiVersion: kubevirt.io/v1alpha3
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:kubevirt.io/latest-observed-api-version: {}
f:kubevirt.io/storage-observed-api-version: {}
manager: Go-http-client
operation: Update
time: "2023-01-07T15:25:12Z"
- apiVersion: kubevirt.io/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:field.cattle.io/description: {}
f:harvesterhci.io/reservedMemory: {}
f:harvesterhci.io/vmRunStrategy: {}
f:network.harvesterhci.io/ips: {}
f:restore.harvesterhci.io/last-restore-uid: {}
f:restore.harvesterhci.io/name: {}
f:finalizers:
.: {}
v:"wrangler.cattle.io/VMController.UnsetOwnerOfPVCs": {}
f:labels:
.: {}
f:harvesterhci.io/creator: {}
f:harvesterhci.io/os: {}
f:spec:
.: {}
f:runStrategy: {}
f:template:
.: {}
f:metadata:
.: {}
f:annotations:
.: {}
f:harvesterhci.io/sshNames: {}
f:creationTimestamp: {}
f:labels:
.: {}
f:harvesterhci.io/vmName: {}
f:spec:
.: {}
f:accessCredentials: {}
f:affinity:
f:nodeAffinity:
f:preferredDuringSchedulingIgnoredDuringExecution: {}
f:domain:
.: {}
f:cpu:
.: {}
f:cores: {}
f:devices:
.: {}
f:disks: {}
f:hostDevices: {}
f:inputs: {}
f:interfaces: {}
f:features:
.: {}
f:acpi:
.: {}
f:enabled: {}
f:machine: {}
f:resources:
.: {}
f:limits:
.: {}
f:cpu: {}
f:memory: {}
f:evictionStrategy: {}
f:hostname: {}
f:networks: {}
f:nodeSelector:
.: {}
f:kubernetes.io/hostname: {}
f:volumes: {}
manager: harvester
operation: Update
time: "2023-01-07T15:30:15Z"
- apiVersion: kubevirt.io/v1alpha3
fieldsType: FieldsV1
fieldsV1:
f:status:
.: {}
f:conditions: {}
f:created: {}
f:printableStatus: {}
f:ready: {}
f:volumeSnapshotStatuses: {}
manager: Go-http-client
operation: Update
subresource: status
time: "2023-01-07T15:51:40Z"
name: <vm name>
namespace: default
resourceVersion: "9944363"
uid: 8f4632c7-08b2-4045-a180-9e42a7188c75
spec:
runStrategy: RerunOnFailure
template:
metadata:
annotations:
harvesterhci.io/sshNames: '[]'
creationTimestamp: null
labels:
harvesterhci.io/vmName: <vm name>
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: network.harvesterhci.io/mgmt
operator: In
values:
- "true"
domain:
cpu:
cores: 4
devices:
disks:
- bootOrder: 1
cdrom:
bus: sata
name: cdrom-disk
- bootOrder: 2
disk:
bus: sata
name: rootdisk
inputs:
- bus: usb
name: tablet
type: tablet
interfaces:
- bridge: {}
macAddress: <inet mac address>
model: e1000
name: default
features:
acpi:
enabled: true
machine:
type: q35
memory:
guest: 16128Mi
resources:
limits:
cpu: "4"
memory: 16Gi
requests:
cpu: 250m
memory: 10922Mi
evictionStrategy: LiveMigrate
hostname: <vm name>
networks:
- multus:
networkName: default/lan
name: default
nodeSelector:
kubernetes.io/hostname: <host name>
volumes:
- name: cdrom-disk
persistentVolumeClaim:
claimName: restore-windows-10-clean-install-522856a9-fba0-40aa-ab66-b328830cc14f-cdrom-disk
- name: rootdisk
persistentVolumeClaim:
claimName: restore-windows-10-clean-install-522856a9-fba0-40aa-ab66-b328830cc14f-rootdisk