Forrest Gump
Member
Host system deadlock/hang when taking VM snapshot
When I take a snapshot of a VM, my entire host system will have a near-100% chance of experiencing a deadlock. The dock icon for Parallels will stop animating, other running apps will continue to run for a little bit, but eventually the entire system will be deadlocked with the cursor still able to move, but is a spinning beach ball.
I'm running Build 4.0.3810 (January 23, 2009) and my host OS is OS X Leopard.
Attempting to create a snapshot of a VM has caused a host OS deadlock in all of the following circumstances:
- Lots of disk changes (500MB or more), or almost zero disk change
- Guest VM still running from a previous snapshot from a previous Parallels build, or cleanly rebooted with the current build
When the system deadlock happens, there is no disk activity. I've let it go for over 2 hours just to be certain that it wasn't just being slow. When coming back to the computer, it's just got a black screen, and a beachball cursor (which still moves around with the trackpad, but is no longer spinning). When I power down the machine and restart it, the VM now indicates that it has no snapshots available. Looking in the pvm directory for the VM, I do see a Snapshots.xml file which doesn't look obviously corrupt, and the Snapshots directory does contain snapshot files. However, there will be a .mem file with a size of zero bytes. For example:
$ ls -alrt
total 1738664
-rwxr--r-- 1 <user> <user> 9710 Nov 12 15:25 {49f85a5c-35ec-4685-b485-f35f86f98ef0}.pvc.backup
-rwxr--r-- 1 <user> <user> 59205 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.png
-rwxr--r-- 1 <user> <user> 285212672 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.mem
-rwxr--r-- 1 <user> <user> 9784 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.pvc
-rwxr--r-- 1 <user> <user> 1024 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.mem.trc
-rwxr--r-- 1 <user> <user> 11355236 Nov 12 17:48 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.sav
-rwxr--r-- 1 <user> <user> 178621 Jan 30 16:03 {604fcd24-76ae-4542-ae36-c4fe24306110}.png
-rwxr--r-- 1 <user> <user> 285212672 Jan 30 16:03 {604fcd24-76ae-4542-ae36-c4fe24306110}.mem
-rwxr--r-- 1 <user> <user> 9860 Jan 30 16:03 {604fcd24-76ae-4542-ae36-c4fe24306110}.pvc
-rwxr--r-- 1 <user> <user> 1024 Jan 30 16:04 {604fcd24-76ae-4542-ae36-c4fe24306110}.mem.trc
-rwxr--r-- 1 <user> <user> 11355572 Jan 30 16:04 {604fcd24-76ae-4542-ae36-c4fe24306110}.sav
drwxr-xr-x@ 10 <user> <user> 340 Jan 31 12:52 ..
-rw-r--r-- 1 <user> <user> 196498 Jan 31 14:07 {43f5ee67-1da9-4f4f-bb0a-767f7aaa1b66}.png
-rw-rw-rw- 1 <user> <user> 0 Jan 31 14:07 {43f5ee67-1da9-4f4f-bb0a-767f7aaa1b66}.mem
drwxr-xr-x 16 <user> <user> 544 Jan 31 14:07 .
-rw-rw-rw- 1 <user> <user> 11355572 Jan 31 14:07 {43f5ee67-1da9-4f4f-bb0a-767f7aaa1b66}.sav
The last snapshot attempt at the bottom failed, and consists of a 0-byte .mem file. The PNG file looks fine, and I can't tell what the .sav file is, or if it is valid.
I have 18GB disk space available, which is significantly larger than any individual VM in its entirety. My hard drive is fine, which has been verified by looking at the drive's SMART data via smartmontools, and the filesystem is OK per OS X Disk Utility.
Not only am I losing data in my guest VMs, but I am also losing data on my host OS as I am forced to power it down uncleanly. This is a huge problem, and I have never had this problem with Parallels 3.0.
When I take a snapshot of a VM, my entire host system will have a near-100% chance of experiencing a deadlock. The dock icon for Parallels will stop animating, other running apps will continue to run for a little bit, but eventually the entire system will be deadlocked with the cursor still able to move, but is a spinning beach ball.
I'm running Build 4.0.3810 (January 23, 2009) and my host OS is OS X Leopard.
Attempting to create a snapshot of a VM has caused a host OS deadlock in all of the following circumstances:
- Lots of disk changes (500MB or more), or almost zero disk change
- Guest VM still running from a previous snapshot from a previous Parallels build, or cleanly rebooted with the current build
When the system deadlock happens, there is no disk activity. I've let it go for over 2 hours just to be certain that it wasn't just being slow. When coming back to the computer, it's just got a black screen, and a beachball cursor (which still moves around with the trackpad, but is no longer spinning). When I power down the machine and restart it, the VM now indicates that it has no snapshots available. Looking in the pvm directory for the VM, I do see a Snapshots.xml file which doesn't look obviously corrupt, and the Snapshots directory does contain snapshot files. However, there will be a .mem file with a size of zero bytes. For example:
$ ls -alrt
total 1738664
-rwxr--r-- 1 <user> <user> 9710 Nov 12 15:25 {49f85a5c-35ec-4685-b485-f35f86f98ef0}.pvc.backup
-rwxr--r-- 1 <user> <user> 59205 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.png
-rwxr--r-- 1 <user> <user> 285212672 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.mem
-rwxr--r-- 1 <user> <user> 9784 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.pvc
-rwxr--r-- 1 <user> <user> 1024 Nov 12 17:47 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.mem.trc
-rwxr--r-- 1 <user> <user> 11355236 Nov 12 17:48 {e81b1cc0-9d76-403a-9e8d-2ec3f276cc46}.sav
-rwxr--r-- 1 <user> <user> 178621 Jan 30 16:03 {604fcd24-76ae-4542-ae36-c4fe24306110}.png
-rwxr--r-- 1 <user> <user> 285212672 Jan 30 16:03 {604fcd24-76ae-4542-ae36-c4fe24306110}.mem
-rwxr--r-- 1 <user> <user> 9860 Jan 30 16:03 {604fcd24-76ae-4542-ae36-c4fe24306110}.pvc
-rwxr--r-- 1 <user> <user> 1024 Jan 30 16:04 {604fcd24-76ae-4542-ae36-c4fe24306110}.mem.trc
-rwxr--r-- 1 <user> <user> 11355572 Jan 30 16:04 {604fcd24-76ae-4542-ae36-c4fe24306110}.sav
drwxr-xr-x@ 10 <user> <user> 340 Jan 31 12:52 ..
-rw-r--r-- 1 <user> <user> 196498 Jan 31 14:07 {43f5ee67-1da9-4f4f-bb0a-767f7aaa1b66}.png
-rw-rw-rw- 1 <user> <user> 0 Jan 31 14:07 {43f5ee67-1da9-4f4f-bb0a-767f7aaa1b66}.mem
drwxr-xr-x 16 <user> <user> 544 Jan 31 14:07 .
-rw-rw-rw- 1 <user> <user> 11355572 Jan 31 14:07 {43f5ee67-1da9-4f4f-bb0a-767f7aaa1b66}.sav
The last snapshot attempt at the bottom failed, and consists of a 0-byte .mem file. The PNG file looks fine, and I can't tell what the .sav file is, or if it is valid.
I have 18GB disk space available, which is significantly larger than any individual VM in its entirety. My hard drive is fine, which has been verified by looking at the drive's SMART data via smartmontools, and the filesystem is OK per OS X Disk Utility.
Not only am I losing data in my guest VMs, but I am also losing data on my host OS as I am forced to power it down uncleanly. This is a huge problem, and I have never had this problem with Parallels 3.0.
Last edited: